Module org.kink_lang.kink
Class VarrefVecAssignmentToLocalOptimizer
java.lang.Object
org.kink_lang.kink.internal.program.itree.SkeltonItreeVisitor<Itree>
org.kink_lang.kink.internal.program.itreeoptimize.BaseOptimizer
org.kink_lang.kink.internal.program.itreeoptimize.VarrefVecAssignmentToLocalOptimizer
- All Implemented Interfaces:
Function<Itree,
,Itree> UnaryOperator<Itree>
,ItreeVisitor<Itree>
Optimizes a VarrefVecAssignmentItree to a better form.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvisit
(VarrefVecAssignmentItree assignment) Visits an assignment itree in the form[:Foo X:Bar] <- Rhs
.Methods inherited from class org.kink_lang.kink.internal.program.itreeoptimize.BaseOptimizer
apply
Methods inherited from class org.kink_lang.kink.internal.program.itree.SkeltonItreeVisitor
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
Constructor Details
-
VarrefVecAssignmentToLocalOptimizer
public VarrefVecAssignmentToLocalOptimizer()
-
-
Method Details
-
visit
Description copied from interface:ItreeVisitor
Visits an assignment itree in the form[:Foo X:Bar] <- Rhs
.- Specified by:
visit
in interfaceItreeVisitor<Itree>
- Overrides:
visit
in classSkeltonItreeVisitor<Itree>
- Parameters:
assignment
- the itree.- Returns:
- the result.
-