Module org.kink_lang.kink
Class RestVecAssignmentOptimizer
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.RestVecAssignmentOptimizer
- All Implemented Interfaces:
Function<Itree,
,Itree> UnaryOperator<Itree>
,ItreeVisitor<Itree>
Optimizes
[:Rest.rest] <- xxx
to RestVecAssignmentItree.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvisit
(OptRestVecAssignmentItree itree) Visits an assignment itree in the form[:A :B :C.opt :D.opt :R.rest] <- xxx
.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
-
RestVecAssignmentOptimizer
public RestVecAssignmentOptimizer()
-
-
Method Details
-
visit
Description copied from interface:ItreeVisitor
Visits an assignment itree in the form[:A :B :C.opt :D.opt :R.rest] <- xxx
.- Specified by:
visit
in interfaceItreeVisitor<Itree>
- Overrides:
visit
in classSkeltonItreeVisitor<Itree>
- Parameters:
itree
- the itree.- Returns:
- the result.
-