Uses of Class
org.jruby.ir.operands.Variable
Packages that use Variable
Package
Description
-
Uses of Variable in org.jruby.ir
Fields in org.jruby.ir declared as VariableModifier and TypeFieldDescriptionprivate VariableIRBuilder.currentModuleVariablefinal VariableIRBuilder.IRLoop.loopResult(package private) final VariableIRBuilder.RescueBlockInfo.savedExceptionVariable(package private) VariableIRBuilder.EnsureBlockInfo.savedGlobalExceptionMethods in org.jruby.ir that return VariableModifier and TypeMethodDescriptionprivate VariableIRBuilder.addResultInstr(ResultInstr instr) private VariableIRBuilder.argumentResult(RubySymbol name) protected VariableIRBuilder.buildDefinitionCheck(ResultInstr definedInstr, String definedReturnValue) protected VariableIRBuilder.buildDefnCheckIfThenPaths(Label undefLabel, Operand defVal) private VariableIRBuilder.buildRestKeywordArgs(HashNode keywordArgs) IRBuilder.buildSelf()protected VariableIRBuilder.copyAndReturnValue(Operand val) IRBuilder.createCurrentModuleVariable()IRBuilder.getCurrentModuleVariable()IRScope.getSelf()protected VariableIRBuilder.getValueInTemporaryVariable(Operand val) Methods in org.jruby.ir with parameters of type VariableModifier and TypeMethodDescriptionprivate voidIRBuilder.addArgReceiveInstr(Variable v, int argIndex, Signature signature) voidIRBuilder.buildAssignment(Node node, Variable rhsVal) private OperandIRBuilder.buildAttrAssign(Variable result, AttrAssignNode attrAssignNode) IRBuilder.buildBackref(Variable result, BackRefNode node) private OperandIRBuilder.buildColon2ForConstAsgnDeclNode(Node lhs, Variable valueResult, boolean constMissing) IRBuilder.buildDRegexp(Variable result, DRegexpNode node) IRBuilder.buildDSymbol(Variable result, DSymbolNode node) IRBuilder.buildDXStr(Variable result, DXStrNode node) IRBuilder.buildFCall(Variable aResult, FCallNode fcallNode) IRBuilder.buildGlobalVar(Variable result, GlobalVarNode node) IRBuilder.buildMatch(Variable result, MatchNode matchNode) IRBuilder.buildMatch2(Variable result, Match2Node matchNode) IRBuilder.buildMatch3(Variable result, Match3Node matchNode) private OperandIRBuilder.buildOperand(Variable result, Node node) private voidIRBuilder.buildRescueBodyInternal(RescueBodyNode rescueBodyNode, Variable rv, Variable exc, Label endLabel) IRBuilder.buildVCall(Variable result, VCallNode node) private voidIRBuilder.buildWhenSplatValues(Variable eqqResult, Node node, Operand testValue, Label bodyLabel, Set<IRubyObject> seenLiterals) private voidIRBuilder.buildWhenValue(Variable eqqResult, Operand testValue, Label bodyLabel, Node node, Set<IRubyObject> seenLiterals, boolean needsSplat) private voidIRBuilder.buildWhenValues(Variable eqqResult, ListNode exprValues, Operand testValue, Label bodyLabel, Set<IRubyObject> seenLiterals) IRBuilder.buildYield(YieldNode node, Variable result) IRBuilder.buildZArray(Variable result) protected voidIRBuilder.receiveBlockArg(Variable v, Operand argsArray, int argIndex, boolean isSplat) Constructors in org.jruby.ir with parameters of type VariableModifierConstructorDescriptionIRLoop(IRScope s, IRBuilder.IRLoop outerLoop, Variable result) RescueBlockInfo(Label l, Variable v) -
Uses of Variable in org.jruby.ir.dataflow.analyses
Fields in org.jruby.ir.dataflow.analyses with type parameters of type VariableModifier and TypeFieldDescriptionDefinedVariablesProblem.dfVarMapLiveVariablesProblem.dfVarMapUnboxableOpsAnalysisNode.UnboxState.typesUnboxableOpsAnalysisNode.UnboxState.unboxedDirtyVarsUnboxableOpsAnalysisNode.UnboxState.unboxedVarsDefinedVariablesProblem.varDfVarMapLiveVariablesProblem.varDfVarMapDefinedVariablesProblem.varsMethods in org.jruby.ir.dataflow.analyses that return VariableModifier and TypeMethodDescriptionDefinedVariablesProblem.getVariable(int id) LiveVariablesProblem.getVariable(int id) Methods in org.jruby.ir.dataflow.analyses that return types with arguments of type VariableModifier and TypeMethodDescriptionDefinedVariablesProblem.findUndefinedVars()DefinedVariablesProblem.getAllVars()LiveVariablesProblem.getAllVars()Methods in org.jruby.ir.dataflow.analyses with parameters of type VariableModifier and TypeMethodDescriptionprivate voidvoidprivate voidvoidprivate voidUnboxableOpsAnalysisNode.boxRequiredVars(Instr i, UnboxableOpsAnalysisNode.UnboxState state, Map<Variable, TemporaryLocalVariable> unboxMap, Variable dst, boolean hasRescuer, boolean isDFBarrier, List<Instr> newInstrs) voidUnboxableOpsAnalysisNode.boxVar(UnboxableOpsAnalysisNode.UnboxState state, Class reqdType, Map<Variable, TemporaryLocalVariable> unboxMap, Variable v, List<Instr> newInstrs) booleanDefinedVariablesProblem.dfVarExists(Variable v) booleanLiveVariablesProblem.dfVarExists(Variable v) private TemporaryLocalVariableUnboxableOpsAnalysisNode.getUnboxedVar(Class reqdType, Map<Variable, TemporaryLocalVariable> unboxMap, Variable v) private TemporaryLocalVariableUnboxableOpsAnalysisNode.getUnboxedVar(Class reqdType, Map<Variable, TemporaryLocalVariable> unboxMap, Variable v, boolean createNew) private voidLiveVariableNode.markVariableLive(LiveVariablesProblem lvp, Variable x) private voidUnboxableOpsAnalysisNode.setOperandType(UnboxableOpsAnalysisNode.UnboxState state, Variable v, Class newType) voidUnboxableOpsAnalysisNode.unboxVar(UnboxableOpsAnalysisNode.UnboxState state, Class reqdType, Map<Variable, TemporaryLocalVariable> unboxMap, Variable v, List<Instr> newInstrs) private voidUnboxableOpsAnalysisNode.updateUnboxedVarsInfoForBoxedInstr(Instr i, UnboxableOpsAnalysisNode.UnboxState state, Variable dst, boolean hasRescuer, boolean isDFBarrier) Method parameters in org.jruby.ir.dataflow.analyses with type arguments of type VariableModifier and TypeMethodDescriptionprivate voidUnboxableOpsAnalysisNode.boxRequiredVars(Instr i, UnboxableOpsAnalysisNode.UnboxState state, Map<Variable, TemporaryLocalVariable> unboxMap, Variable dst, boolean hasRescuer, boolean isDFBarrier, List<Instr> newInstrs) voidUnboxableOpsAnalysisNode.boxVar(UnboxableOpsAnalysisNode.UnboxState state, Class reqdType, Map<Variable, TemporaryLocalVariable> unboxMap, Variable v, List<Instr> newInstrs) private OperandUnboxableOpsAnalysisNode.getUnboxedOperand(UnboxableOpsAnalysisNode.UnboxState state, Map<Variable, TemporaryLocalVariable> unboxMap, Operand arg) private TemporaryLocalVariableUnboxableOpsAnalysisNode.getUnboxedVar(Class reqdType, Map<Variable, TemporaryLocalVariable> unboxMap, Variable v) private TemporaryLocalVariableUnboxableOpsAnalysisNode.getUnboxedVar(Class reqdType, Map<Variable, TemporaryLocalVariable> unboxMap, Variable v, boolean createNew) voidDefinedVariableNode.identifyInits(Set<Variable> undefinedVars) private voidDefinedVariableNode.identifyUndefinedVarsInClosure(Set<Variable> undefinedVars, IRClosure cl, int nestingLevel) private voidLiveVariableNode.markAllVariablesLive(LiveVariablesProblem lvp, Collection<? extends Variable> variableList) private voidUnboxableOpsAnalysisNode.markLocalVariables(Collection<Variable> varsToBox, Set<Variable> varsToCheck) private voidUnboxableOpsAnalysisNode.markLocalVariables(Collection<Variable> varsToBox, Set<Variable> varsToCheck) voidUnboxableOpsAnalysisNode.unbox(Map<Variable, TemporaryLocalVariable> unboxMap) private OperandUnboxableOpsAnalysisNode.unboxOperand(UnboxableOpsAnalysisNode.UnboxState state, Class reqdType, Map<Variable, TemporaryLocalVariable> unboxMap, Operand arg, List<Instr> newInstrs) voidUnboxableOpsAnalysisNode.unboxVar(UnboxableOpsAnalysisNode.UnboxState state, Class reqdType, Map<Variable, TemporaryLocalVariable> unboxMap, Variable v, List<Instr> newInstrs) -
Uses of Variable in org.jruby.ir.instructions
Fields in org.jruby.ir.instructions declared as VariableModifier and TypeFieldDescriptionprotected VariableCallInstr.resultprotected VariableResultBaseInstr.resultMethods in org.jruby.ir.instructions that return VariableModifier and TypeMethodDescriptionGetClassVarContainerModuleInstr.getObject()abstract VariableCallBase.getResult()CallInstr.getResult()NoResultCallInstr.getResult()result and non-result call instructions are processed with the same code so we provide this method to make that same code simpler.ResultBaseInstr.getResult()ResultInstr.getResult()ReifyClosureInstr.getSource()Methods in org.jruby.ir.instructions that return types with arguments of type VariableMethods in org.jruby.ir.instructions with parameters of type VariableModifier and TypeMethodDescriptionstatic ArrayDerefInstrArrayDerefInstr.create(IRScope scope, Variable result, Operand obj, FrozenString arg0) static CallInstrCallInstr.create(IRScope scope, Variable result, RubySymbol name, Operand receiver, Operand[] args, Operand closure) static CallInstrCallInstr.create(IRScope scope, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, Operand closure) static CallInstrCallInstr.createWithKwargs(IRScope scope, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, Operand closure, List<KeyValuePair<Operand, Operand>> kwargs) voidCallInstr.updateResult(Variable v) voidResultBaseInstr.updateResult(Variable result) voidResultInstr.updateResult(Variable v) Constructors in org.jruby.ir.instructions with parameters of type VariableModifierConstructorDescriptionArrayDerefInstr(IRScope scope, Variable result, Operand obj, FrozenString arg0) ArrayDerefInstr(IRScope scope, Variable result, Operand obj, FrozenString arg0, CallSite callSite, long callSiteId) AsStringInstr(IRScope scope, Variable result, Operand source, boolean isPotentiallyRefined) privateAsStringInstr(IRScope scope, Variable result, Operand source, boolean isPotentiallyRefined, CallSite callSite, long callSiteId) BlockGivenInstr(Variable result, Operand block) BuildBackrefInstr(Variable result, char t) BuildCompoundArrayInstr(Variable result, Operand a1, Operand a2, boolean isArgsPush) BuildCompoundStringInstr(Variable result, Operand[] pieces, org.jcodings.Encoding encoding, int estimatedSize, boolean frozen, boolean debug, String file, int line) BuildDynRegExpInstr(Variable result, Operand[] pieces, RegexpOptions options) privateBuildDynRegExpInstr(Variable result, Operand[] pieces, RegexpOptions options, BuildDynRegExpInstr.RECache reCache) BuildLambdaInstr(Variable result, WrappedIRClosure lambdaBody) The position for the blockBuildRangeInstr(Variable result, Operand begin, Operand end, boolean exclusive) BuildSplatInstr(Variable result, Operand array, boolean dup) protectedCallInstr(IRScope scope, Operation op, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, Operand closure, boolean potentiallyRefined) protectedCallInstr(IRScope scope, Operation op, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, Operand closure, boolean potentiallyRefined, CallSite callSite, long callSiteId) CallInstr(IRScope scope, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, Operand closure, boolean potentiallyRefined) ClassSuperInstr(IRScope scope, Variable result, Operand definingModule, RubySymbol name, Operand[] args, Operand closure, boolean isPotentiallyRefined) protectedClassSuperInstr(IRScope scope, Variable result, Operand receiver, RubySymbol name, Operand[] args, Operand closure, boolean potentiallyRefined, CallSite callSite, long callSiteId) DefineClassInstr(Variable result, IRClassBody body, Operand container, Operand superClass) DefineMetaClassInstr(Variable result, Operand object, IRModuleBody metaClassBody) DefineModuleInstr(Variable result, IRModuleBody body, Operand container) EQQInstr(IRScope scope, Variable result, Operand v1, Operand v2, boolean splattedValue, boolean isPotentiallyRefined) protectedEQQInstr(IRScope scope, Variable result, Operand v1, Operand v2, boolean splattedValue, boolean isPotentiallyRefined, CallSite callSite, long callSiteID) GetClassVarContainerModuleInstr(Variable result, Operand startingScope, Variable object) GetClassVariableInstr(Variable dest, Operand scope, RubySymbol variableName) GetEncodingInstr(Variable result, org.jcodings.Encoding encoding) GetFieldInstr(Variable dest, Operand obj, RubySymbol fieldName) GetGlobalVariableInstr(Variable dest, GlobalVariable gvar) GetGlobalVariableInstr(Variable dest, RubySymbol gvarName) GetInstr(Operation op, Variable result, Operand source, RubySymbol name) InheritanceSearchConstInstr(Variable result, Operand currentModule, RubySymbol constName) InstanceSuperInstr(IRScope scope, Variable result, Operand definingModule, RubySymbol name, Operand[] args, Operand closure, boolean isPotentiallyRefined) protectedInstanceSuperInstr(IRScope scope, Variable result, Operand definingModule, RubySymbol name, Operand[] args, Operand closure, boolean isPotentiallyRefined, CallSite callSite, long callSiteId) LexicalSearchConstInstr(Variable result, Operand definingScope, RubySymbol constantName) LoadFrameClosureInstr(Variable result) LoadImplicitClosureInstr(Variable result) MatchInstr(IRScope scope, Variable result, Operand receiver, Operand arg) protectedMatchInstr(IRScope scope, Variable result, Operand receiver, Operand arg, CallSite callSite, long callSiteId) MultipleAsgnBase(Operation op, Variable result, Operand array, int index) NoOperandResultBaseInstr(Operation operation, Variable result) NOperandResultBaseInstr(Operation operation, Variable result, Operand[] operands) OneOperandResultBaseInstr(Operation operation, Variable result, Operand operand1) OptArgMultipleAsgnInstr(Variable result, Operand array, int index, int minArgsLength) ProcessModuleBodyInstr(Variable result, Operand moduleBody, Operand block) PushBlockFrameInstr(Variable result, RubySymbol frameName) ReceiveArgBase(Operation op, Variable result, int argIndex) ReceiveExceptionBase(Operation op, Variable result) ReceiveJRubyExceptionInstr(Variable result) ReceiveKeywordArgInstr(Variable result, RubySymbol key, int required) ReceiveKeywordRestArgInstr(Variable result, int required) ReceiveOptArgInstr(Variable result, int requiredArgs, int preArgs, int optArgIndex) ReceivePostReqdArgInstr(Variable result, int argIndex, int preReqdArgsCount, int optArgCount, boolean restArg, int postReqdArgsCount) ReceivePreReqdArgInstr(Variable result, int argIndex) ReceiveRestArgInstr(Variable result, int required, int argIndex) ReceiveRubyExceptionInstr(Variable result) ReceiveSelfInstr(Variable result) ReifyClosureInstr(Variable result, Variable source) ReqdArgMultipleAsgnInstr(Variable result, Operand array, int index) ReqdArgMultipleAsgnInstr(Variable result, Operand array, int preArgsCount, int postArgsCount, int index) RescueEQQInstr(Variable result, Operand v1, Operand v2) RestArgMultipleAsgnInstr(Variable result, Operand array, int index) RestArgMultipleAsgnInstr(Variable result, Operand array, int preArgsCount, int postArgsCount, int index) ResultBaseInstr(Operation operation, Variable result) RuntimeHelperCall(Variable result, RuntimeHelperCall.Methods helperMethod, Operand[] args) SaveBindingVisibilityInstr(Variable result) SearchConstInstr(Variable result, RubySymbol constantName, Operand startingScope, boolean noPrivateConsts) SearchModuleForConstInstr(Variable result, Operand currentModule, RubySymbol constantName, boolean noPrivateConsts) SearchModuleForConstInstr(Variable result, Operand currentModule, RubySymbol constantName, boolean noPrivateConsts, boolean callConstMissing) SetCapturedVarInstr(Variable result, Operand match2Result, RubySymbol variableName) ToAryInstr(Variable result, Operand array) TwoOperandResultBaseInstr(Operation operation, Variable result, Operand operand1, Operand operand2) UndefMethodInstr(Variable result, Operand methodName) UnresolvedSuperInstr(IRScope scope, Variable result, Operand receiver, Operand[] args, Operand closure, boolean isPotentiallyRefined) UnresolvedSuperInstr(IRScope scope, Operation op, Variable result, Operand receiver, Operand[] args, Operand closure, boolean isPotentiallyRefined) UnresolvedSuperInstr(IRScope scope, Operation op, Variable result, Operand receiver, Operand[] args, Operand closure, boolean isPotentiallyRefined, CallSite callSite, long callSiteId) YieldInstr(Variable result, Operand block, Operand arg, boolean unwrapArray) ZSuperInstr(IRScope scope, Variable result, Operand receiver, Operand[] args, Operand closure, boolean isPotentiallyRefined) ZSuperInstr(IRScope scope, Variable result, Operand receiver, Operand[] args, Operand closure, boolean isPotentiallyRefined, CallSite callSite, long callSiteId) -
Uses of Variable in org.jruby.ir.instructions.boxing
Constructors in org.jruby.ir.instructions.boxing with parameters of type VariableModifierConstructorDescriptionBoxBooleanInstr(Variable dst, Operand val) BoxFixnumInstr(Variable dst, Operand val) BoxFloatInstr(Variable dst, Operand val) UnboxBooleanInstr(Variable dst, Operand val) UnboxFixnumInstr(Variable dst, Operand val) UnboxFloatInstr(Variable dst, Operand val) UnboxInstr(Operation op, Variable result, Operand value) -
Uses of Variable in org.jruby.ir.instructions.defined
Constructors in org.jruby.ir.instructions.defined with parameters of type Variable -
Uses of Variable in org.jruby.ir.instructions.specialized
Constructors in org.jruby.ir.instructions.specialized with parameters of type VariableModifierConstructorDescriptionOneFixnumArgNoBlockCallInstr(IRScope scope, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, boolean potentiallyRefined) protectedOneFixnumArgNoBlockCallInstr(IRScope scope, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, boolean potentiallyRefined, CallSite callSite, long callSiteId) OneFloatArgNoBlockCallInstr(IRScope scope, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, boolean potentiallyRefined) protectedOneFloatArgNoBlockCallInstr(IRScope scope, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, boolean potentiallyRefined, CallSite callSite, long callSiteId) OneOperandArgBlockCallInstr(IRScope scope, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, Operand closure, boolean isPotentiallyRefined) OneOperandArgBlockCallInstr(IRScope scope, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, Operand closure, boolean isPotentiallyRefined, CallSite callSite, long callSiteId) OneOperandArgNoBlockCallInstr(IRScope scope, Operation op, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, boolean isPotentiallyRefined) OneOperandArgNoBlockCallInstr(IRScope scope, Operation op, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, boolean isPotentiallyRefined, CallSite callSite, long callSiteId) OneOperandArgNoBlockCallInstr(IRScope scope, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, boolean isPotentiallyRefined) TwoOperandArgNoBlockCallInstr(IRScope scope, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, boolean isPotentiallyRefined) protectedTwoOperandArgNoBlockCallInstr(IRScope scope, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, boolean isPotentiallyRefined, CallSite callSite, long callSiteId) protectedZeroOperandArgNoBlockCallInstr(IRScope scope, Operation op, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, boolean isPotentiallyRefined) ZeroOperandArgNoBlockCallInstr(IRScope scope, Operation op, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, boolean isPotentiallyRefined, CallSite callSite, long callSiteId) ZeroOperandArgNoBlockCallInstr(IRScope scope, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, boolean isPotentiallyRefined) -
Uses of Variable in org.jruby.ir.interpreter
Methods in org.jruby.ir.interpreter with parameters of type VariableModifier and TypeMethodDescriptionbooleanFullInterpreterContext.definesLocalVariable(Variable v) protected static voidInterpreterEngine.setResult(Object[] temp, DynamicScope currDynScope, Variable resultVar, Object result) booleanFullInterpreterContext.usesLocalVariable(Variable v) -
Uses of Variable in org.jruby.ir.operands
Subclasses of Variable in org.jruby.ir.operandsModifier and TypeClassDescriptionclassThis represents a non-temporary variable used in a closure and defined in this or a parent closure.classclassclassRepresents a temporary variable for an unboxed Boolean operand.classclassclassRepresents a temporary variable for an unboxed Fixnum operand.classRepresents a temporary variable for an unboxed Float operand.classWhen we optimize full local variables to be temporary ones we like to keep the name of what we renamed them as.classA set of variables which are only used in a particular scope and never visible to Ruby itself.classFields in org.jruby.ir.operands declared as VariableMethods in org.jruby.ir.operands that return VariableModifier and TypeMethodDescriptionClosureLocalVariable.clone(SimpleCloneInfo ii) LocalVariable.clone(SimpleCloneInfo ii) Self.clone(SimpleCloneInfo ii) TemporaryBooleanVariable.clone(SimpleCloneInfo ii) TemporaryClosureVariable.clone(SimpleCloneInfo ii) TemporaryCurrentModuleVariable.clone(SimpleCloneInfo ii) TemporaryFixnumVariable.clone(SimpleCloneInfo ii) TemporaryFloatVariable.clone(SimpleCloneInfo ii) TemporaryLocalReplacementVariable.clone(SimpleCloneInfo ii) TemporaryLocalVariable.clone(SimpleCloneInfo ii) abstract VariableVariable.clone(SimpleCloneInfo ii) WrappedIRClosure.getSelf()Method parameters in org.jruby.ir.operands with type arguments of type VariableModifier and TypeMethodDescriptionvoidArray.addUsedVariables(List<Variable> l) Append the list of variables used in this operand to the input listvoidCurrentScope.addUsedVariables(List<Variable> l) voidDynamicSymbol.addUsedVariables(List<Variable> l) Append the list of variables used in this operand to the input listvoidFilename.addUsedVariables(List<Variable> l) voidHash.addUsedVariables(List<Variable> l) Append the list of variables used in this operand to the input listvoidImmutableLiteral.addUsedVariables(List<Variable> l) voidIRException.addUsedVariables(List<Variable> l) voidLabel.addUsedVariables(List<Variable> l) voidMutableString.addUsedVariables(List<Variable> l) voidObjectClass.addUsedVariables(List<Variable> l) abstract voidOperand.addUsedVariables(List<Variable> l) Append the list of variables used in this operand to the input list -- force every operand to implement this because a missing implementation can cause bad failures.voidReference.addUsedVariables(List<Variable> l) voidScope.addUsedVariables(List<Variable> l) voidScopeModule.addUsedVariables(List<Variable> l) voidSplat.addUsedVariables(List<Variable> l) Append the list of variables used in this operand to the input listvoidStandardError.addUsedVariables(List<Variable> l) voidSValue.addUsedVariables(List<Variable> l) Append the list of variables used in this operand to the input listvoidUndefinedValue.addUsedVariables(List<Variable> l) voidVariable.addUsedVariables(List<Variable> l) Append the list of variables used in this operand to the input listvoidWrappedIRClosure.addUsedVariables(List<Variable> l) Constructors in org.jruby.ir.operands with parameters of type Variable -
Uses of Variable in org.jruby.ir.passes
Methods in org.jruby.ir.passes with parameters of type VariableModifier and TypeMethodDescriptionprivate voidAddCallProtocolInstructions.popSavedState(boolean needsOnlyBackref, boolean isClosure, boolean isGEB, boolean requireBinding, boolean needsFrame, Variable savedViz, Variable savedFrame, ListIterator<Instr> instrs) private static voidLocalOptimizationPass.recordSimplification(Variable res, Operand val, Map<Operand, Operand> valueMap, Map<Variable, List<Variable>> simplificationMap) private static booleanOptimizeDelegationPass.usesVariableAsNonClosureArg(Instr i, Variable v) -
Uses of Variable in org.jruby.ir.persistence
Methods in org.jruby.ir.persistence that return VariableModifier and TypeMethodDescriptionIRReaderDecoder.decodeVariable()IRReaderStream.decodeVariable() -
Uses of Variable in org.jruby.ir.targets
Methods in org.jruby.ir.targets with parameters of type VariableModifier and TypeMethodDescriptionprivate intJVMVisitor.getJVMLocalVarIndex(Variable variable) private voidJVMVisitor.jvmLoadLocal(Variable variable) private voidJVMVisitor.jvmStoreLocal(Runnable source, Variable variable) private voidJVMVisitor.jvmStoreLocal(Variable variable) intintprivate voidJVMVisitor.storeHeapOrStack(Operand value, Variable res) -
Uses of Variable in org.jruby.ir.transformations.inlining
Fields in org.jruby.ir.transformations.inlining declared as VariableModifier and TypeFieldDescriptionprivate VariableInlineCloneInfo.argsArrayprivate VariableInlineCloneInfo.callReceiverprivate VariableInlineCloneInfo.yieldResultFields in org.jruby.ir.transformations.inlining with type parameters of type VariableMethods in org.jruby.ir.transformations.inlining that return VariableModifier and TypeMethodDescriptionInlineCloneInfo.getCallResultVariable()private VariableCFGInliner.getReceiverVariable(Operand receiver) protected abstract VariableCloneInfo.getRenamedSelfVariable(Variable self) How do we rename %self?InlineCloneInfo.getRenamedSelfVariable(Variable self) SimpleCloneInfo.getRenamedSelfVariable(Variable self) CloneInfo.getRenamedVariable(Variable variable) Return a new instance of a variable for the newly cloned scope.SimpleCloneInfo.getRenamedVariable(Variable variable) protected abstract VariableCloneInfo.getRenamedVariableSimple(Variable variable) How are typical variables renamed if they were not yet found in the variable renaming map?protected VariableInlineCloneInfo.getRenamedVariableSimple(Variable v) protected VariableSimpleCloneInfo.getRenamedVariableSimple(Variable v) InlineCloneInfo.getYieldResult()Methods in org.jruby.ir.transformations.inlining with parameters of type VariableModifier and TypeMethodDescriptionprotected abstract VariableCloneInfo.getRenamedSelfVariable(Variable self) How do we rename %self?InlineCloneInfo.getRenamedSelfVariable(Variable self) SimpleCloneInfo.getRenamedSelfVariable(Variable self) CloneInfo.getRenamedVariable(Variable variable) Return a new instance of a variable for the newly cloned scope.SimpleCloneInfo.getRenamedVariable(Variable variable) protected abstract VariableCloneInfo.getRenamedVariableSimple(Variable variable) How are typical variables renamed if they were not yet found in the variable renaming map?protected VariableInlineCloneInfo.getRenamedVariableSimple(Variable v) protected VariableSimpleCloneInfo.getRenamedVariableSimple(Variable v) Constructors in org.jruby.ir.transformations.inlining with parameters of type VariableModifierConstructorDescriptionInlineCloneInfo(CallBase call, CFG c, Variable callReceiver, IRScope scopeBeingInlined)