Home
last modified time | relevance | path

Searched refs:ArmLIR (Results 1 – 17 of 17) sorted by relevance

/dalvik/vm/compiler/codegen/arm/
DLocalOptimizations.c24 ArmLIR* dvmCompilerGenCopy(CompilationUnit *cUnit, int rDest, int rSrc);
27 static inline bool isDalvikLoad(ArmLIR *lir) in isDalvikLoad()
33 static inline bool isLiteralLoad(ArmLIR *lir) in isLiteralLoad()
38 static inline bool isDalvikStore(ArmLIR *lir) in isDalvikStore()
43 static inline bool isDalvikRegisterClobbered(ArmLIR *lir1, ArmLIR *lir2) in isDalvikRegisterClobbered()
55 static void dumpDependentInsnPair(ArmLIR *thisLIR, ArmLIR *checkLIR,
70 ArmLIR *headLIR, in applyLoadStoreElimination()
71 ArmLIR *tailLIR) in applyLoadStoreElimination()
73 ArmLIR *thisLIR; in applyLoadStoreElimination()
85 ArmLIR *checkLIR; in applyLoadStoreElimination()
[all …]
DCodegenCommon.c35 static void setMemRefType(ArmLIR *lir, bool isLoad, int memType) in setMemRefType()
72 static void annotateDalvikRegAccess(ArmLIR *lir, int regId, bool isLoad) in annotateDalvikRegAccess()
109 static void setupResourceMasks(ArmLIR *lir) in setupResourceMasks()
205 static ArmLIR *newLIR0(CompilationUnit *cUnit, ArmOpCode opCode) in newLIR0()
207 ArmLIR *insn = dvmCompilerNew(sizeof(ArmLIR), true); in newLIR0()
215 static ArmLIR *newLIR1(CompilationUnit *cUnit, ArmOpCode opCode, in newLIR1()
218 ArmLIR *insn = dvmCompilerNew(sizeof(ArmLIR), true); in newLIR1()
227 static ArmLIR *newLIR2(CompilationUnit *cUnit, ArmOpCode opCode, in newLIR2()
230 ArmLIR *insn = dvmCompilerNew(sizeof(ArmLIR), true); in newLIR2()
241 static ArmLIR *newLIR3(CompilationUnit *cUnit, ArmOpCode opCode, in newLIR3()
[all …]
DGlobalOptimizations.c27 ArmLIR *thisLIR; in applyRedundantBranchElimination()
29 for (thisLIR = (ArmLIR *) cUnit->firstLIRInsn; in applyRedundantBranchElimination()
30 thisLIR != (ArmLIR *) cUnit->lastLIRInsn; in applyRedundantBranchElimination()
35 ArmLIR *nextLIR = thisLIR; in applyRedundantBranchElimination()
43 if (nextLIR == (ArmLIR *) thisLIR->generic.target) { in applyRedundantBranchElimination()
DCodegen.h32 static ArmLIR *opRegImm(CompilationUnit *cUnit, OpKind op, int rDestSrc1,
34 static ArmLIR *opRegReg(CompilationUnit *cUnit, OpKind op, int rDestSrc1,
73 extern ArmLIR* dvmCompilerRegCopyNoInsert(CompilationUnit *cUnit, int rDest,
76 extern ArmLIR* dvmCompilerRegCopy(CompilationUnit *cUnit, int rDest, int rSrc);
81 extern void dvmCompilerSetupResourceMasks(ArmLIR *lir);
DCodegenFactory.c29 static ArmLIR *loadWordDisp(CompilationUnit *cUnit, int rBase, int displacement, in loadWordDisp()
36 static ArmLIR *storeWordDisp(CompilationUnit *cUnit, int rBase, in storeWordDisp()
265 static ArmLIR *genNullCheck(CompilationUnit *cUnit, int sReg, int mReg, in genNullCheck()
266 int dOffset, ArmLIR *pcrLabel) in genNullCheck()
282 static ArmLIR *genRegRegCheck(CompilationUnit *cUnit, in genRegRegCheck()
285 ArmLIR *pcrLabel) in genRegRegCheck()
287 ArmLIR *res; in genRegRegCheck()
289 ArmLIR *branch = opCondBranch(cUnit, cond); in genRegRegCheck()
298 static ArmLIR *genZeroCheck(CompilationUnit *cUnit, int mReg, in genZeroCheck()
299 int dOffset, ArmLIR *pcrLabel) in genZeroCheck()
[all …]
DArchUtility.c70 static void buildInsnString(char *fmt, ArmLIR *lir, char* buf, in buildInsnString()
238 ArmLIR *armLIR = (ArmLIR *) lir; in dvmDumpResourceMask()
278 ArmLIR *lir = (ArmLIR *) arg; in dvmDumpLIRInsn()
373 ArmLIR *armLIR; in dvmCompilerCodegenDump()
381 armLIR = (ArmLIR *) lirInsn; in dvmCompilerCodegenDump()
DCodegenDriver.c35 ArmLIR *branchOver = opCondBranch(cUnit, kArmCondEq); in markCard()
41 ArmLIR *target = newLIR0(cUnit, kArmPseudoTargetLabel); in markCard()
209 ArmLIR *insn = dvmCompilerNew(sizeof(ArmLIR), true); in selfVerificationBranchInsert()
219 ArmLIR *thisLIR; in selfVerificationBranchInsertPass()
222 for (thisLIR = (ArmLIR *) cUnit->firstLIRInsn; in selfVerificationBranchInsertPass()
223 thisLIR != (ArmLIR *) cUnit->lastLIRInsn; in selfVerificationBranchInsertPass()
239 static ArmLIR *genConditionalBranch(CompilationUnit *cUnit, in genConditionalBranch()
241 ArmLIR *target) in genConditionalBranch()
243 ArmLIR *branch = opCondBranch(cUnit, cond); in genConditionalBranch()
249 static inline ArmLIR *genTrap(CompilationUnit *cUnit, int dOffset, in genTrap()
[all …]
DArmLIR.h759 typedef struct ArmLIR { struct
771 } ArmLIR; argument
778 #define NEXT_LIR(lir) ((ArmLIR *) lir->generic.next)
779 #define PREV_LIR(lir) ((ArmLIR *) lir->generic.prev)
DAssemble.c901 ArmLIR *dataLIR = (ArmLIR *) cUnit->wordList; in installDataContent()
931 ArmLIR *lir; in assembleInstructions()
933 for (lir = (ArmLIR *) cUnit->firstLIRInsn; lir; lir = NEXT_LIR(lir)) { in assembleInstructions()
951 ArmLIR *lirTarget = (ArmLIR *) lir->generic.target; in assembleInstructions()
971 ArmLIR *targetLIR = (ArmLIR *) lir->generic.target; in assembleInstructions()
977 ArmLIR *newInst = dvmCompilerNew(sizeof(ArmLIR), true); in assembleInstructions()
998 ArmLIR *targetLIR = (ArmLIR *) lir->generic.target; in assembleInstructions()
1007 ArmLIR *targetLIR = (ArmLIR *) lir->generic.target; in assembleInstructions()
1207 ArmLIR *armLIR; in dvmCompilerAssembleLIR()
1218 for (armLIR = (ArmLIR *) cUnit->firstLIRInsn; in dvmCompilerAssembleLIR()
[all …]
DRallocUtil.c505 ((ArmLIR *)p)->isNop = true; in nullifyRange()
/dalvik/vm/compiler/codegen/arm/Thumb/
DFactory.c30 static ArmLIR *loadWordDisp(CompilationUnit *cUnit, int rBase, int displacement,
32 static ArmLIR *storeWordDisp(CompilationUnit *cUnit, int rBase,
34 static ArmLIR *genRegRegCheck(CompilationUnit *cUnit,
37 ArmLIR *pcrLabel);
49 static ArmLIR *loadConstantNoClobber(CompilationUnit *cUnit, int rDest, in loadConstantNoClobber()
52 ArmLIR *res; in loadConstantNoClobber()
72 ArmLIR *dataTarget = scanLiteralPool(cUnit, value, 255); in loadConstantNoClobber()
76 ArmLIR *loadPcRel = dvmCompilerNew(sizeof(ArmLIR), true); in loadConstantNoClobber()
113 static ArmLIR *loadConstant(CompilationUnit *cUnit, int rDest, int value) in loadConstant()
122 static ArmLIR *opNone(CompilationUnit *cUnit, OpKind op) in opNone()
[all …]
DGen.c136 static ArmLIR *genExportPC(CompilationUnit *cUnit, MIR *mir) in genExportPC()
138 ArmLIR *res; in genExportPC()
207 ArmLIR *branch1 = newLIR2(cUnit, kThumbBCond, 2, in genInlinedMinMaxInt()
210 ArmLIR *target = newLIR0(cUnit, kArmPseudoTargetLabel); in genInlinedMinMaxInt()
/dalvik/vm/compiler/codegen/arm/Thumb2/
DFactory.c51 static ArmLIR *loadFPConstantValue(CompilationUnit *cUnit, int rDest, in loadFPConstantValue()
59 ArmLIR *dataTarget = scanLiteralPool(cUnit, value, 0); in loadFPConstantValue()
63 ArmLIR *loadPcRel = dvmCompilerNew(sizeof(ArmLIR), true); in loadFPConstantValue()
138 static ArmLIR *loadConstantNoClobber(CompilationUnit *cUnit, int rDest, in loadConstantNoClobber()
141 ArmLIR *res; in loadConstantNoClobber()
169 ArmLIR *dataTarget = scanLiteralPool(cUnit, value, 0); in loadConstantNoClobber()
173 ArmLIR *loadPcRel = dvmCompilerNew(sizeof(ArmLIR), true); in loadConstantNoClobber()
206 static ArmLIR *loadConstant(CompilationUnit *cUnit, int rDest, int value) in loadConstant()
215 static ArmLIR *opNone(CompilationUnit *cUnit, OpKind op) in opNone()
228 static ArmLIR *opCondBranch(CompilationUnit *cUnit, ArmConditionCode cc) in opCondBranch()
[all …]
DGen.c122 static ArmLIR *genIT(CompilationUnit *cUnit, ArmConditionCode code, in genIT()
153 static ArmLIR *genExportPC(CompilationUnit *cUnit, MIR *mir) in genExportPC()
155 ArmLIR *res; in genExportPC()
195 ArmLIR *target; in genMonitorEnter()
196 ArmLIR *hopTarget; in genMonitorEnter()
197 ArmLIR *branch; in genMonitorEnter()
198 ArmLIR *hopBranch; in genMonitorEnter()
224 ArmLIR *inst = newLIR0(cUnit, kThumb2Clrex); in genMonitorEnter()
255 ArmLIR *target; in genMonitorExit()
256 ArmLIR *branch; in genMonitorExit()
[all …]
/dalvik/vm/compiler/codegen/arm/armv7-a/
DArchVariant.c94 ArmLIR *dmb = newLIR1(cUnit, kThumb2Dmb, kSY); // Full system DMB in dvmCompilerGenMemBarrier()
/dalvik/vm/compiler/codegen/arm/armv7-a-neon/
DArchVariant.c94 ArmLIR *dmb = newLIR1(cUnit, kThumb2Dmb, kSY); // Full system DMB in dvmCompilerGenMemBarrier()
/dalvik/vm/compiler/codegen/arm/FP/
DThumb2VFP.c185 ArmLIR *branch; in genInlineSqrt()
202 ArmLIR *label = newLIR0(cUnit, kArmPseudoTargetLabel); in genInlineSqrt()