Modifier and Type | Method and Description |
---|---|
static Operand[] |
IRBuilder.addArg(Operand[] args,
Operand extraArg) |
static Operand[] |
IRBuilder.addArg(Operand[] args,
Operand extraArg) |
void |
IRBuilder.buildArgsMasgn(Node node,
IRScope s,
Operand argsArray,
boolean isMasgnRoot,
int preArgsCount,
int postArgsCount,
int index,
boolean isSplat) |
Operand |
IRBuilder.buildAttrAssignAssignment(Node node,
IRScope s,
Operand value) |
void |
IRBuilder.buildBlockArgsAssignment(Node node,
IRScope s,
Operand argsArray,
int argIndex,
boolean isSplat) |
Operand |
IRBuilder.buildConstDeclAssignment(ConstDeclNode constDeclNode,
IRScope s,
Operand val) |
protected Variable |
IRBuilder.buildDefnCheckIfThenPaths(IRScope s,
Label undefLabel,
Operand defVal) |
void |
IRBuilder.buildMultipleAsgn19Assignment(MultipleAsgn19Node multipleAsgnNode,
IRScope s,
Operand argsArray,
Operand values) |
void |
IRBuilder.buildMultipleAsgnAssignment(MultipleAsgnNode multipleAsgnNode,
IRScope s,
Operand argsArray,
Operand values) |
protected Variable |
IRBuilder.copyAndReturnValue(IRScope s,
Operand val) |
protected Variable |
IRBuilder.getValueInTemporaryVariable(IRScope s,
Operand val) |
void |
IRScope.initFlipStateVariable(Variable v,
Operand initState) |
protected void |
IRBuilder.receiveBlockArg(IRScope s,
Variable v,
Operand argsArray,
int argIndex,
boolean isSplat) |
void |
IRVisitor.visit(Operand operand) |
Modifier and Type | Method and Description |
---|---|
protected Operand |
IRBuilder.buildAttrAssignCallArgs(List<Operand> argsList,
Node args,
IRScope s) |
Modifier and Type | Method and Description |
---|---|
void |
LoadLocalVarPlacementProblem.addLoads(Map<Operand,Operand> varRenameMap) |
void |
LoadLocalVarPlacementProblem.addLoads(Map<Operand,Operand> varRenameMap) |
void |
LoadLocalVarPlacementNode.addLoads(Map<Operand,Operand> varRenameMap) |
void |
LoadLocalVarPlacementNode.addLoads(Map<Operand,Operand> varRenameMap) |
void |
StoreLocalVarPlacementProblem.addStores(Map<Operand,Operand> varRenameMap) |
void |
StoreLocalVarPlacementProblem.addStores(Map<Operand,Operand> varRenameMap) |
boolean |
StoreLocalVarPlacementNode.addStores(Map<Operand,Operand> varRenameMap,
Set<LocalVariable> excTargetDirtyVars) |
boolean |
StoreLocalVarPlacementNode.addStores(Map<Operand,Operand> varRenameMap,
Set<LocalVariable> excTargetDirtyVars) |
Modifier and Type | Field and Description |
---|---|
static Operand[] |
Instr.EMPTY_OPERANDS |
protected Operand[] |
Instr.operands |
Modifier and Type | Method and Description |
---|---|
Operand[] |
CallBase.cloneCallArgs(CloneInfo ii) |
Operand[] |
Instr.cloneOperands(CloneInfo info) |
Operand |
BuildCompoundArrayInstr.getAppendedArg() |
Operand |
BuildCompoundArrayInstr.getAppendingArg() |
Operand |
Match3Instr.getArg() |
Operand |
Match2Instr.getArg() |
Operand |
TwoOperandBranchInstr.getArg1() |
Operand |
RescueEQQInstr.getArg1() |
Operand |
OneOperandBranchInstr.getArg1() |
Operand |
EQQInstr.getArg1() |
Operand |
CallBase.getArg1()
This getter is potentially unsafe if you do not know you have >=1 arguments to the call.
|
Operand |
TwoOperandBranchInstr.getArg2() |
Operand |
RescueEQQInstr.getArg2() |
Operand |
EQQInstr.getArg2() |
Operand[] |
RuntimeHelperCall.getArgs() |
Operand |
CheckArgsArrayArityInstr.getArgsArray() |
Operand |
ToAryInstr.getArray() |
Operand |
MultipleAsgnBase.getArray() |
Operand |
BuildSplatInstr.getArray() |
Operand |
BuildRangeInstr.getBegin() |
Operand |
ProcessModuleBodyInstr.getBlock() |
Operand |
YieldInstr.getBlockArg() |
Operand |
BlockGivenInstr.getBlockArg() |
Operand[] |
CallBase.getCallArgs() |
Operand |
ModuleVersionGuardInstr.getCandidateObject()
The object whose metaclass token has to be verified
|
Operand |
ClosureAcceptingInstr.getClosureArg() |
Operand |
CallBase.getClosureArg()
From interface ClosureAcceptingInstr
|
Operand |
BuildLambdaInstr.getClosureArg() |
Operand |
CallBase.getClosureArg(Operand ifUnspecified) |
Operand |
DefineModuleInstr.getContainer() |
Operand |
DefineClassMethodInstr.getContainer() |
Operand |
DefineClassInstr.getContainer() |
Operand |
InheritanceSearchConstInstr.getCurrentModule() |
Operand |
InstanceSuperInstr.getDefiningModule() |
Operand |
ClassSuperInstr.getDefiningModule() |
Operand |
LexicalSearchConstInstr.getDefiningScope() |
Operand |
BuildRangeInstr.getEnd() |
Operand |
ThrowExceptionInstr.getException() |
Operand |
BuildLambdaInstr.getLambdaBody() |
Operand |
SetCapturedVarInstr.getMatch2Result() |
Operand |
UndefMethodInstr.getMethodName() |
Operand |
ProcessModuleBodyInstr.getModuleBody() |
Operand |
GVarAliasInstr.getNewName() |
Operand |
AliasInstr.getNewName() |
Operand |
DefineMetaClassInstr.getObject() |
Operand |
GVarAliasInstr.getOldName() |
Operand |
AliasInstr.getOldName() |
Operand[] |
ReceiveRestArgInstr.getOperands() |
Operand[] |
NonlocalReturnInstr.getOperands() |
Operand[] |
Instr.getOperands() |
Operand[] |
BuildDynRegExpInstr.getPieces() |
Operand[] |
BuildCompoundStringInstr.getPieces() |
Operand |
MatchInstr.getReceiver() |
Operand |
Match3Instr.getReceiver() |
Operand |
Match2Instr.getReceiver() |
Operand |
CallBase.getReceiver() |
Operand |
ReturnBase.getReturnValue() |
Operand |
BreakInstr.getReturnValue() |
Operand |
GetInstr.getSource() |
Operand |
CopyInstr.getSource() |
Operand |
SearchConstInstr.getStartingScope() |
Operand |
GetClassVarContainerModuleInstr.getStartingScope() |
Operand |
DefineClassInstr.getSuperClass() |
Operand |
PutInstr.getTarget() |
Operand |
StoreLocalVarInstr.getValue() |
Operand |
PutInstr.getValue() |
Operand |
YieldInstr.getYieldArg() |
Operand |
ToAryInstr.simplifyAndGetResult(IRScope scope,
Map<Operand,Operand> valueMap) |
Operand |
ReqdArgMultipleAsgnInstr.simplifyAndGetResult(IRScope scope,
Map<Operand,Operand> valueMap) |
Operand |
Instr.simplifyAndGetResult(IRScope scope,
Map<Operand,Operand> valueMap)
This method takes as input a map of operands to their values, and outputs
the result of this instruction.
|
Operand |
CopyInstr.simplifyAndGetResult(IRScope scope,
Map<Operand,Operand> valueMap) |
Modifier and Type | Method and Description |
---|---|
static boolean |
CallBase.containsArgSplat(Operand[] arguments) |
static NoResultCallInstr |
NoResultCallInstr.create(CallType callType,
String name,
Operand receiver,
Operand[] args,
Operand closure) |
static NoResultCallInstr |
NoResultCallInstr.create(CallType callType,
String name,
Operand receiver,
Operand[] args,
Operand closure) |
static CallInstr |
CallInstr.create(CallType callType,
Variable result,
String name,
Operand receiver,
Operand[] args,
Operand closure) |
static CallInstr |
CallInstr.create(CallType callType,
Variable result,
String name,
Operand receiver,
Operand[] args,
Operand closure) |
static BranchInstr |
BNEInstr.create(Operand v1,
Operand v2,
Label jmpTarget) |
static BranchInstr |
BEQInstr.create(Operand v1,
Operand v2,
Label jmpTarget) |
static AttrAssignInstr |
AttrAssignInstr.create(Operand obj,
String attr,
Operand[] args) |
static AttrAssignInstr |
AttrAssignInstr.create(Operand obj,
String attr,
Operand[] args) |
static CallInstr |
CallInstr.create(Variable result,
String name,
Operand receiver,
Operand[] args,
Operand closure) |
static CallInstr |
CallInstr.create(Variable result,
String name,
Operand receiver,
Operand[] args,
Operand closure) |
Operand |
CallBase.getClosureArg(Operand ifUnspecified) |
static boolean |
CallBase.isAllFixnums(Operand[] args) |
static boolean |
CallBase.isAllFloats(Operand[] args) |
Modifier and Type | Method and Description |
---|---|
void |
Instr.renameVars(Map<Operand,Operand> renameMap) |
void |
Instr.renameVars(Map<Operand,Operand> renameMap) |
Operand |
ToAryInstr.simplifyAndGetResult(IRScope scope,
Map<Operand,Operand> valueMap) |
Operand |
ToAryInstr.simplifyAndGetResult(IRScope scope,
Map<Operand,Operand> valueMap) |
Operand |
ReqdArgMultipleAsgnInstr.simplifyAndGetResult(IRScope scope,
Map<Operand,Operand> valueMap) |
Operand |
ReqdArgMultipleAsgnInstr.simplifyAndGetResult(IRScope scope,
Map<Operand,Operand> valueMap) |
Operand |
Instr.simplifyAndGetResult(IRScope scope,
Map<Operand,Operand> valueMap)
This method takes as input a map of operands to their values, and outputs
the result of this instruction.
|
Operand |
Instr.simplifyAndGetResult(IRScope scope,
Map<Operand,Operand> valueMap)
This method takes as input a map of operands to their values, and outputs
the result of this instruction.
|
Operand |
CopyInstr.simplifyAndGetResult(IRScope scope,
Map<Operand,Operand> valueMap) |
Operand |
CopyInstr.simplifyAndGetResult(IRScope scope,
Map<Operand,Operand> valueMap) |
void |
StoreLocalVarInstr.simplifyOperands(Map<Operand,Operand> valueMap,
boolean force)
getLocalVar is saved for location and should not be simplified so we still know its original
depth/offset.
|
void |
StoreLocalVarInstr.simplifyOperands(Map<Operand,Operand> valueMap,
boolean force)
getLocalVar is saved for location and should not be simplified so we still know its original
depth/offset.
|
void |
LoadLocalVarInstr.simplifyOperands(Map<Operand,Operand> valueMap,
boolean force)
getLocalVar is saved for location and should not be simplified so we still know its original
depth/offset.
|
void |
LoadLocalVarInstr.simplifyOperands(Map<Operand,Operand> valueMap,
boolean force)
getLocalVar is saved for location and should not be simplified so we still know its original
depth/offset.
|
void |
Instr.simplifyOperands(Map<Operand,Operand> valueMap,
boolean force)
This method takes as input a map of operands to their values, and outputs
If the value map provides a value for any of the instruction's operands
this method is expected to replace the original operands with the simplified values.
|
void |
Instr.simplifyOperands(Map<Operand,Operand> valueMap,
boolean force)
This method takes as input a map of operands to their values, and outputs
If the value map provides a value for any of the instruction's operands
this method is expected to replace the original operands with the simplified values.
|
void |
CallBase.simplifyOperands(Map<Operand,Operand> valueMap,
boolean force) |
void |
CallBase.simplifyOperands(Map<Operand,Operand> valueMap,
boolean force) |
Modifier and Type | Method and Description |
---|---|
Operand |
AluInstr.getArg1() |
Operand |
AluInstr.getArg2() |
Operand |
UnboxInstr.getValue() |
Operand |
BoxInstr.getValue() |
Constructor and Description |
---|
AluInstr(Operation op,
Variable result,
Operand a1,
Operand a2) |
BoxBooleanInstr(Variable dst,
Operand val) |
BoxFixnumInstr(Variable dst,
Operand val) |
BoxFloatInstr(Variable dst,
Operand val) |
BoxInstr(Operation op,
Variable result,
Operand val) |
UnboxBooleanInstr(Variable dst,
Operand val) |
UnboxFixnumInstr(Variable dst,
Operand val) |
UnboxFloatInstr(Variable dst,
Operand val) |
UnboxInstr(Operation op,
Variable result,
Operand value) |
Modifier and Type | Method and Description |
---|---|
Operand |
RestoreErrorInfoInstr.getArg() |
Constructor and Description |
---|
RestoreErrorInfoInstr(Operand arg) |
Modifier and Type | Method and Description |
---|---|
void |
IRScopeListener.endBuildOperand(Node node,
IRScope scope,
Operand operand) |
Modifier and Type | Class and Description |
---|---|
class |
Array |
class |
AsString |
class |
Backref |
class |
Bignum
Represents a literal Bignum.
|
class |
Boolean |
class |
ClosureLocalVariable
This represents a variable used in a closure that is
local to the closure and is not defined in any ancestor lexical scope
|
class |
Complex
Represents a Complex literal.
|
class |
ConstantStringLiteral
A String literal which can be shared and is frozen.
|
class |
CurrentScope |
class |
DynamicSymbol |
class |
Fixnum |
class |
Float |
class |
FrozenString
Represents a literal string value.
|
class |
GlobalVariable |
class |
Hash |
class |
ImmutableLiteral
Operands extending this type can make a reasonable assumption of
immutability.
|
class |
IRException |
class |
Label |
class |
LocalVariable |
class |
Nil
Represents nil.
|
class |
NthRef |
class |
NullBlock
Represents Block.NULL block, the block that cannot be yielded.
|
class |
ObjectClass |
class |
Rational
Literal Rational number.
|
class |
Reference |
class |
Regexp |
class |
ScopeModule
Wrap a scope for the purpose of finding live module which happens to be associated with it.
|
class |
Self |
class |
Splat |
class |
StandardError |
class |
StringLiteral
Represents a literal string value.
|
class |
SValue |
class |
Symbol |
class |
TemporaryBooleanVariable
Represents a temporary variable for an unboxed Boolean operand.
|
class |
TemporaryClosureVariable |
class |
TemporaryCurrentModuleVariable |
class |
TemporaryCurrentScopeVariable |
class |
TemporaryFixnumVariable
Represents a temporary variable for an unboxed Float operand.
|
class |
TemporaryFloatVariable
Represents a temporary variable for an unboxed Float operand.
|
class |
TemporaryLocalReplacementVariable
When we optimize full local variables to be temporary ones we like to keep the name
of what we renamed them as.
|
class |
TemporaryLocalVariable
A set of variables which are only used in a particular scope and never
visible to Ruby itself.
|
class |
TemporaryVariable |
class |
UnboxedBoolean |
class |
UnboxedFixnum |
class |
UnboxedFloat |
class |
UndefinedValue
For argument processing.
|
class |
UnexecutableNil |
class |
Variable |
class |
WrappedIRClosure |
Modifier and Type | Field and Description |
---|---|
static Operand[] |
Operand.EMPTY_ARRAY |
Modifier and Type | Field and Description |
---|---|
List<KeyValuePair<Operand,Operand>> |
Hash.pairs |
List<KeyValuePair<Operand,Operand>> |
Hash.pairs |
Modifier and Type | Method and Description |
---|---|
List<KeyValuePair<Operand,Operand>> |
Hash.getPairs() |
List<KeyValuePair<Operand,Operand>> |
Hash.getPairs() |
Constructor and Description |
---|
Array(Operand[] elts) |
AsString(Operand source) |
DynamicSymbol(Operand n) |
Regexp(Operand regexp,
RegexpOptions options) |
Splat(Operand array) |
SValue(Operand array) |
Constructor and Description |
---|
Array(List<Operand> elts) |
Hash(List<KeyValuePair<Operand,Operand>> pairs) |
Hash(List<KeyValuePair<Operand,Operand>> pairs) |
Hash(List<KeyValuePair<Operand,Operand>> pairs,
boolean isKWArgsHash) |
Hash(List<KeyValuePair<Operand,Operand>> pairs,
boolean isKWArgsHash) |
Modifier and Type | Method and Description |
---|---|
Operand |
IRReaderFile.decodeOperand() |
Operand |
IRReaderDecoder.decodeOperand() |
Operand[] |
IRReaderFile.decodeOperandArray() |
Operand[] |
IRReaderDecoder.decodeOperandArray() |
Modifier and Type | Method and Description |
---|---|
List<Operand> |
IRReaderFile.decodeOperandList() |
List<Operand> |
IRReaderDecoder.decodeOperandList() |
Map<String,Operand> |
IRReaderFile.getVars() |
Map<String,Operand> |
IRReaderDecoder.getVars() |
Modifier and Type | Method and Description |
---|---|
void |
IRWriterFile.encode(Operand operand) |
void |
IRWriterEncoder.encode(Operand value) |
void |
IRWriterAnalzer.encode(Operand operand) |
Modifier and Type | Method and Description |
---|---|
static boolean[] |
IRRuntimeHelpers.buildSplatMap(Operand[] args,
boolean containsArgSplat) |
Modifier and Type | Method and Description |
---|---|
void |
JVMVisitor.visit(Operand operand) |
Modifier and Type | Method and Description |
---|---|
Operand |
InlineCloneInfo.getArg(int index) |
Operand |
InlineCloneInfo.getArg(int argIndex,
boolean restOfArgArray) |
Operand |
InlineCloneInfo.getArgs() |
Operand |
InlineCloneInfo.getCallClosure() |
Copyright © 2001-2015 JRuby. All Rights Reserved.