Home
last modified time | relevance | path

Searched refs:LIR (Results 1 – 25 of 35) sorted by relevance

12

/dalvik/vm/compiler/
DCompilerIR.h81 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 …]
DIntermediateRep.cpp81 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()
DLoop.h32 LIR *branchToBody; // branch over to the body from entry
33 LIR *branchToPCR; // branch over to the PCR cell
DCompilerUtility.h56 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/
DOptimizer.h37 struct LIR;
40 struct LIR *head,
41 struct LIR *tail);
DCodegenFactory.cpp139 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()
DRalloc.h116 LIR *start, LIR *finish);
123 LIR *start, LIR *finish);
/dalvik/vm/compiler/codegen/mips/
DLocalOptimizations.cpp49 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()
DRalloc.h120 LIR *start, LIR *finish);
127 LIR *start, LIR *finish);
DCodegenCommon.cpp278 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()
DCodegenFactory.cpp131 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()
DGlobalOptimizations.cpp322 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()
DArchUtility.cpp165 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()
DCodegenDriver.cpp42 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 …]
DMipsLIR.h139 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/
DLocalOptimizations.cpp49 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()
DCodegenCommon.cpp270 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 …]
DArchUtility.cpp241 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()
DCodegenDriver.cpp42 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 …]
DArchFactory.cpp40 branch->generic.target = (LIR *) exceptionLabel; in genRegImmCheck()
/dalvik/vm/compiler/codegen/arm/Thumb/
DFactory.cpp78 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/
DGen.cpp54 (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()
DFactory.cpp72 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/
DFactory.cpp859 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/
DCodegenInterface.cpp769 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()

12