Package | Description |
---|---|
org.jikesrvm.compilers.opt.bc2ir |
Provides classes that implement the transformation from bytecode to the
high-level intermediate representation (HIR).
|
org.jikesrvm.compilers.opt.controlflow | |
org.jikesrvm.compilers.opt.inlining | |
org.jikesrvm.compilers.opt.ir |
Modifier and Type | Field and Description |
---|---|
private InlineSequence |
GenerationContext.inlineSequence
Inlining context of the method to be generated
|
Modifier and Type | Method and Description |
---|---|
InlineSequence |
GenerationContext.getInlineSequence() |
Constructor and Description |
---|
BasicBlockLE(int loc,
InlineSequence position,
ControlFlowGraph cfg)
Create a new BBLE (and basic block) for the specified bytecode index.
|
HandlerBlockLE(int loc,
InlineSequence position,
TypeOperand eType,
GenericRegisterPool temps,
int exprStackSize,
ControlFlowGraph cfg)
Create a new exception handler BBLE (and exception handler basic block)
for the specified bytecode index and exception type.
|
Modifier and Type | Method and Description |
---|---|
private void |
YieldPoints.prependYield(BasicBlock bb,
Operator yp,
int bcIndex,
InlineSequence position)
Add a YIELD instruction to the appropriate place for the basic
block passed.
|
Modifier and Type | Field and Description |
---|---|
InlineSequence |
InlineSequence.caller
Caller info.
|
InlineSequence |
CallSiteTreeNode.callSite
The call site represented by this tree node
|
Modifier and Type | Method and Description |
---|---|
InlineSequence |
InlineSequence.getCaller() |
InlineSequence |
CompilationState.getSequence() |
Modifier and Type | Method and Description |
---|---|
Enumeration<InlineSequence> |
InlineSequence.enumerateFromRoot() |
Modifier and Type | Method and Description |
---|---|
CallSiteTreeNode |
CallSiteTree.addLocation(InlineSequence seq)
Given an existing call site tree representing a method, add a new
inlined call to it.
|
CallSiteTreeNode |
CallSiteTree.find(InlineSequence seq)
Given an inline sequence representing an inlined call site, find
the corresponding call site tree node.
|
Constructor and Description |
---|
CallSiteTreeNode(InlineSequence seq)
construct a a call site tree node corresponding to a given
inlined call site
|
InlineSequence(NormalMethod method,
InlineSequence caller,
Instruction callsite)
Constructs a new inline sequence operand.
|
InlineSequence(NormalMethod method,
InlineSequence caller,
int bcIndex)
Constructs a new inline sequence operand.
|
Modifier and Type | Field and Description |
---|---|
InlineSequence |
Instruction.position
A description of the tree of inlined methods that contains the bytecode
that this instruction came from.
|
Constructor and Description |
---|
BasicBlock(int i,
InlineSequence position,
ControlFlowGraph cfg)
Creates a new basic block at the specified location.
|
BasicBlock(int i,
InlineSequence position,
int num)
Creates a new basic block at the specified location with
the given basic block number.
|
ExceptionHandlerBasicBlock(int loc,
InlineSequence position,
TypeOperand type,
ControlFlowGraph cfg)
Creates a new exception handler basic block at the specified location,
which catches the specified type of exception.
|