/dalvik/vm/compiler/ |
D | IntermediateRep.c | 23 BasicBlock *bb = dvmCompilerNew(sizeof(BasicBlock), true); in dvmCompilerNewBB() local 24 bb->blockType = blockType; in dvmCompilerNewBB() 25 return bb; in dvmCompilerNewBB() 29 void dvmCompilerAppendMIR(BasicBlock *bb, MIR *mir) in dvmCompilerAppendMIR() argument 31 if (bb->firstMIRInsn == NULL) { in dvmCompilerAppendMIR() 32 assert(bb->lastMIRInsn == NULL); in dvmCompilerAppendMIR() 33 bb->lastMIRInsn = bb->firstMIRInsn = mir; in dvmCompilerAppendMIR() 36 bb->lastMIRInsn->next = mir; in dvmCompilerAppendMIR() 37 mir->prev = bb->lastMIRInsn; in dvmCompilerAppendMIR() 39 bb->lastMIRInsn = mir; in dvmCompilerAppendMIR() [all …]
|
D | Utility.c | 137 BasicBlock *bb; in dvmCompilerDumpCompilationUnit() local 161 bb = cUnit->blockList[i]; in dvmCompilerDumpCompilationUnit() 163 bb->id, in dvmCompilerDumpCompilationUnit() 164 blockTypeNames[bb->blockType], in dvmCompilerDumpCompilationUnit() 165 bb->startOffset, in dvmCompilerDumpCompilationUnit() 166 bb->lastMIRInsn ? bb->lastMIRInsn->offset : bb->startOffset, in dvmCompilerDumpCompilationUnit() 167 bb->lastMIRInsn ? "" : " empty"); in dvmCompilerDumpCompilationUnit() 168 if (bb->taken) { in dvmCompilerDumpCompilationUnit() 170 bb->taken->id, bb->taken->startOffset); in dvmCompilerDumpCompilationUnit() 172 if (bb->fallThrough) { in dvmCompilerDumpCompilationUnit() [all …]
|
D | Ralloc.c | 28 int computeLiveRange(LiveRange *list, BasicBlock *bb, int seqNum) in computeLiveRange() argument 33 if (bb->blockType != kDalvikByteCode && in computeLiveRange() 34 bb->blockType != kTraceEntryBlock) in computeLiveRange() 37 for (mir = bb->firstMIRInsn; mir; mir = mir->next) { in computeLiveRange() 63 static void inferTypes(CompilationUnit *cUnit, BasicBlock *bb) in inferTypes() argument 66 if (bb->blockType != kDalvikByteCode && in inferTypes() 67 bb->blockType != kTraceEntryBlock) in inferTypes() 70 for (mir = bb->firstMIRInsn; mir; mir = mir->next) { in inferTypes()
|
D | Dataflow.c | 931 void dvmCompilerFindLiveIn(CompilationUnit *cUnit, BasicBlock *bb) in dvmCompilerFindLiveIn() argument 936 if (bb->blockType != kDalvikByteCode && in dvmCompilerFindLiveIn() 937 bb->blockType != kTraceEntryBlock) { in dvmCompilerFindLiveIn() 941 useV = bb->dataFlowInfo->useV = in dvmCompilerFindLiveIn() 943 defV = bb->dataFlowInfo->defV = in dvmCompilerFindLiveIn() 945 liveInV = bb->dataFlowInfo->liveInV = in dvmCompilerFindLiveIn() 948 for (mir = bb->firstMIRInsn; mir; mir = mir->next) { in dvmCompilerFindLiveIn() 1040 void dvmCompilerDoSSAConversion(CompilationUnit *cUnit, BasicBlock *bb) in dvmCompilerDoSSAConversion() argument 1044 if (bb->blockType != kDalvikByteCode && bb->blockType != kTraceEntryBlock) { in dvmCompilerDoSSAConversion() 1048 for (mir = bb->firstMIRInsn; mir; mir = mir->next) { in dvmCompilerDoSSAConversion() [all …]
|
D | Compiler.h | 280 struct BasicBlock *bb); 282 struct BasicBlock *bb); 284 struct BasicBlock *bb); 286 struct BasicBlock *bb);
|
D | InlineTransformation.c | 294 BasicBlock *bb = cUnit->blockList[i]; in dvmCompilerInlineMIR() local 295 if (bb->blockType != kDalvikByteCode) in dvmCompilerInlineMIR() 297 MIR *lastMIRInsn = bb->lastMIRInsn; in dvmCompilerInlineMIR() 338 tryInlineSingletonCallsite(cUnit, calleeMethod, lastMIRInsn, bb, in dvmCompilerInlineMIR() 361 tryInlineVirtualCallsite(cUnit, calleeMethod, lastMIRInsn, bb, in dvmCompilerInlineMIR()
|
D | CompilerIR.h | 226 void dvmCompilerAppendMIR(BasicBlock *bb, MIR *mir); 228 void dvmCompilerPrependMIR(BasicBlock *bb, MIR *mir); 230 void dvmCompilerInsertMIRAfter(BasicBlock *bb, MIR *currentMIR, MIR *newMIR);
|
/dalvik/tests/008-instanceof/src/ |
D | Main.java | 24 ImplBSub bb = new ImplBSub(); in main() local 28 face1 = bb; in main() 32 System.out.println("bb.mWhoami = " + bb.mWhoami); in main() 41 bb = (ImplBSub) face1; in main()
|
/dalvik/dx/src/com/android/dx/cf/code/ |
D | ByteBlockList.java | 72 public void set(int n, ByteBlock bb) { in set() argument 73 super.set(n, bb); in set()
|
D | Ropper.java | 378 for (BasicBlock bb : result) { in getAvailableLabel() 379 int label = bb.getLabel(); in getAvailableLabel() 907 BasicBlock bb = new BasicBlock(label, il, extraBlockSuccessors, in processBlock() local 910 addBlock(bb, frame.getSubroutines()); in processBlock() 948 BasicBlock bb = in processBlock() local 950 addOrReplaceBlock(bb, frame.getSubroutines()); in processBlock() 1036 BasicBlock bb = in addSetupBlocks() local 1039 addBlock(bb, IntList.EMPTY); in addSetupBlocks() 1063 bb = new BasicBlock(label, insns, in addSetupBlocks() 1065 addBlock(bb, IntList.EMPTY); in addSetupBlocks() [all …]
|
D | BasicBlocker.java | 79 BasicBlocker bb = new BasicBlocker(method); in identifyBlocks() local 81 bb.doit(); in identifyBlocks() 82 return bb.getBlockList(); in identifyBlocks()
|
D | Simulator.java | 92 public void simulate(ByteBlock bb, Frame frame) { in simulate() argument 93 int end = bb.getEnd(); in simulate() 98 for (int off = bb.getStart(); off < end; /*off*/) { in simulate()
|
/dalvik/dx/src/com/android/dx/command/dump/ |
D | BlockDumper.java | 222 ByteBlock bb = list.get(i); in regularDump() local 223 int start = bb.getStart(); in regularDump() 224 int end = bb.getEnd(); in regularDump() 232 "block " + Hex.u2(bb.getLabel()) + ": " + in regularDump() 242 IntList successors = bb.getSuccessors(); in regularDump() 253 ByteCatchList catches = bb.getCatches(); in regularDump() 307 BasicBlock bb = blocks.get(i); in ropDump() local 308 int label = bb.getLabel(); in ropDump() 321 InsnList il = bb.getInsns(); in ropDump() 330 IntList successors = bb.getSuccessors(); in ropDump() [all …]
|
D | DotDumper.java | 136 BasicBlock bb = blocks.get(i); in endParsingMember() local 137 int label = bb.getLabel(); in endParsingMember() 138 IntList successors = bb.getSuccessors(); in endParsingMember() 150 if (successor != bb.getPrimarySuccessor()) { in endParsingMember() 158 + Hex.u2(bb.getPrimarySuccessor()) in endParsingMember()
|
/dalvik/tests/008-instanceof/ |
D | expected.txt | 3 bb.mWhoami = ImplB!
|
/dalvik/tests/004-annotations/src/android/test/anno/ |
D | AnnoArrayField.java | 11 byte[] bb() default {}; in bb() method
|
D | TestAnnotations.java | 90 bb = {-1,0,1},
|
/dalvik/dx/src/com/android/dx/ssa/ |
D | SsaBasicBlock.java | 147 BasicBlock bb = ropBlocks.get(basicBlockIndex); in newFromRop() local 149 new SsaBasicBlock(basicBlockIndex, bb.getLabel(), parent); in newFromRop() 150 InsnList ropInsns = bb.getInsns(); in newFromRop() 160 rmeth.labelToPredecessors(bb.getLabel())); in newFromRop() 163 = SsaMethod.bitSetFromLabelList(ropBlocks, bb.getSuccessors()); in newFromRop() 167 bb.getSuccessors()); in newFromRop() 170 int primarySuccessor = bb.getPrimarySuccessor(); in newFromRop()
|
/dalvik/dx/src/com/android/dx/ssa/back/ |
D | IdenticalBlockCombiner.java | 145 BasicBlock bb = blocks.labelToBlock(betaLabel); in combineBlocks() local 146 IntList preds = ropMethod.labelToPredecessors(bb.getLabel()); in combineBlocks()
|
/dalvik/dx/src/com/android/dx/rop/code/ |
D | BasicBlockList.java | 76 public void set(int n, BasicBlock bb) { in set() argument 77 super.set(n, bb); in set()
|
/dalvik/vm/compiler/codegen/arm/ |
D | CodegenDriver.c | 1054 BasicBlock *bb, ArmLIR *labelList, in genInvokeSingletonCommon() argument 1064 ArmLIR *retChainingCell = &labelList[bb->fallThrough->id]; in genInvokeSingletonCommon() 1089 genUnconditionalBranch(cUnit, &labelList[bb->taken->id]); in genInvokeSingletonCommon() 1314 BasicBlock *bb, ArmLIR *labelList) in handleFmt10t_Fmt20t_Fmt30t() argument 1317 genUnconditionalBranch(cUnit, &labelList[bb->taken->id]); in handleFmt10t_Fmt20t_Fmt30t() 1914 static bool handleFmt21t(CompilationUnit *cUnit, MIR *mir, BasicBlock *bb, in handleFmt21t() argument 1948 genConditionalBranch(cUnit, cond, &labelList[bb->taken->id]); in handleFmt21t() 1950 genUnconditionalBranch(cUnit, &labelList[bb->fallThrough->id]); in handleFmt21t() 2401 static bool handleFmt22t(CompilationUnit *cUnit, MIR *mir, BasicBlock *bb, in handleFmt22t() argument 2437 genConditionalBranch(cUnit, cond, &labelList[bb->taken->id]); in handleFmt22t() [all …]
|
/dalvik/tests/004-annotations/ |
D | expected.txt | 2 java.lang.String android.test.anno.TestAnnotations.thing1: @android.test.anno.AnnoArrayField(bb=[],… 3 java.lang.String android.test.anno.TestAnnotations.thing2: @android.test.anno.AnnoArrayField(bb=[-1…
|
/dalvik/dx/tests/024-code-bytecode/ |
D | small-class.txt | 266 bb 0001 # 0169: new 0001 294 c5 0002 04 # 01bb: multianewarray 0002, #04
|
D | expected.txt | 283 01bb: multianewarray type{java.lang.Object}, 04
|
/dalvik/dx/tests/087-ssa-local-vars/ |
D | expected.txt | 864 block 01bb 879 next 01bb 882 pred 01bb 1072 Blort.java:85@00bb: goto . <- .
|