/dalvik/vm/compiler/codegen/arm/ |
D | CodegenCommon.cpp | 35 static void setMemRefType(ArmLIR *lir, bool isLoad, int memType) in setMemRefType() argument 39 assert(EncodingMap[lir->opcode].flags & (IS_LOAD | IS_STORE)); in setMemRefType() 41 maskPtr = &lir->useMask; in setMemRefType() 43 maskPtr = &lir->defMask; in setMemRefType() 61 assert(!(EncodingMap[lir->opcode].flags & IS_STORE)); in setMemRefType() 75 static void annotateDalvikRegAccess(ArmLIR *lir, int regId, bool isLoad) in annotateDalvikRegAccess() argument 77 setMemRefType(lir, isLoad, kDalvikReg); in annotateDalvikRegAccess() 83 lir->aliasInfo = regId; in annotateDalvikRegAccess() 84 if (DOUBLEREG(lir->operands[0])) { in annotateDalvikRegAccess() 85 lir->aliasInfo |= 0x80000000; in annotateDalvikRegAccess() [all …]
|
D | ArchUtility.cpp | 76 static void buildInsnString(const char *fmt, ArmLIR *lir, char* buf, in buildInsnString() argument 96 operand = lir->operands[nc-'0']; in buildInsnString() 199 (int) baseAddr + lir->generic.offset + 4 + in buildInsnString() 201 lir->generic.target); in buildInsnString() 204 int offset_1 = lir->operands[0]; in buildInsnString() 205 int offset_2 = NEXT_LIR(lir)->operands[0]; in buildInsnString() 207 ((((intptr_t) baseAddr + lir->generic.offset + 4) & in buildInsnString() 219 decodeRegList(lir->opcode, operand, tbuf); in buildInsnString() 241 void dvmDumpResourceMask(LIR *lir, u8 mask, const char *prefix) in dvmDumpResourceMask() argument 245 ArmLIR *armLIR = (ArmLIR *) lir; in dvmDumpResourceMask() [all …]
|
D | Assemble.cpp | 936 ArmLIR *lir; in assembleInstructions() local 938 for (lir = (ArmLIR *) cUnit->firstLIRInsn; lir; lir = NEXT_LIR(lir)) { in assembleInstructions() 939 if (lir->opcode < 0) { in assembleInstructions() 940 if ((lir->opcode == kArmPseudoPseudoAlign4) && in assembleInstructions() 942 (lir->operands[0] == 1)) { in assembleInstructions() 948 if (lir->flags.isNop) { in assembleInstructions() 952 if (lir->opcode == kThumbLdrPcRel || in assembleInstructions() 953 lir->opcode == kThumb2LdrPcRel12 || in assembleInstructions() 954 lir->opcode == kThumbAddPcRel || in assembleInstructions() 955 ((lir->opcode == kThumb2Vldrd) && (lir->operands[1] == r15pc)) || in assembleInstructions() [all …]
|
D | ArmLIR.h | 784 #define NEXT_LIR(lir) ((ArmLIR *) lir->generic.next) argument 785 #define PREV_LIR(lir) ((ArmLIR *) lir->generic.prev) argument 787 #define NEXT_LIR_LVALUE(lir) (lir)->generic.next argument 788 #define PREV_LIR_LVALUE(lir) (lir)->generic.prev argument
|
D | Codegen.h | 62 extern void dvmCompilerSetupResourceMasks(ArmLIR *lir);
|
D | CodegenDriver.cpp | 4723 void dvmCompilerSetupResourceMasks(ArmLIR *lir) in dvmCompilerSetupResourceMasks() argument 4725 setupResourceMasks(lir); in dvmCompilerSetupResourceMasks()
|
/dalvik/vm/compiler/codegen/mips/ |
D | CodegenCommon.cpp | 35 static void setMemRefType(MipsLIR *lir, bool isLoad, int memType) in setMemRefType() argument 40 assert(EncodingMap[lir->opcode].flags & (IS_LOAD | IS_STORE)); in setMemRefType() 43 maskPtr = &lir->useMask; in setMemRefType() 45 maskPtr = &lir->defMask; in setMemRefType() 63 assert(!(EncodingMap[lir->opcode].flags & IS_STORE)); in setMemRefType() 77 static void annotateDalvikRegAccess(MipsLIR *lir, int regId, bool isLoad) in annotateDalvikRegAccess() argument 80 setMemRefType(lir, isLoad, kDalvikReg); in annotateDalvikRegAccess() 86 lir->aliasInfo = regId; in annotateDalvikRegAccess() 87 if (DOUBLEREG(lir->operands[0])) { in annotateDalvikRegAccess() 88 lir->aliasInfo |= 0x80000000; in annotateDalvikRegAccess() [all …]
|
D | ArchUtility.cpp | 34 static void buildInsnString(const char *fmt, MipsLIR *lir, char* buf, in buildInsnString() argument 53 operand = lir->operands[nc-'0']; in buildInsnString() 118 (int) baseAddr + lir->generic.offset + 4 + in buildInsnString() 120 lir->generic.target); in buildInsnString() 127 int offset_1 = lir->operands[0]; in buildInsnString() 128 int offset_2 = NEXT_LIR(lir)->operands[0]; in buildInsnString() 130 ((((intptr_t) baseAddr + lir->generic.offset + 4) & in buildInsnString() 165 void dvmDumpResourceMask(LIR *lir, u8 mask, const char *prefix) in dvmDumpResourceMask() argument 169 MipsLIR *mipsLIR = (MipsLIR *) lir; in dvmDumpResourceMask() 220 MipsLIR *lir = (MipsLIR *) arg; in dvmDumpLIRInsn() local [all …]
|
D | Assemble.cpp | 440 MipsLIR *lir; in assembleInstructions() local 442 for (lir = (MipsLIR *) cUnit->firstLIRInsn; lir; lir = NEXT_LIR(lir)) { in assembleInstructions() 443 if (lir->opcode < 0) { in assembleInstructions() 448 if (lir->flags.isNop) { in assembleInstructions() 452 if (lir->opcode == kMipsB || lir->opcode == kMipsBal) { in assembleInstructions() 453 MipsLIR *targetLIR = (MipsLIR *) lir->generic.target; in assembleInstructions() 454 intptr_t pc = lir->generic.offset + 4; in assembleInstructions() 465 lir->operands[0] = delta >> 2; in assembleInstructions() 466 } else if (lir->opcode >= kMipsBeqz && lir->opcode <= kMipsBnez) { in assembleInstructions() 467 MipsLIR *targetLIR = (MipsLIR *) lir->generic.target; in assembleInstructions() [all …]
|
D | MipsLIR.h | 628 #define NEXT_LIR(lir) ((MipsLIR *) lir->generic.next) argument 629 #define PREV_LIR(lir) ((MipsLIR *) lir->generic.prev) argument 631 #define NEXT_LIR_LVALUE(lir) (lir)->generic.next argument 632 #define PREV_LIR_LVALUE(lir) (lir)->generic.prev argument
|
D | Codegen.h | 78 extern void dvmCompilerSetupResourceMasks(MipsLIR *lir);
|
D | CodegenDriver.cpp | 4834 void dvmCompilerSetupResourceMasks(MipsLIR *lir) argument 4836 setupResourceMasks(lir);
|
/dalvik/vm/compiler/ |
D | IntermediateRep.cpp | 81 void dvmCompilerAppendLIR(CompilationUnit *cUnit, LIR *lir) in dvmCompilerAppendLIR() argument 85 cUnit->lastLIRInsn = cUnit->firstLIRInsn = lir; in dvmCompilerAppendLIR() 86 lir->prev = lir->next = NULL; in dvmCompilerAppendLIR() 88 cUnit->lastLIRInsn->next = lir; in dvmCompilerAppendLIR() 89 lir->prev = cUnit->lastLIRInsn; in dvmCompilerAppendLIR() 90 lir->next = NULL; in dvmCompilerAppendLIR() 91 cUnit->lastLIRInsn = lir; in dvmCompilerAppendLIR()
|
D | CompilerUtility.h | 71 void dvmDumpLIRInsn(struct LIR *lir, unsigned char *baseAddr); 72 void dvmDumpResourceMask(struct LIR *lir, u8 mask, const char *prefix);
|
D | CompilerIR.h | 297 void dvmCompilerAppendLIR(CompilationUnit *cUnit, LIR *lir);
|