Uses of Interface
org.kink_lang.kink.internal.program.itree.LocalVar
Packages that use LocalVar
Package
Description
Intermediate representation before JVM byte code compilation.
Itree (intermediate tree) representation of Kink programs.
Provides optimizers of itrees.
Conversion of an itree to SSA - Static Single Assignment - form.
-
Uses of LocalVar in org.kink_lang.kink.internal.compile.javaclassir
Methods in org.kink_lang.kink.internal.compile.javaclassir that return types with arguments of type LocalVarModifier and TypeMethodDescriptionAllocationSet.args()Returns the value of theargsrecord component.AllocationSet.control()Returns the value of thecontrolrecord component.AllocationSet.field()Returns the value of thefieldrecord component.AllocationSet.recv()Returns the value of therecvrecord component.AllocationSet.stack()Returns the value of thestackrecord component.Methods in org.kink_lang.kink.internal.compile.javaclassir with parameters of type LocalVarModifier and TypeMethodDescriptionGets the allocation of the lvar.booleanbooleanReturns whetherlvaris unused.booleanGenerates insns to load a local var, checking absence.FastLvarAccessGenerator.loadLvarAllowNull(LocalVar lvar) LvarAccessGenerator.loadLvarAllowNull(LocalVar lvar) Generates insns to load a local var, not checking absence.SlowLvarAccessGenerator.loadLvarAllowNull(LocalVar lvar) Generates insns to pass the specified arg.Generates insns to pass the recv.Generates insns to store a local var.Constructor parameters in org.kink_lang.kink.internal.compile.javaclassir with type arguments of type LocalVarModifierConstructorDescriptionAllocationSet(Set<LocalVar> recv, Map<LocalVar, Integer> args, Set<LocalVar> control, List<LocalVar> field, List<LocalVar> stack) Creates an instance of aAllocationSetrecord class.AllocationSet(Set<LocalVar> recv, Map<LocalVar, Integer> args, Set<LocalVar> control, List<LocalVar> field, List<LocalVar> stack) Creates an instance of aAllocationSetrecord class.AllocationSet(Set<LocalVar> recv, Map<LocalVar, Integer> args, Set<LocalVar> control, List<LocalVar> field, List<LocalVar> stack) Creates an instance of aAllocationSetrecord class. -
Uses of LocalVar in org.kink_lang.kink.internal.program.itree
Classes in org.kink_lang.kink.internal.program.itree that implement LocalVarModifier and TypeClassDescriptionstatic final recordSym generated during SSA-conversion.static final recordSym which is specified by the program.Methods in org.kink_lang.kink.internal.program.itree that return LocalVarModifier and TypeMethodDescriptionTransforms dereference of a local var.LderefItree.lvar()Returns the value of thelvarrecord component.LetRecItree.LvarFunPair.lvar()Returns the value of thelvarrecord component.LstoreItree.lvar()Returns the value of thelvarrecord component.RestVecAssignmentItree.lvar()Returns the value of thelvarrecord component.OptRestVecAssignmentItree.rest()Returns the value of therestrecord component.Transforms storing to a local var.Methods in org.kink_lang.kink.internal.program.itree that return types with arguments of type LocalVarModifier and TypeMethodDescriptionstatic Map<LocalVar, LocalVarContent> ContentAnalysis.analyzeContent(Itree body) Returns the mapping from local vars to the contents.FastFunItree.definedLvars()UsedDefinedVars.definedLvars()Returns the set of local vars defined in the fun.FastFunItree.freeLvars()UsedDefinedVars.freeLvars()Returns the set of free local vars of the fun.FastFunItree.lvarContentMapping()Mapping from the local var to the content.ArgsPassingItree.lvars()Returns the value of thelvarsrecord component.NestedParam.Tuple.lvars()Returns the value of thelvarsrecord component.OptRestVecAssignmentItree.mandatory()Returns the value of themandatoryrecord component.OptVecAssignmentItree.mandatory()Returns the value of themandatoryrecord component.OptRestVecAssignmentItree.opt()Returns the value of theoptrecord component.OptVecAssignmentItree.opt()Returns the value of theoptrecord component.FastFunItree.usedLvars()UsedDefinedVars.usedLvars()Returns the set of local vars used in the fun.Methods in org.kink_lang.kink.internal.program.itree with parameters of type LocalVarModifier and TypeMethodDescriptionTransforms dereference of a local var.FastFunItree.getContent(LocalVar lvar) UsedDefinedVars.getContent(LocalVar lvar) Returns the content for the local var.default booleanWhether the lvar is used in the fun.Transforms storing to a local var.Constructors in org.kink_lang.kink.internal.program.itree with parameters of type LocalVarModifierConstructorDescriptionLderefItree(LocalVar lvar, int pos) Creates an instance of aLderefItreerecord class.LstoreItree(LocalVar lvar, Itree rhs, int pos) Creates an instance of aLstoreItreerecord class.LvarFunPair(LocalVar lvar, FastFunItree fun) Creates an instance of aLvarFunPairrecord class.OptRestVecAssignmentItree(List<LocalVar> mandatory, List<LocalVar> opt, LocalVar rest, Itree rhs, int pos) Constructs an assignment itree.RestVecAssignmentItree(LocalVar lvar, Itree rhs, int pos) Creates an instance of aRestVecAssignmentItreerecord class.Constructor parameters in org.kink_lang.kink.internal.program.itree with type arguments of type LocalVarModifierConstructorDescriptionArgsPassingItree(List<LocalVar> lvars, int pos) Constructs an args passing itree.OptRestVecAssignmentItree(List<LocalVar> mandatory, List<LocalVar> opt, LocalVar rest, Itree rhs, int pos) Constructs an assignment itree.Constructs an assignment itree.Constructs a tuple. -
Uses of LocalVar in org.kink_lang.kink.internal.program.itreeoptimize
Constructor parameters in org.kink_lang.kink.internal.program.itreeoptimize with type arguments of type LocalVarModifierConstructorDescriptionContentPropagator(Map<LocalVar, LocalVarContent> lvarContentMapping) Constructs an optimizer. -
Uses of LocalVar in org.kink_lang.kink.internal.program.itreeoptimize.ssafy
Methods in org.kink_lang.kink.internal.program.itreeoptimize.ssafy that return LocalVarModifier and TypeMethodDescriptionMethods in org.kink_lang.kink.internal.program.itreeoptimize.ssafy with parameters of type LocalVar