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.inlining |
Modifier and Type | Method and Description |
---|---|
private InlineDecision |
BC2IR.shouldInline(Instruction call,
boolean isExtant,
int realBCI)
Should we inline a call site?
|
Modifier and Type | Method and Description |
---|---|
private boolean |
BC2IR.maybeInlineMethod(InlineDecision inlDec,
Instruction callSite)
Attempt to inline a method.
|
Modifier and Type | Method and Description |
---|---|
static InlineDecision |
InlineDecision.guardedYES(RVMMethod[] targets,
byte[] guards,
String reason)
Return a decision YES to do a guarded inline.
|
static InlineDecision |
InlineDecision.guardedYES(RVMMethod target,
byte guard,
String reason)
Return a decision YES to do a guarded inline.
|
static InlineDecision |
InlineDecision.NO(RVMMethod target,
String reason)
Return a decision NOT to inline.
|
static InlineDecision |
InlineDecision.NO(String reason)
Return a decision NOT to inline.
|
InlineDecision |
DefaultInlineOracle.shouldInline(CompilationState state) |
InlineDecision |
InlineOracle.shouldInline(CompilationState state)
Should we inline a particular call site?
|
static InlineDecision |
InlineDecision.YES(RVMMethod target,
String reason)
Return a decision to inline without a guard.
|
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. |
static void |
Inliner.execute(InlineDecision inlDec,
IR ir,
Instruction callSite)
Execute an inlining decision inlDec for the CALL instruction
callSite that is contained in ir.
|