/dalvik/vm/compiler/ |
D | CompilerIR.h | 81 typedef struct LIR { struct 83 struct LIR *next; argument 84 struct LIR *prev; argument 85 struct LIR *target; argument 86 } LIR; typedef 125 LIR *misPredBranchOver; 209 LIR *firstLIRInsn; 210 LIR *lastLIRInsn; 211 LIR *literalList; // Constants 212 LIR *classPointerList; // Relocatable [all …]
|
D | IntermediateRep.cpp | 81 void dvmCompilerAppendLIR(CompilationUnit *cUnit, LIR *lir) in dvmCompilerAppendLIR() 101 void dvmCompilerInsertLIRBefore(LIR *currentLIR, LIR *newLIR) in dvmCompilerInsertLIRBefore() 104 LIR *prevLIR = currentLIR->prev; in dvmCompilerInsertLIRBefore() 118 void dvmCompilerInsertLIRAfter(LIR *currentLIR, LIR *newLIR) in dvmCompilerInsertLIRAfter()
|
D | Loop.h | 32 LIR *branchToBody; // branch over to the body from entry 33 LIR *branchToPCR; // branch over to the PCR cell
|
D | CompilerUtility.h | 56 struct LIR; 71 void dvmDumpLIRInsn(struct LIR *lir, unsigned char *baseAddr); 72 void dvmDumpResourceMask(struct LIR *lir, u8 mask, const char *prefix);
|
/dalvik/vm/compiler/codegen/ |
D | Optimizer.h | 37 struct LIR; 40 struct LIR *head, 41 struct LIR *tail);
|
D | CodegenFactory.cpp | 139 LIR *defStart; in storeValue() 140 LIR *defEnd; in storeValue() 175 defStart = (LIR *)cUnit->lastLIRInsn; in storeValue() 179 defEnd = (LIR *)cUnit->lastLIRInsn; in storeValue() 210 LIR *defStart; in storeValueWide() 211 LIR *defEnd; in storeValueWide() 256 defStart = (LIR *)cUnit->lastLIRInsn; in storeValueWide() 264 defEnd = (LIR *)cUnit->lastLIRInsn; in storeValueWide()
|
D | Ralloc.h | 116 LIR *start, LIR *finish); 123 LIR *start, LIR *finish);
|
/dalvik/vm/compiler/codegen/mips/ |
D | LocalOptimizations.cpp | 49 dvmDumpLIRInsn((LIR *) thisLIR, 0); 50 dvmDumpLIRInsn((LIR *) checkLIR, 0); 67 dvmCompilerInsertLIRAfter((LIR *) origLIR, (LIR *) moveLIR); in convertMemOpIntoMove() 255 dvmCompilerInsertLIRBefore((LIR *) checkLIR, in applyLoadStoreElimination() 256 (LIR *) newStoreLIR); in applyLoadStoreElimination() 448 dvmCompilerInsertLIRBefore((LIR *) curLIR, in applyLoadHoisting() 449 (LIR *) newLoadLIR); in applyLoadHoisting() 456 void dvmCompilerApplyLocalOptimizations(CompilationUnit *cUnit, LIR *headLIR, in dvmCompilerApplyLocalOptimizations() 457 LIR *tailLIR) in dvmCompilerApplyLocalOptimizations()
|
D | Ralloc.h | 120 LIR *start, LIR *finish); 127 LIR *start, LIR *finish);
|
D | CodegenCommon.cpp | 278 dvmCompilerAppendLIR(cUnit, (LIR *) insn); in newLIR0() 290 dvmCompilerAppendLIR(cUnit, (LIR *) insn); in newLIR1() 304 dvmCompilerAppendLIR(cUnit, (LIR *) insn); in newLIR2() 322 dvmCompilerAppendLIR(cUnit, (LIR *) insn); in newLIR3() 338 dvmCompilerAppendLIR(cUnit, (LIR *) insn); in newLIR4() 368 static MipsLIR *addWordData(CompilationUnit *cUnit, LIR **constantListP, in addWordData() 376 *constantListP = (LIR *) newValue; in addWordData() 431 branch->generic.target = (LIR *) pcrLabel; in genCheckCommon()
|
D | CodegenFactory.cpp | 131 LIR *defStart; in storeValue() 132 LIR *defEnd; in storeValue() 167 defStart = (LIR *)cUnit->lastLIRInsn; in storeValue() 171 defEnd = (LIR *)cUnit->lastLIRInsn; in storeValue() 201 LIR *defStart; in storeValueWide() 202 LIR *defEnd; in storeValueWide() 247 defStart = (LIR *)cUnit->lastLIRInsn; in storeValueWide() 255 defEnd = (LIR *)cUnit->lastLIRInsn; in storeValueWide()
|
D | GlobalOptimizations.cpp | 322 branchLIR->generic.target = (LIR *) NEXT_LIR(targetLIR); in delaySlotLIR() 354 branchLIR->generic.target = (LIR *) NEXT_LIR(targetLIR); in delaySlotLIR() 397 (LIR *) delaySlotLIR(firstLIR, thisLIR)); in introduceBranchDelaySlot() 399 dvmCompilerInsertLIRAfter((LIR *) thisLIR, in introduceBranchDelaySlot() 400 (LIR *) delaySlotLIR(firstLIR, thisLIR)); in introduceBranchDelaySlot() 410 dvmCompilerInsertLIRAfter((LIR *) thisLIR, (LIR *) nopLIR); in introduceBranchDelaySlot()
|
D | ArchUtility.cpp | 165 void dvmDumpResourceMask(LIR *lir, u8 mask, const char *prefix) in dvmDumpResourceMask() 218 void dvmDumpLIRInsn(LIR *arg, unsigned char *baseAddr) in dvmDumpLIRInsn() 308 DUMP_RESOURCE_MASK(dvmDumpResourceMask((LIR *) lir, in dvmDumpLIRInsn() 312 DUMP_RESOURCE_MASK(dvmDumpResourceMask((LIR *) lir, in dvmDumpLIRInsn() 321 LIR *lirInsn; in dvmCompilerCodegenDump()
|
D | CodegenDriver.cpp | 42 branchOver->generic.target = (LIR *)target; in markCard() 272 static void selfVerificationBranchInsert(LIR *currentLIR, Mipsopcode opcode, in selfVerificationBranchInsert() 281 dvmCompilerInsertLIRBefore(currentLIR, (LIR *) insn); in selfVerificationBranchInsert() 332 selfVerificationBranchInsert((LIR *) thisLIR, kThumbBlx1, in selfVerificationBranchInsertPass() 335 selfVerificationBranchInsert((LIR *) thisLIR, kThumbBlx2, in selfVerificationBranchInsertPass() 354 branch->generic.target = (LIR *) target; in genConditionalBranchMips() 679 branchOver->generic.target = (LIR *) target; in genArrayObjectPut() 1004 branch->generic.target = (LIR *) target; in genUnconditionalBranch() 1027 branch->generic.target = (LIR *) pcrLabel; in genReturnCommon() 1177 addrRetChain->generic.target = (LIR *) retChainingCell; in genInvokeSingletonCommon() [all …]
|
D | MipsLIR.h | 139 struct LIR *defStart; // Starting inst in last def sequence 140 struct LIR *defEnd; // Ending inst in last def sequence 604 LIR generic;
|
/dalvik/vm/compiler/codegen/arm/ |
D | LocalOptimizations.cpp | 49 dvmDumpLIRInsn((LIR *) thisLIR, 0); 50 dvmDumpLIRInsn((LIR *) checkLIR, 0); 67 dvmCompilerInsertLIRAfter((LIR *) origLIR, (LIR *) moveLIR); in convertMemOpIntoMove() 255 dvmCompilerInsertLIRBefore((LIR *) checkLIR, in applyLoadStoreElimination() 256 (LIR *) newStoreLIR); in applyLoadStoreElimination() 448 dvmCompilerInsertLIRBefore((LIR *) curLIR, in applyLoadHoisting() 449 (LIR *) newLoadLIR); in applyLoadHoisting() 456 void dvmCompilerApplyLocalOptimizations(CompilationUnit *cUnit, LIR *headLIR, in dvmCompilerApplyLocalOptimizations() 457 LIR *tailLIR) in dvmCompilerApplyLocalOptimizations()
|
D | CodegenCommon.cpp | 270 dvmCompilerAppendLIR(cUnit, (LIR *) insn); in newLIR0() 282 dvmCompilerAppendLIR(cUnit, (LIR *) insn); in newLIR1() 296 dvmCompilerAppendLIR(cUnit, (LIR *) insn); in newLIR2() 314 dvmCompilerAppendLIR(cUnit, (LIR *) insn); in newLIR3() 331 dvmCompilerAppendLIR(cUnit, (LIR *) insn); in newLIR4() 360 static ArmLIR *scanLiteralPool(LIR *dataTarget, int value, unsigned int delta) in scanLiteralPool() 372 ArmLIR* scanLiteralPoolWide(LIR* dataTarget, int valLo, int valHi) in scanLiteralPoolWide() 396 static ArmLIR *addWordData(CompilationUnit *cUnit, LIR **constantListP, in addWordData() 404 *constantListP = (LIR *) newValue; in addWordData() 415 ArmLIR* addWideData(CompilationUnit* cUnit, LIR** constantListP, in addWideData() [all …]
|
D | ArchUtility.cpp | 241 void dvmDumpResourceMask(LIR *lir, u8 mask, const char *prefix) in dvmDumpResourceMask() 295 void dvmDumpLIRInsn(LIR *arg, unsigned char *baseAddr) in dvmDumpLIRInsn() 386 DUMP_RESOURCE_MASK(dvmDumpResourceMask((LIR *) lir, in dvmDumpLIRInsn() 390 DUMP_RESOURCE_MASK(dvmDumpResourceMask((LIR *) lir, in dvmDumpLIRInsn() 399 LIR *lirInsn; in dvmCompilerCodegenDump()
|
D | CodegenDriver.cpp | 42 branchOver->generic.target = (LIR *)target; in markCard() 208 static void selfVerificationBranchInsert(LIR *currentLIR, ArmOpcode opcode, in selfVerificationBranchInsert() 216 dvmCompilerInsertLIRBefore(currentLIR, (LIR *) insn); in selfVerificationBranchInsert() 266 selfVerificationBranchInsert((LIR *) thisLIR, kThumbBlx1, in selfVerificationBranchInsertPass() 269 selfVerificationBranchInsert((LIR *) thisLIR, kThumbBlx2, in selfVerificationBranchInsertPass() 288 branch->generic.target = (LIR *) target; in genConditionalBranch() 618 branchOver->generic.target = (LIR *) target; in genArrayObjectPut() 959 branch->generic.target = (LIR *) target; in genUnconditionalBranch() 982 branch->generic.target = (LIR *) pcrLabel; in genReturnCommon() 1130 addrRetChain->generic.target = (LIR *) retChainingCell; in genInvokeSingletonCommon() [all …]
|
D | ArchFactory.cpp | 40 branch->generic.target = (LIR *) exceptionLabel; in genRegImmCheck()
|
/dalvik/vm/compiler/codegen/arm/Thumb/ |
D | Factory.cpp | 78 loadPcRel->generic.target = (LIR *) dataTarget; in loadConstantNoClobber() 84 dvmCompilerAppendLIR(cUnit, (LIR *) loadPcRel); in loadConstantNoClobber() 133 loadPcRel->generic.target = (LIR *) dataTarget; in loadClassPointer() 139 dvmCompilerAppendLIR(cUnit, (LIR *) loadPcRel); in loadClassPointer() 866 dvmCompilerAppendLIR(cUnit, (LIR*)res); in genRegCopy() 910 dvmCompilerInsertLIRBefore((LIR *) origLIR, (LIR *) pushFP); in genSelfVerificationPreBranch() 917 dvmCompilerInsertLIRBefore((LIR *) origLIR, (LIR *) pushLR); in genSelfVerificationPreBranch() 932 dvmCompilerInsertLIRAfter((LIR *) origLIR, (LIR *) popForLR); in genSelfVerificationPostBranch() 935 dvmCompilerInsertLIRAfter((LIR *) popForLR, (LIR *) copy); in genSelfVerificationPostBranch() 942 dvmCompilerInsertLIRAfter((LIR *) copy, (LIR *) popFP); in genSelfVerificationPostBranch()
|
/dalvik/vm/compiler/codegen/arm/Thumb2/ |
D | Gen.cpp | 54 (LIR *) newLIR1(cUnit, kArm16BitData, CHAIN_CELL_OFFSET_TAG); in genTraceProfileEntry() 265 hopBranch->generic.target = (LIR *)hopTarget; in genMonitorEnter() 283 branch->generic.target = (LIR *)target; in genMonitorEnter() 321 hopBranch->generic.target = (LIR *)hopTarget; in genMonitorExit() 343 branch->generic.target = (LIR *)target; in genMonitorExit() 344 branchOver->generic.target = (LIR *) target; in genMonitorExit() 401 branch1->generic.target = (LIR *)target1; in genCmpLong() 402 branch2->generic.target = (LIR *)target2; in genCmpLong()
|
D | Factory.cpp | 72 loadPcRel->generic.target = (LIR *) dataTarget; in loadFPConstantValue() 78 dvmCompilerAppendLIR(cUnit, (LIR *) loadPcRel); in loadFPConstantValue() 180 loadPcRel->generic.target = (LIR *) dataTarget; in loadConstantNoClobber() 186 dvmCompilerAppendLIR(cUnit, (LIR *) loadPcRel); in loadConstantNoClobber() 231 loadPcRel->generic.target = (LIR *) dataTarget; in loadClassPointer() 237 dvmCompilerAppendLIR(cUnit, (LIR *) loadPcRel); in loadClassPointer() 725 loadPcRel->generic.target = (LIR *) dataTarget; in loadConstantValueWide() 732 dvmCompilerAppendLIR(cUnit, (LIR *) loadPcRel); in loadConstantValueWide() 1247 dvmCompilerAppendLIR(cUnit, (LIR*)res); in genRegCopy() 1288 dvmCompilerInsertLIRBefore((LIR *) origLIR, (LIR *) push); in genSelfVerificationPreBranch() [all …]
|
/dalvik/vm/compiler/codegen/mips/Mips32/ |
D | Factory.cpp | 859 dvmCompilerAppendLIR(cUnit, (LIR*)res); in genRegCopy() 952 branch->generic.target = (LIR *) exceptionLabel; in genRegImmCheck() 977 dvmCompilerInsertLIRBefore((LIR *) origLIR, (LIR *) pushFP); in genSelfVerificationPreBranch() 984 dvmCompilerInsertLIRBefore((LIR *) origLIR, (LIR *) pushLR); in genSelfVerificationPreBranch() 1002 dvmCompilerInsertLIRAfter((LIR *) origLIR, (LIR *) popForLR); in genSelfVerificationPostBranch() 1005 dvmCompilerInsertLIRAfter((LIR *) popForLR, (LIR *) copy); in genSelfVerificationPostBranch() 1012 dvmCompilerInsertLIRAfter((LIR *) copy, (LIR *) popFP); in genSelfVerificationPostBranch()
|
/dalvik/vm/compiler/codegen/x86/ |
D | CodegenInterface.cpp | 769 dvmCompilerAppendLIR(cUnit, (LIR *) pcrLabel[i]); in handlePCReconstruction() 897 callsiteInfo->misPredBranchOver = (LIR*)conditional_jump_int(Condition_NE, 0, OpndSize_8); in genValidationForPredictedInline() 951 branchToPCR->generic.target = (LIR *) pcrLabel; in setupLoopEntryBlock() 953 cUnit->loopAnalysis->branchToPCR = (LIR *) branchToPCR; in setupLoopEntryBlock() 1141 dvmCompilerAppendLIR(cUnit, (LIR *) &labelList[i]); in dvmCompilerMIR2LIR() 1314 dvmCompilerApplyLocalOptimizations(cUnit, (LIR *) headLIR, in dvmCompilerMIR2LIR() 1342 cUnit->firstChainingLIR[i] = (LIR *) &labelList[blockIdList[0]]; in dvmCompilerMIR2LIR() 1356 dvmCompilerAppendLIR(cUnit, (LIR *) &labelList[blockId]); in dvmCompilerMIR2LIR()
|