java.lang.Object
org.kink_lang.kink.internal.program.itree.SkeltonItreeVisitor<Itree>
org.kink_lang.kink.internal.program.itreeoptimize.BaseOptimizer
All Implemented Interfaces:
Function<Itree,Itree>, UnaryOperator<Itree>, ItreeVisitor<Itree>
Direct Known Subclasses:
AssignmentOptimizer, BiArithmeticInliner, BranchInliner, BranchWithElseInliner, ContentPropagator, DeadLstoreEliminator, DeparenOptimizer, EliminateUnusedOptimizer, FlattenSeqOptimizer, FunMcallToSymcallOptimizer, IfInliner, LderefOptimizer, LetRecChainer, LetRecProducer, LetRecReducer, LetSymcallInliner, LstoreOptimizer, MinusConstantFolder, NestedVecAssignmentInliner, OptRestVecAssignmentOptimizer, OptVecAssignmentOptimizer, ParenContOptimizer, RestVecAssignmentOptimizer, SimpleNewValInliner, SsafyOptimizer, StoreOptimizer, TemplateArgsPassingOptimizer, TraitNewValOptimizer, UnnestArgsPassingOptimizer, VarrefVecAssignmentInliner, VarrefVecAssignmentToLocalOptimizer

public class BaseOptimizer extends SkeltonItreeVisitor<Itree> implements UnaryOperator<Itree>
Base class for optimizing visitors. This implementation returns the argument itself.
  • Constructor Details

    • BaseOptimizer

      public BaseOptimizer()
      Constructs an optimizer.
  • Method Details