Modifier and Type | Method and Description |
---|---|
BasicBlock[] |
IRScope.prepareForInitialCompilation()
Run any necessary passes to get the IR ready for compilation
|
BasicBlock[] |
IRMethod.prepareForInitialCompilation() |
Modifier and Type | Method and Description |
---|---|
Map<BasicBlock,Label> |
IRScope.buildJVMExceptionTable() |
Modifier and Type | Method and Description |
---|---|
void |
IRScope.inlineMethod(IRScope method,
RubyModule implClass,
int classToken,
BasicBlock basicBlock,
CallBase call,
boolean cloneHost) |
Modifier and Type | Field and Description |
---|---|
protected BasicBlock |
FlowGraphNode.basicBlock |
Modifier and Type | Method and Description |
---|---|
BasicBlock |
FlowGraphNode.getBB() |
Modifier and Type | Method and Description |
---|---|
abstract U |
DataFlowProblem.buildFlowGraphNode(BasicBlock bb) |
U |
DataFlowProblem.getFlowGraphNode(BasicBlock bb) |
Constructor and Description |
---|
FlowGraphNode(T problem,
BasicBlock basicBlock) |
Modifier and Type | Method and Description |
---|---|
UnboxableOpsAnalysisNode |
UnboxableOpsAnalysisProblem.buildFlowGraphNode(BasicBlock bb) |
StoreLocalVarPlacementNode |
StoreLocalVarPlacementProblem.buildFlowGraphNode(BasicBlock bb) |
LoadLocalVarPlacementNode |
LoadLocalVarPlacementProblem.buildFlowGraphNode(BasicBlock bb) |
LiveVariableNode |
LiveVariablesProblem.buildFlowGraphNode(BasicBlock bb) |
Constructor and Description |
---|
LiveVariableNode(LiveVariablesProblem prob,
BasicBlock n) |
LoadLocalVarPlacementNode(LoadLocalVarPlacementProblem prob,
BasicBlock n) |
StoreLocalVarPlacementNode(StoreLocalVarPlacementProblem prob,
BasicBlock n) |
UnboxableOpsAnalysisNode(UnboxableOpsAnalysisProblem prob,
BasicBlock n) |
Modifier and Type | Method and Description |
---|---|
BasicBlock[] |
FullInterpreterContext.getLinearizedBBList() |
BasicBlock[] |
FullInterpreterContext.linearizeBasicBlocks() |
Modifier and Type | Method and Description |
---|---|
static void |
LocalOptimizationPass.runLocalOptsOnBasicBlock(IRScope s,
BasicBlock b) |
Modifier and Type | Method and Description |
---|---|
void |
DominatorTreeBuilder.buildDominatorTree(CFG cfg,
LinkedList<BasicBlock> postOrderList,
int maxNodeId) |
Modifier and Type | Method and Description |
---|---|
BasicBlock |
BasicBlock.clone(CloneInfo info,
CFG newCFG) |
BasicBlock |
BasicBlock.cloneForInlining(InlineCloneInfo ii) |
BasicBlock |
CFG.getBBForLabel(Label label) |
BasicBlock |
CFG.getEntryBB() |
BasicBlock |
CFG.getExitBB() |
BasicBlock |
CFG.getGlobalEnsureBB() |
BasicBlock |
CFG.getIncomingSourceOfType(BasicBlock block,
Object type) |
BasicBlock |
CFG.getOutgoingDestinationOfType(BasicBlock block,
Object type) |
BasicBlock |
CFG.getRescuerBBFor(BasicBlock block) |
static BasicBlock[] |
CFGLinearizer.linearize(CFG cfg) |
BasicBlock |
BasicBlock.splitAtInstruction(Instr splitPoint,
Label newLabel,
boolean includeSplitPointInstr) |
Modifier and Type | Method and Description |
---|---|
org.jruby.dirgra.DirectedGraph<BasicBlock> |
CFG.build(Instr[] instrs)
Build the Control Flow Graph
|
Collection<BasicBlock> |
CFG.getBasicBlocks() |
Iterable<org.jruby.dirgra.Edge<BasicBlock>> |
CFG.getIncomingEdges(BasicBlock block) |
Iterable<BasicBlock> |
CFG.getIncomingSources(BasicBlock block) |
Iterable<BasicBlock> |
CFG.getOutgoingDestinations(BasicBlock block) |
Iterable<BasicBlock> |
CFG.getOutgoingDestinationsNotOfType(BasicBlock block,
Object type) |
Iterable<BasicBlock> |
CFG.getOutgoingDestinationsOfType(BasicBlock block,
Object type) |
Collection<org.jruby.dirgra.Edge<BasicBlock>> |
CFG.getOutgoingEdges(BasicBlock block) |
Iterator<BasicBlock> |
CFG.getPostOrderTraverser() |
Iterator<BasicBlock> |
CFG.getReversePostOrderTraverser() |
Collection<BasicBlock> |
CFG.getSortedBasicBlocks() |
LinkedList<BasicBlock> |
CFG.postOrderList() |
Modifier and Type | Method and Description |
---|---|
BasicBlock |
InlineCloneInfo.getOrCreateRenamedBB(BasicBlock bb) |
BasicBlock |
InlineCloneInfo.getRenamedBB(BasicBlock bb) |
Modifier and Type | Method and Description |
---|---|
BasicBlock |
InlineCloneInfo.getOrCreateRenamedBB(BasicBlock bb) |
BasicBlock |
InlineCloneInfo.getRenamedBB(BasicBlock bb) |
void |
CFGInliner.inlineMethod(IRScope methodScope,
RubyModule implClass,
int classToken,
BasicBlock callBB,
CallBase call,
boolean cloneHost) |
void |
InlineCloneInfo.recordYieldSite(BasicBlock bb,
YieldInstr i) |
void |
InlineCloneInfo.setupYieldArgsAndYieldResult(YieldInstr yi,
BasicBlock yieldBB,
int blockArityValue) |
Copyright © 2001-2015 JRuby. All Rights Reserved.