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.bc2ir.ia32 |
Provides classes that implement the generation of IA32-specific magics
for the optimizing compiler.
|
org.jikesrvm.compilers.opt.inlining | |
org.jikesrvm.compilers.opt.ir |
Modifier and Type | Field and Description |
---|---|
(package private) GenerationContext |
InliningBlockLE.gc |
private GenerationContext |
BBSet.gc
associated generation context
|
private GenerationContext |
BC2IR.gc
The generation context.
|
private GenerationContext |
GenerationContext.parent
The parent of this context is the context that the method
createChildContext(ExceptionHandlerBasicBlockBag, NormalMethod, Instruction)
was called upon in order to create this context. |
Modifier and Type | Method and Description |
---|---|
GenerationContext |
GenerationContext.createChildContext(ExceptionHandlerBasicBlockBag ebag,
NormalMethod callee,
Instruction callSite)
Creates a child generation context from this context
and callerBB to generate IR for callsite.
|
static GenerationContext |
GenerationContext.createSynthetic(GenerationContext parent,
ExceptionHandlerBasicBlockBag ebag)
Only for internal use by Inliner (when inlining multiple targets)
This is probably not the prettiest way to handle this, but it requires
no changes to BC2IR's & Inliner's high level control logic.
|
private GenerationContext |
GenerationContext.getOutermostContext() |
Modifier and Type | Method and Description |
---|---|
private static Instruction |
GenerateMagic._cmpHelper(BC2IR bc2ir,
GenerationContext gc,
ConditionOperand cond,
Operand given_o2) |
static Instruction |
BC2IR._osrHelper(Instruction barrier,
GenerationContext gc)
Creates an OSR point instruction with its dependent OsrBarrier
which provides type and variable information.
|
static GenerationContext |
GenerationContext.createSynthetic(GenerationContext parent,
ExceptionHandlerBasicBlockBag ebag)
Only for internal use by Inliner (when inlining multiple targets)
This is probably not the prettiest way to handle this, but it requires
no changes to BC2IR's & Inliner's high level control logic.
|
private void |
BC2IR.finish(GenerationContext context) |
static void |
BC2IR.generateHIR(GenerationContext context)
Generate HIR as specified by the argument GenerationContext.
|
(package private) static boolean |
GenerateMagic.generateMagic(BC2IR bc2ir,
GenerationContext gc,
MethodReference meth)
"Semantic inlining" of methods of the Magic class.
|
(package private) static boolean |
GenerateMagic.generatePolymorphicMagic(BC2IR bc2ir,
GenerationContext gc,
MethodReference meth,
Atom methodName) |
private void |
BC2IR.start(GenerationContext context) |
Constructor and Description |
---|
BBSet(GenerationContext gc,
BytecodeStream bcodes,
Operand[] localState)
Initialize the BBSet to handle basic block generation for the argument
generation context and bytecode info.
|
BC2IR(GenerationContext context)
Construct the BC2IR object for the generation context.
|
InliningBlockLE(GenerationContext c,
BasicBlockLE bble) |
Modifier and Type | Method and Description |
---|---|
static boolean |
GenerateMachineSpecificMagic.generateMagic(BC2IR bc2ir,
GenerationContext gc,
MethodReference meth)
"Semantic inlining" of methods of the Magic class.
|
Modifier and Type | Method and Description |
---|---|
static GenerationContext |
Inliner.execute(InlineDecision inlDec,
GenerationContext parent,
ExceptionHandlerBasicBlockBag ebag,
Instruction callSite)
Return a generation context that represents the
execution of inlDec in the context
<parent,ebag> for
the call instruction callSite. |
Modifier and Type | Method and Description |
---|---|
static GenerationContext |
Inliner.execute(InlineDecision inlDec,
GenerationContext parent,
ExceptionHandlerBasicBlockBag ebag,
Instruction callSite)
Return a generation context that represents the
execution of inlDec in the context
<parent,ebag> for
the call instruction callSite. |
Modifier and Type | Field and Description |
---|---|
GenerationContext |
IR.gc
The root
generation context
for the current compilation. |