Home
last modified time | relevance | path

Searched refs:useMask (Results 1 – 9 of 9) sorted by relevance

/dalvik/vm/compiler/codegen/arm/
DCodegenCommon.cpp41 maskPtr = &lir->useMask; in setMemRefType()
132 lir->useMask = lir->defMask = 0; in setupResourceMasks()
149 lir->defMask = lir->useMask = ENCODE_ALL; in setupResourceMasks()
191 setupRegMask(&lir->useMask, lir->operands[i]); in setupResourceMasks()
197 lir->useMask |= ENCODE_REG_PC; in setupResourceMasks()
201 lir->useMask |= ENCODE_REG_SP; in setupResourceMasks()
205 lir->useMask |= ENCODE_REG_LIST(lir->operands[0]); in setupResourceMasks()
209 lir->useMask |= ENCODE_REG_LIST(lir->operands[1]); in setupResourceMasks()
213 lir->useMask |= ENCODE_CCODE; in setupResourceMasks()
219 if ((opcode == kThumbPush) && (lir->useMask & r8Mask)) { in setupResourceMasks()
[all …]
DLocalOptimizations.cpp25 #define CHECK_REG_DEP(use, def, check) ((def & check->useMask) || \
112 u8 thisMemMask = (thisLIR->useMask | thisLIR->defMask) & ENCODE_MEM; in applyLoadStoreElimination()
126 u8 stopUseRegMask = (ENCODE_REG_PC | thisLIR->useMask) & in applyLoadStoreElimination()
140 u8 checkMemMask = (checkLIR->useMask | checkLIR->defMask) & in applyLoadStoreElimination()
297 u8 stopUseAllMask = thisLIR->useMask; in applyLoadHoisting()
431 if (((curLIR->useMask & prevLIR->defMask) && in applyLoadHoisting()
DArchUtility.cpp385 if (lir->useMask && (!lir->flags.isNop || dumpNop)) { in dvmDumpLIRInsn()
387 lir->useMask, "use")); in dvmDumpLIRInsn()
DArmLIR.h775 u8 useMask; // Resource mask for use member
/dalvik/vm/compiler/codegen/mips/
DCodegenCommon.cpp43 maskPtr = &lir->useMask; in setMemRefType()
150 lir->useMask = lir->defMask = 0; in setupResourceMasks()
167 lir->defMask = lir->useMask = ENCODE_ALL; in setupResourceMasks()
209 setupRegMask(&lir->useMask, lir->operands[i]); in setupResourceMasks()
215 lir->useMask |= ENCODE_REG_PC; in setupResourceMasks()
219 lir->useMask |= ENCODE_REG_SP; in setupResourceMasks()
223 lir->useMask |= ENCODE_REG_LIST(lir->operands[0]); in setupResourceMasks()
227 lir->useMask |= ENCODE_REG_LIST(lir->operands[1]); in setupResourceMasks()
231 lir->useMask |= ENCODE_CCODE; in setupResourceMasks()
246 lir->useMask |= ENCODE_REG_PC; in relaxBranchMasks()
[all …]
DGlobalOptimizations.cpp136 if (thisLIR->defMask & nextLIR->useMask) { in applyCopyPropagation()
151 if (thisLIR->useMask & nextLIR->defMask) { in applyCopyPropagation()
163 savedLIR[i]->useMask &= ~(1 << thisLIR->operands[0]); in applyCopyPropagation()
164 savedLIR[i]->useMask |= 1 << thisLIR->operands[1]; in applyCopyPropagation()
258 u8 useMask = branchLIR->useMask; in delaySlotLIR() local
288 if (!(thisLIR->useMask & defMask) && in delaySlotLIR()
289 !(thisLIR->defMask & useMask) && in delaySlotLIR()
303 useMask |= thisLIR->useMask; in delaySlotLIR()
367 newLIR->useMask = nextLIR->useMask; in delaySlotLIR()
DLocalOptimizations.cpp25 #define CHECK_REG_DEP(use, def, check) ((def & check->useMask) || \
112 u8 thisMemMask = (thisLIR->useMask | thisLIR->defMask) & ENCODE_MEM; in applyLoadStoreElimination()
126 u8 stopUseRegMask = (ENCODE_REG_PC | thisLIR->useMask) & in applyLoadStoreElimination()
140 u8 checkMemMask = (checkLIR->useMask | checkLIR->defMask) & in applyLoadStoreElimination()
297 u8 stopUseAllMask = thisLIR->useMask; in applyLoadHoisting()
431 if (((curLIR->useMask & prevLIR->defMask) && in applyLoadHoisting()
DArchUtility.cpp307 if (lir->useMask && (!lir->flags.isNop || dumpNop)) { in dvmDumpLIRInsn()
309 lir->useMask, "use")); in dvmDumpLIRInsn()
DMipsLIR.h615 u8 useMask; // Resource mask for use member