Lines Matching refs:thisLIR
45 static void dumpDependentInsnPair(ArmLIR *thisLIR, ArmLIR *checkLIR,
49 dvmDumpLIRInsn((LIR *) thisLIR, 0);
92 ArmLIR *thisLIR; in applyLoadStoreElimination() local
96 for (thisLIR = PREV_LIR(tailLIR); in applyLoadStoreElimination()
97 thisLIR != headLIR; in applyLoadStoreElimination()
98 thisLIR = PREV_LIR(thisLIR)) { in applyLoadStoreElimination()
102 if ((thisLIR->flags.isNop == true) || in applyLoadStoreElimination()
103 isPseudoOpcode(thisLIR->opcode) || in applyLoadStoreElimination()
104 !(EncodingMap[thisLIR->opcode].flags & (IS_LOAD | IS_STORE))) { in applyLoadStoreElimination()
108 int nativeRegId = thisLIR->operands[0]; in applyLoadStoreElimination()
109 bool isThisLIRLoad = EncodingMap[thisLIR->opcode].flags & IS_LOAD; in applyLoadStoreElimination()
112 u8 thisMemMask = (thisLIR->useMask | thisLIR->defMask) & ENCODE_MEM; in applyLoadStoreElimination()
126 u8 stopUseRegMask = (ENCODE_REG_PC | thisLIR->useMask) & in applyLoadStoreElimination()
128 u8 stopDefRegMask = thisLIR->defMask & ~ENCODE_MEM; in applyLoadStoreElimination()
130 for (checkLIR = NEXT_LIR(thisLIR); in applyLoadStoreElimination()
159 if (checkLIR->aliasInfo == thisLIR->aliasInfo && in applyLoadStoreElimination()
174 if (checkLIR->aliasInfo == thisLIR->aliasInfo) { in applyLoadStoreElimination()
208 thisLIR->flags.isNop = true; in applyLoadStoreElimination()
212 } else if (isDalvikRegisterClobbered(thisLIR, checkLIR)) { in applyLoadStoreElimination()
243 DEBUG_OPT(dumpDependentInsnPair(thisLIR, checkLIR, in applyLoadStoreElimination()
249 *newStoreLIR = *thisLIR; in applyLoadStoreElimination()
257 thisLIR->flags.isNop = true; in applyLoadStoreElimination()
275 ArmLIR *thisLIR, *checkLIR; in applyLoadHoisting() local
286 for (thisLIR = NEXT_LIR(headLIR); in applyLoadHoisting()
287 thisLIR != tailLIR; in applyLoadHoisting()
288 thisLIR = NEXT_LIR(thisLIR)) { in applyLoadHoisting()
291 if ((thisLIR->flags.isNop == true) || in applyLoadHoisting()
292 isPseudoOpcode(thisLIR->opcode) || in applyLoadHoisting()
293 !(EncodingMap[thisLIR->opcode].flags & IS_LOAD)) { in applyLoadHoisting()
297 u8 stopUseAllMask = thisLIR->useMask; in applyLoadHoisting()
311 u8 stopDefRegMask = thisLIR->defMask & ~ENCODE_MEM; in applyLoadHoisting()
317 for (checkLIR = PREV_LIR(thisLIR); in applyLoadHoisting()
336 if ((checkLIR->aliasInfo == thisLIR->aliasInfo) || in applyLoadHoisting()
337 isDalvikRegisterClobbered(thisLIR, checkLIR)) { in applyLoadHoisting()
368 DEBUG_OPT(dumpDependentInsnPair(checkLIR, thisLIR in applyLoadHoisting()
437 *newLoadLIR = *thisLIR; in applyLoadHoisting()
444 thisLIR->flags.isNop = true; in applyLoadHoisting()