Lines Matching refs:opcode
77 loadPcRel->opcode = kThumbLdrPcRel; in loadConstantNoClobber()
132 loadPcRel->opcode = kThumbLdrPcRel; in loadClassPointer()
145 ArmOpcode opcode = kThumbBkpt; in opNone() local
148 opcode = kThumbBUncond; in opNone()
154 return newLIR0(cUnit, opcode); in opNone()
164 ArmOpcode opcode = kThumbBkpt; in opImm() local
167 opcode = kThumbPush; in opImm()
170 opcode = kThumbPop; in opImm()
176 return newLIR1(cUnit, opcode, value); in opImm()
181 ArmOpcode opcode = kThumbBkpt; in opReg() local
184 opcode = kThumbBlxR; in opReg()
190 return newLIR1(cUnit, opcode, rDestSrc); in opReg()
200 ArmOpcode opcode = kThumbBkpt; in opRegImm() local
207 opcode = (neg) ? kThumbSubRI8 : kThumbAddRI8; in opRegImm()
209 opcode = kThumbAddRRR; in opRegImm()
216 opcode = (neg) ? kThumbAddRI8 : kThumbSubRI8; in opRegImm()
218 opcode = kThumbSubRRR; in opRegImm()
224 opcode = kThumbCmpRI8; in opRegImm()
226 opcode = kThumbCmpRR; in opRegImm()
229 opcode = kThumbCmpHL; in opRegImm()
238 res = newLIR2(cUnit, opcode, rDestSrc1, absValue); in opRegImm()
243 newLIR2(cUnit, opcode, rDestSrc1, rScratch); in opRegImm()
245 newLIR3(cUnit, opcode, rDestSrc1, rDestSrc1, rScratch); in opRegImm()
253 ArmOpcode opcode = kThumbBkpt; in opRegRegReg() local
256 opcode = kThumbAddRRR; in opRegRegReg()
259 opcode = kThumbSubRRR; in opRegRegReg()
275 return newLIR3(cUnit, opcode, rDest, rSrc1, rSrc2); in opRegRegReg()
284 ArmOpcode opcode = kThumbBkpt; in opRegRegImm() local
293 opcode = kThumbAddSpRel; in opRegRegImm()
298 opcode = kThumbAddPcRel; in opRegRegImm()
301 opcode = (neg) ? kThumbSubRRI3 : kThumbAddRRI3; in opRegRegImm()
304 opcode = (neg) ? kThumbSubRRI3 : kThumbAddRRI3; in opRegRegImm()
305 res = newLIR3(cUnit, opcode, rDest, rSrc1, 7); in opRegRegImm()
306 opcode = (neg) ? kThumbSubRI8 : kThumbAddRI8; in opRegRegImm()
307 newLIR2(cUnit, opcode, rDest, absValue - 7); in opRegRegImm()
310 opcode = kThumbAddRRR; in opRegRegImm()
317 opcode = (neg) ? kThumbAddRRI3 : kThumbSubRRI3; in opRegRegImm()
320 opcode = (neg) ? kThumbAddRRI3 : kThumbSubRRI3; in opRegRegImm()
321 res = newLIR3(cUnit, opcode, rDest, rSrc1, 7); in opRegRegImm()
322 opcode = (neg) ? kThumbAddRI8 : kThumbSubRI8; in opRegRegImm()
323 newLIR2(cUnit, opcode, rDest, absValue - 7); in opRegRegImm()
326 opcode = kThumbSubRRR; in opRegRegImm()
330 opcode = kThumbLslRRI5; in opRegRegImm()
334 opcode = kThumbLsrRRI5; in opRegRegImm()
338 opcode = kThumbAsrRRI5; in opRegRegImm()
359 res = newLIR3(cUnit, opcode, rDest, rSrc1, absValue); in opRegRegImm()
363 newLIR3(cUnit, opcode, rDest, rSrc1, rDest); in opRegRegImm()
367 newLIR3(cUnit, opcode, rDest, rSrc1, rScratch); in opRegRegImm()
377 ArmOpcode opcode = kThumbBkpt; in opRegReg() local
380 opcode = kThumbAdcRR; in opRegReg()
383 opcode = kThumbAndRR; in opRegReg()
386 opcode = kThumbBicRR; in opRegReg()
389 opcode = kThumbCmnRR; in opRegReg()
392 opcode = kThumbCmpRR; in opRegReg()
395 opcode = kThumbEorRR; in opRegReg()
399 opcode = kThumbMovRR; in opRegReg()
401 opcode = kThumbMovRR_H2H; in opRegReg()
403 opcode = kThumbMovRR_H2L; in opRegReg()
405 opcode = kThumbMovRR_L2H; in opRegReg()
408 opcode = kThumbMul; in opRegReg()
411 opcode = kThumbMvn; in opRegReg()
414 opcode = kThumbNeg; in opRegReg()
417 opcode = kThumbOrr; in opRegReg()
420 opcode = kThumbSbc; in opRegReg()
423 opcode = kThumbTst; in opRegReg()
426 opcode = kThumbLslRR; in opRegReg()
429 opcode = kThumbLsrRR; in opRegReg()
432 opcode = kThumbAsrRR; in opRegReg()
435 opcode = kThumbRorRR; in opRegReg()
456 return newLIR2(cUnit, opcode, rDestSrc1, rSrc2); in opRegReg()
474 ArmOpcode opcode = kThumbBkpt; in loadBaseIndexed() local
483 opcode = kThumbLdrRRR; in loadBaseIndexed()
486 opcode = kThumbLdrhRRR; in loadBaseIndexed()
489 opcode = kThumbLdrshRRR; in loadBaseIndexed()
492 opcode = kThumbLdrbRRR; in loadBaseIndexed()
495 opcode = kThumbLdrsbRRR; in loadBaseIndexed()
501 res = newLIR3(cUnit, opcode, rDest, rBase, rNewIndex); in loadBaseIndexed()
517 ArmOpcode opcode = kThumbBkpt; in storeBaseIndexed() local
525 opcode = kThumbStrRRR; in storeBaseIndexed()
529 opcode = kThumbStrhRRR; in storeBaseIndexed()
533 opcode = kThumbStrbRRR; in storeBaseIndexed()
539 res = newLIR3(cUnit, opcode, rSrc, rBase, rNewIndex); in storeBaseIndexed()
590 ArmOpcode opcode = kThumbBkpt; in loadBaseDispBody() local
603 opcode = kThumbLdrRRI5; in loadBaseDispBody()
605 opcode = kThumbLdrRRR; in loadBaseDispBody()
613 opcode = kThumbLdrPcRel; in loadBaseDispBody()
618 opcode = kThumbLdrSpRel; in loadBaseDispBody()
623 opcode = kThumbLdrRRI5; in loadBaseDispBody()
625 opcode = kThumbLdrRRR; in loadBaseDispBody()
633 opcode = kThumbLdrhRRI5; in loadBaseDispBody()
635 opcode = kThumbLdrhRRR; in loadBaseDispBody()
639 opcode = kThumbLdrshRRR; in loadBaseDispBody()
644 opcode = kThumbLdrbRRI5; in loadBaseDispBody()
646 opcode = kThumbLdrbRRR; in loadBaseDispBody()
650 opcode = kThumbLdrsbRRR; in loadBaseDispBody()
657 load = res = newLIR3(cUnit, opcode, rDest, rBase, encodedDisp); in loadBaseDispBody()
659 load2 = newLIR3(cUnit, opcode, rDestHi, rBase, encodedDisp+1); in loadBaseDispBody()
672 load = newLIR3(cUnit, opcode, rDest, rBase, rTmp); in loadBaseDispBody()
720 ArmOpcode opcode = kThumbBkpt; in storeBaseDispBody() local
734 opcode = kThumbStrRRI5; in storeBaseDispBody()
736 opcode = kThumbStrRRR; in storeBaseDispBody()
744 opcode = kThumbStrRRI5; in storeBaseDispBody()
746 opcode = kThumbStrRRR; in storeBaseDispBody()
755 opcode = kThumbStrhRRI5; in storeBaseDispBody()
757 opcode = kThumbStrhRRR; in storeBaseDispBody()
764 opcode = kThumbStrbRRI5; in storeBaseDispBody()
766 opcode = kThumbStrbRRR; in storeBaseDispBody()
774 store = res = newLIR3(cUnit, opcode, rSrc, rBase, encodedDisp); in storeBaseDispBody()
776 store2 = newLIR3(cUnit, opcode, rSrcHi, rBase, encodedDisp + 1); in storeBaseDispBody()
786 store = newLIR3(cUnit, opcode, rSrc, rBase, rScratch); in storeBaseDispBody()
842 ArmOpcode opcode; in genRegCopyNoInsert() local
845 opcode = kThumbMovRR; in genRegCopyNoInsert()
847 opcode = kThumbMovRR_H2H; in genRegCopyNoInsert()
849 opcode = kThumbMovRR_H2L; in genRegCopyNoInsert()
851 opcode = kThumbMovRR_L2H; in genRegCopyNoInsert()
855 res->opcode = opcode; in genRegCopyNoInsert()
907 pushFP->opcode = kThumbPush; in genSelfVerificationPreBranch()
913 pushLR->opcode = kThumbPush; in genSelfVerificationPreBranch()
929 popForLR->opcode = kThumbPop; in genSelfVerificationPostBranch()
939 popFP->opcode = kThumbPop; in genSelfVerificationPostBranch()