Home
last modified time | relevance | path

Searched refs:BasicBlock (Results 1 – 19 of 19) sorted by relevance

/dalvik/vm/compiler/
DCompilerIR.h56 typedef struct BasicBlock { struct
65 struct BasicBlock *fallThrough; argument
66 struct BasicBlock *taken; argument
67 struct BasicBlock *next; // Serial link for book keeping purposes argument
68 } BasicBlock; typedef
73 BasicBlock **blockList;
97 BasicBlock *dvmCompilerNewBB(BBType blockType);
99 void dvmCompilerAppendMIR(BasicBlock *bb, MIR *mir);
DIntermediateRep.c21 BasicBlock *dvmCompilerNewBB(BBType blockType) in dvmCompilerNewBB()
23 BasicBlock *bb = dvmCompilerNew(sizeof(BasicBlock), true); in dvmCompilerNewBB()
29 void dvmCompilerAppendMIR(BasicBlock *bb, MIR *mir) in dvmCompilerAppendMIR()
DFrontend.c252 BasicBlock *startBB, *curBB, *lastBB; in dvmCompileTrace()
411 BasicBlock *searchBB; in dvmCompileTrace()
443 BasicBlock *newBB; in dvmCompileTrace()
509 BasicBlock **blockList; in dvmCompileTrace()
516 dvmCompilerNew(sizeof(BasicBlock *) * numBlocks, true); in dvmCompileTrace()
583 BasicBlock *firstBlock = dvmCompilerNewBB(DALVIK_BYTECODE); in dvmCompileMethod()
641 BasicBlock **blockList; in dvmCompileMethod()
646 dvmCompilerNew(sizeof(BasicBlock *) * numBlocks, true); in dvmCompileMethod()
658 BasicBlock *curBB = blockList[i]; in dvmCompileMethod()
672 BasicBlock *newBB = dvmCompilerNewBB(DALVIK_BYTECODE); in dvmCompileMethod()
[all …]
DUtility.c136 BasicBlock *bb; in dvmCompilerDumpCompilationUnit()
/dalvik/dx/src/com/android/dx/rop/code/
DBasicBlockList.java66 public BasicBlock get(int n) { in get()
67 return (BasicBlock) get0(n); in get()
76 public void set(int n, BasicBlock bb) { in set()
112 BasicBlock one = (BasicBlock) getOrNull0(i); in getInstructionCount()
132 BasicBlock one = (BasicBlock) getOrNull0(i); in getEffectiveInstructionCount()
158 public BasicBlock labelToBlock(int label) { in labelToBlock()
178 BasicBlock one = get(i); in forEachInsn()
198 BasicBlock one = (BasicBlock) get0(i); in withRegisterOffset()
230 public BasicBlock preferredSuccessorOf(BasicBlock block) { in preferredSuccessorOf()
260 public boolean catchesEqual(BasicBlock block1, in catchesEqual()
[all …]
DBasicBlock.java27 public final class BasicBlock implements LabeledItem { class
59 public BasicBlock(int label, InsnList insns, IntList successors, in BasicBlock() method in BasicBlock
262 public BasicBlock withRegisterOffset(int delta) { in withRegisterOffset()
263 return new BasicBlock(label, insns.withRegisterOffset(delta), in withRegisterOffset()
279 public void visitBlock (BasicBlock b); in visitBlock()
DRopMethod.java162 BasicBlock one = blocks.get(i); in calcPredecessors()
DLocalVariableInfo.java152 public RegisterSpecSet getStarts(BasicBlock block) { in getStarts()
DLocalVariableExtractor.java93 BasicBlock block = blocks.labelToBlock(label); in processBlock()
/dalvik/dx/src/com/android/dx/ssa/back/
DIdenticalBlockCombiner.java19 import com.android.dx.rop.code.BasicBlock;
66 BasicBlock b = blocks.get(bindex); in process()
80 BasicBlock iBlock = blocks.labelToBlock(iLabel); in process()
92 BasicBlock jBlock = blocks.labelToBlock(jLabel); in process()
125 private static boolean compareInsns(BasicBlock a, BasicBlock b) { in compareInsns()
142 BasicBlock bb = blocks.labelToBlock(betaLabel); in combineBlocks()
147 BasicBlock predBlock = newBlocks.labelToBlock(preds.get(j)); in combineBlocks()
161 private void replaceSucc(BasicBlock block, int oldLabel, int newLabel) { in replaceSucc()
174 BasicBlock newBB = new BasicBlock(block.getLabel(), in replaceSucc()
DSsaToRop.java19 import com.android.dx.rop.code.BasicBlock;
303 private BasicBlock convertBasicBlock(SsaBasicBlock block) { in convertBasicBlock()
328 BasicBlock result = new BasicBlock( in convertBasicBlock()
/dalvik/dx/src/com/android/dx/dex/code/
DStdCatchBuilder.java19 import com.android.dx.rop.code.BasicBlock;
85 BasicBlock block = blocks.get(i); in hasAnyCatches()
102 BasicBlock block = blocks.get(i); in getCatchTypes()
129 BasicBlock currentStartBlock = null; in build()
130 BasicBlock currentEndBlock = null; in build()
133 BasicBlock block = blocks.labelToBlock(order[i]); in build()
216 private static CatchHandlerList handlersFor(BasicBlock block, in handlersFor()
274 private static CatchTable.Entry makeEntry(BasicBlock start, in makeEntry()
275 BasicBlock end, CatchHandlerList handlers, in makeEntry()
300 private static boolean rangeIsValid(BasicBlock start, BasicBlock end, in rangeIsValid()
DBlockAddresses.java19 import com.android.dx.rop.code.BasicBlock;
66 public CodeAddress getStart(BasicBlock block) { in getStart()
86 public CodeAddress getLast(BasicBlock block) { in getLast()
108 public CodeAddress getEnd(BasicBlock block) { in getEnd()
131 BasicBlock one = blocks.get(i); in setupArrays()
DRopTranslator.java19 import com.android.dx.rop.code.BasicBlock;
239 private void outputBlock(BasicBlock block, int nextLabel) { in outputBlock()
312 BasicBlock one = blocks.get(i); in pickOrder()
364 BasicBlock pred = blocks.labelToBlock(predLabel); in pickOrder()
388 BasicBlock one = blocks.labelToBlock(label); in pickOrder()
389 BasicBlock preferredBlock = blocks.preferredSuccessorOf(one); in pickOrder()
493 private BasicBlock block;
517 public void setBlock(BasicBlock block, CodeAddress lastAddress) { in setBlock()
/dalvik/dx/src/com/android/dx/cf/code/
DRopper.java94 private final ArrayList<BasicBlock> result;
204 BasicBlock subCaller = labelToBlock(label); in getSuccessors()
224 BasicBlock subCaller = labelToBlock(label); in mergeToSuccessors()
290 this.result = new ArrayList<BasicBlock>(blocks.size() * 2 + 10); in Ropper()
375 for (BasicBlock bb : result) { in getAvailableLabel()
442 BasicBlock one = result.get(i); in labelToResultIndex()
458 private BasicBlock labelToBlock(int label) { in labelToBlock()
476 private void addBlock(BasicBlock block, IntList subroutines) { in addBlock()
497 private boolean addOrReplaceBlock(BasicBlock block, IntList subroutines) { in addOrReplaceBlock()
535 private boolean addOrReplaceBlockNoDelete(BasicBlock block, in addOrReplaceBlockNoDelete()
[all …]
/dalvik/dx/src/com/android/dx/command/dump/
DDotDumper.java26 import com.android.dx.rop.code.BasicBlock;
136 BasicBlock bb = blocks.get(i); in endParsingMember()
DBlockDumper.java32 import com.android.dx.rop.code.BasicBlock;
307 BasicBlock bb = blocks.get(i); in ropDump()
/dalvik/dx/src/com/android/dx/ssa/
DSsaBasicBlock.java19 import com.android.dx.rop.code.BasicBlock;
143 BasicBlock bb = ropBlocks.get(basicBlockIndex); in newFromRop()
/dalvik/vm/compiler/codegen/arm/
DCodegen.c1150 BasicBlock *bb, ArmLIR *labelList, in genInvokeSingletonCommon()
1406 BasicBlock *bb, ArmLIR *labelList) in handleFmt10t_Fmt20t_Fmt30t()
1923 static bool handleFmt21t(CompilationUnit *cUnit, MIR *mir, BasicBlock *bb, in handleFmt21t()
2239 static bool handleFmt22t(CompilationUnit *cUnit, MIR *mir, BasicBlock *bb, in handleFmt22t()
2434 static bool handleFmt35c_3rc(CompilationUnit *cUnit, MIR *mir, BasicBlock *bb, in handleFmt35c_3rc()
2738 BasicBlock *bb, ArmLIR *labelList) in handleFmt35ms_3rms()
2975 BasicBlock **blockList = cUnit->blockList; in dvmCompilerMIR2LIR()