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

/dalvik/vm/compiler/codegen/arm/
H A DGlobalOptimizations.c19 #include "ArmLIR.h"
27 ArmLIR *thisLIR;
29 for (thisLIR = (ArmLIR *) cUnit->firstLIRInsn;
30 thisLIR != (ArmLIR *) cUnit->lastLIRInsn;
35 ArmLIR *nextLIR = thisLIR;
43 if (nextLIR == (ArmLIR *) thisLIR->generic.target) {
H A 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);
H A DCodegenCommon.c35 static void setMemRefType(ArmLIR *lir, bool isLoad, int memType)
72 static void annotateDalvikRegAccess(ArmLIR *lir, int regId, bool isLoad)
109 static void setupResourceMasks(ArmLIR *lir)
205 static ArmLIR *newLIR0(CompilationUnit *cUnit, ArmOpCode opCode)
207 ArmLIR *insn = dvmCompilerNew(sizeof(ArmLIR), true);
215 static ArmLIR *newLIR1(CompilationUnit *cUnit, ArmOpCode opCode,
218 ArmLIR *insn = dvmCompilerNew(sizeof(ArmLIR), true);
227 static ArmLIR *newLIR
[all...]
H A DLocalOptimizations.c19 #include "ArmLIR.h"
24 ArmLIR* dvmCompilerGenCopy(CompilationUnit *cUnit, int rDest, int rSrc);
27 static inline bool isDalvikLoad(ArmLIR *lir)
33 static inline bool isLiteralLoad(ArmLIR *lir)
38 static inline bool isDalvikStore(ArmLIR *lir)
43 static inline bool isDalvikRegisterClobbered(ArmLIR *lir1, ArmLIR *lir2)
55 static void dumpDependentInsnPair(ArmLIR *thisLIR, ArmLIR *checkLIR,
70 ArmLIR *headLI
[all...]
H A DArchUtility.c19 #include "ArmLIR.h"
70 static void buildInsnString(char *fmt, ArmLIR *lir, char* buf,
238 ArmLIR *armLIR = (ArmLIR *) lir;
278 ArmLIR *lir = (ArmLIR *) arg;
373 ArmLIR *armLIR;
381 armLIR = (ArmLIR *) lirInsn;
H A DCodegenFactory.c29 static ArmLIR *loadWordDisp(CompilationUnit *cUnit, int rBase, int displacement,
36 static ArmLIR *storeWordDisp(CompilationUnit *cUnit, int rBase,
265 static ArmLIR *genNullCheck(CompilationUnit *cUnit, int sReg, int mReg,
266 int dOffset, ArmLIR *pcrLabel)
282 static ArmLIR *genRegRegCheck(CompilationUnit *cUnit,
285 ArmLIR *pcrLabel)
287 ArmLIR *res;
289 ArmLIR *branch = opCondBranch(cUnit, cond);
298 static ArmLIR *genZeroCheck(CompilationUnit *cUnit, int mReg,
299 int dOffset, ArmLIR *pcrLabe
[all...]
H A DCodegenDriver.c35 ArmLIR *branchOver = opCondBranch(cUnit, kArmCondEq);
41 ArmLIR *target = newLIR0(cUnit, kArmPseudoTargetLabel);
209 ArmLIR *insn = dvmCompilerNew(sizeof(ArmLIR), true);
219 ArmLIR *thisLIR;
222 for (thisLIR = (ArmLIR *) cUnit->firstLIRInsn;
223 thisLIR != (ArmLIR *) cUnit->lastLIRInsn;
239 static ArmLIR *genConditionalBranch(CompilationUnit *cUnit,
241 ArmLIR *target)
243 ArmLIR *branc
[all...]
H A DArmLIR.h759 typedef struct ArmLIR { struct
771 } ArmLIR; typedef in typeref:struct:ArmLIR
777 /* Utility macros to traverse the LIR/ArmLIR list */
778 #define NEXT_LIR(lir) ((ArmLIR *) lir->generic.next)
779 #define PREV_LIR(lir) ((ArmLIR *) lir->generic.prev)
H A DAssemble.c22 #include "ArmLIR.h"
81 /* NOTE: must be kept in sync with enum ArmOpcode from ArmLIR.h */
901 ArmLIR *dataLIR = (ArmLIR *) cUnit->wordList;
931 ArmLIR *lir;
933 for (lir = (ArmLIR *) cUnit->firstLIRInsn; lir; lir = NEXT_LIR(lir)) {
951 ArmLIR *lirTarget = (ArmLIR *) lir->generic.target;
971 ArmLIR *targetLIR = (ArmLIR *) li
[all...]
H A DRallocUtil.c28 #include "ArmLIR.h"
505 ((ArmLIR *)p)->isNop = true;
/dalvik/vm/compiler/codegen/arm/Thumb/
H A 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,
52 ArmLIR *res;
72 ArmLIR *dataTarget = scanLiteralPool(cUnit, value, 255);
76 ArmLIR *loadPcRel = dvmCompilerNew(sizeof(ArmLIR), true);
113 static ArmLIR *loadConstan
[all...]
H A DGen.c136 static ArmLIR *genExportPC(CompilationUnit *cUnit, MIR *mir)
138 ArmLIR *res;
207 ArmLIR *branch1 = newLIR2(cUnit, kThumbBCond, 2,
210 ArmLIR *target = newLIR0(cUnit, kArmPseudoTargetLabel);
/dalvik/vm/compiler/codegen/arm/Thumb2/
H A DFactory.c51 static ArmLIR *loadFPConstantValue(CompilationUnit *cUnit, int rDest,
59 ArmLIR *dataTarget = scanLiteralPool(cUnit, value, 0);
63 ArmLIR *loadPcRel = dvmCompilerNew(sizeof(ArmLIR), true);
138 static ArmLIR *loadConstantNoClobber(CompilationUnit *cUnit, int rDest,
141 ArmLIR *res;
169 ArmLIR *dataTarget = scanLiteralPool(cUnit, value, 0);
173 ArmLIR *loadPcRel = dvmCompilerNew(sizeof(ArmLIR), true);
206 static ArmLIR *loadConstan
[all...]
H A DGen.c122 static ArmLIR *genIT(CompilationUnit *cUnit, ArmConditionCode code,
153 static ArmLIR *genExportPC(CompilationUnit *cUnit, MIR *mir)
155 ArmLIR *res;
195 ArmLIR *target;
196 ArmLIR *hopTarget;
197 ArmLIR *branch;
198 ArmLIR *hopBranch;
224 ArmLIR *inst = newLIR0(cUnit, kThumb2Clrex);
255 ArmLIR *target;
256 ArmLIR *branc
[all...]
/dalvik/vm/compiler/codegen/arm/armv7-a/
H A DArchVariant.c94 ArmLIR *dmb = newLIR1(cUnit, kThumb2Dmb, kSY); // Full system DMB
/dalvik/vm/compiler/codegen/arm/armv7-a-neon/
H A DArchVariant.c94 ArmLIR *dmb = newLIR1(cUnit, kThumb2Dmb, kSY); // Full system DMB
/dalvik/vm/compiler/codegen/arm/FP/
H A DThumb2VFP.c185 ArmLIR *branch;
202 ArmLIR *label = newLIR0(cUnit, kArmPseudoTargetLabel);

Completed in 83 milliseconds