Lines Matching refs:res
52 ArmLIR *res; in loadConstantNoClobber() local
56 res = newLIR2(cUnit, kThumbMovImm, tDest, value); in loadConstantNoClobber()
61 return res; in loadConstantNoClobber()
63 res = newLIR2(cUnit, kThumbMovImm, tDest, ~value); in loadConstantNoClobber()
69 return res; in loadConstantNoClobber()
92 res = loadPcRel; in loadConstantNoClobber()
106 return res; in loadConstantNoClobber()
175 ArmLIR *res; in opRegImm() local
217 res = newLIR2(cUnit, opCode, rDestSrc1, absValue); in opRegImm()
220 res = loadConstant(cUnit, rScratch, value); in opRegImm()
226 return res; in opRegImm()
260 ArmLIR *res; in opRegRegImm() local
284 res = newLIR3(cUnit, opCode, rDest, rSrc1, 7); in opRegRegImm()
287 return res; in opRegRegImm()
300 res = newLIR3(cUnit, opCode, rDest, rSrc1, 7); in opRegRegImm()
303 return res; in opRegRegImm()
325 res = loadConstant(cUnit, rScratch, value); in opRegRegImm()
328 res = loadConstant(cUnit, rDest, value); in opRegRegImm()
331 return res; in opRegRegImm()
338 res = newLIR3(cUnit, opCode, rDest, rSrc1, absValue); in opRegRegImm()
341 res = loadConstant(cUnit, rDest, value); in opRegRegImm()
345 res = loadConstant(cUnit, rScratch, value); in opRegRegImm()
349 return res; in opRegRegImm()
355 ArmLIR *res; in opRegReg() local
419 res = opRegRegImm(cUnit, kOpLsl, rDestSrc1, rSrc2, 24); in opRegReg()
421 return res; in opRegReg()
423 res = opRegRegImm(cUnit, kOpLsl, rDestSrc1, rSrc2, 16); in opRegReg()
425 return res; in opRegReg()
427 res = opRegRegImm(cUnit, kOpLsl, rDestSrc1, rSrc2, 16); in opRegReg()
429 return res; in opRegReg()
441 ArmLIR *res; in loadConstantValueWide() local
442 res = loadConstantNoClobber(cUnit, rDestLo, valLo); in loadConstantValueWide()
444 return res; in loadConstantValueWide()
452 ArmLIR *res; in loadBaseIndexed() local
480 res = newLIR3(cUnit, opCode, rDest, rBase, rNewIndex); in loadBaseIndexed()
483 res->branchInsertSV = true; in loadBaseIndexed()
487 return (first) ? first : res; in loadBaseIndexed()
495 ArmLIR *res; in storeBaseIndexed() local
518 res = newLIR3(cUnit, opCode, rSrc, rBase, rNewIndex); in storeBaseIndexed()
521 res->branchInsertSV = true; in storeBaseIndexed()
525 return (first) ? first : res; in storeBaseIndexed()
530 ArmLIR *res; in loadMultiple() local
532 res = newLIR2(cUnit, kThumbLdmia, rBase, rMask); in loadMultiple()
535 res->branchInsertSV = true; in loadMultiple()
538 return res; in loadMultiple()
543 ArmLIR *res; in storeMultiple() local
545 res = newLIR2(cUnit, kThumbStmia, rBase, rMask); in storeMultiple()
548 res->branchInsertSV = true; in storeMultiple()
551 return res; in storeMultiple()
566 ArmLIR *res; in loadBaseDispBody() local
636 load = res = newLIR3(cUnit, opCode, rDest, rBase, encodedDisp); in loadBaseDispBody()
643 res = opRegRegImm(cUnit, kOpAdd, rTmp, rBase, displacement); in loadBaseDispBody()
650 res = loadConstant(cUnit, rTmp, displacement); in loadBaseDispBody()
673 return res; in loadBaseDispBody()
696 ArmLIR *res; in storeBaseDispBody() local
753 store = res = newLIR3(cUnit, opCode, rSrc, rBase, encodedDisp); in storeBaseDispBody()
760 res = opRegRegImm(cUnit, kOpAdd, rScratch, rBase, displacement); in storeBaseDispBody()
764 res = loadConstant(cUnit, rScratch, displacement); in storeBaseDispBody()
783 return res; in storeBaseDispBody()
820 ArmLIR* res; in genRegCopyNoInsert() local
822 res = dvmCompilerNew(sizeof(ArmLIR), true); in genRegCopyNoInsert()
832 res->operands[0] = rDest; in genRegCopyNoInsert()
833 res->operands[1] = rSrc; in genRegCopyNoInsert()
834 res->opCode = opCode; in genRegCopyNoInsert()
835 setupResourceMasks(res); in genRegCopyNoInsert()
837 res->isNop = true; in genRegCopyNoInsert()
839 return res; in genRegCopyNoInsert()
844 ArmLIR *res = genRegCopyNoInsert(cUnit, rDest, rSrc); in genRegCopy() local
845 dvmCompilerAppendLIR(cUnit, (LIR*)res); in genRegCopy()
846 return res; in genRegCopy()
868 ArmLIR *res; in genRegImmCheck() local
872 res = genRegRegCheck(cUnit, cond, reg, tReg, dOffset, pcrLabel); in genRegImmCheck()
874 return res; in genRegImmCheck()