Lines Matching refs:AVR
39 : AVRGenInstrInfo(AVR::ADJCALLSTACKDOWN, AVR::ADJCALLSTACKUP), RI() {} in AVRInstrInfo()
50 if (AVR::DREGSRegClass.contains(DestReg, SrcReg)) { in copyPhysReg()
51 if (STI.hasMOVW() && AVR::DREGSMOVWRegClass.contains(DestReg, SrcReg)) { in copyPhysReg()
52 BuildMI(MBB, MI, DL, get(AVR::MOVWRdRr), DestReg) in copyPhysReg()
61 BuildMI(MBB, MI, DL, get(AVR::MOVRdRr), DestLo) in copyPhysReg()
63 BuildMI(MBB, MI, DL, get(AVR::MOVRdRr), DestHi) in copyPhysReg()
67 if (AVR::GPR8RegClass.contains(DestReg, SrcReg)) { in copyPhysReg()
68 Opc = AVR::MOVRdRr; in copyPhysReg()
69 } else if (SrcReg == AVR::SP && AVR::DREGSRegClass.contains(DestReg)) { in copyPhysReg()
70 Opc = AVR::SPREAD; in copyPhysReg()
71 } else if (DestReg == AVR::SP && AVR::DREGSRegClass.contains(SrcReg)) { in copyPhysReg()
72 Opc = AVR::SPWRITE; in copyPhysReg()
85 case AVR::LDDRdPtrQ: in isLoadFromStackSlot()
86 case AVR::LDDWRdYQ: { //:FIXME: remove this once PR13375 gets fixed in isLoadFromStackSlot()
104 case AVR::STDPtrQRr: in isStoreToStackSlot()
105 case AVR::STDWPtrQRr: { in isStoreToStackSlot()
145 Opcode = AVR::STDPtrQRr; in storeRegToStackSlot()
147 Opcode = AVR::STDWPtrQRr; in storeRegToStackSlot()
179 Opcode = AVR::LDDRdPtrQ; in loadRegFromStackSlot()
183 Opcode = AVR::LDDWRdYQ; in loadRegFromStackSlot()
199 return get(AVR::BREQk); in getBrCond()
201 return get(AVR::BRNEk); in getBrCond()
203 return get(AVR::BRGEk); in getBrCond()
205 return get(AVR::BRLTk); in getBrCond()
207 return get(AVR::BRSHk); in getBrCond()
209 return get(AVR::BRLOk); in getBrCond()
211 return get(AVR::BRMIk); in getBrCond()
213 return get(AVR::BRPLk); in getBrCond()
221 case AVR::BREQk: in getCondFromBranchOpc()
223 case AVR::BRNEk: in getCondFromBranchOpc()
225 case AVR::BRSHk: in getCondFromBranchOpc()
227 case AVR::BRLOk: in getCondFromBranchOpc()
229 case AVR::BRMIk: in getCondFromBranchOpc()
231 case AVR::BRPLk: in getCondFromBranchOpc()
233 case AVR::BRGEk: in getCondFromBranchOpc()
235 case AVR::BRLTk: in getCondFromBranchOpc()
293 if (I->getOpcode() == AVR::RJMPk) { in analyzeBranch()
357 BuildMI(MBB, UnCondBrIter, MBB.findDebugLoc(I), get(AVR::RJMPk)) in analyzeBranch()
413 auto &MI = *BuildMI(&MBB, DL, get(AVR::RJMPk)).addMBB(TBB); in insertBranch()
429 auto &MI = *BuildMI(&MBB, DL, get(AVR::RJMPk)).addMBB(FBB); in insertBranch()
451 if (I->getOpcode() != AVR::RJMPk && in removeBranch()
508 case AVR::JMPk: in getBranchDestBlock()
509 case AVR::CALLk: in getBranchDestBlock()
510 case AVR::RCALLk: in getBranchDestBlock()
511 case AVR::RJMPk: in getBranchDestBlock()
512 case AVR::BREQk: in getBranchDestBlock()
513 case AVR::BRNEk: in getBranchDestBlock()
514 case AVR::BRSHk: in getBranchDestBlock()
515 case AVR::BRLOk: in getBranchDestBlock()
516 case AVR::BRMIk: in getBranchDestBlock()
517 case AVR::BRPLk: in getBranchDestBlock()
518 case AVR::BRGEk: in getBranchDestBlock()
519 case AVR::BRLTk: in getBranchDestBlock()
521 case AVR::BRBSsk: in getBranchDestBlock()
522 case AVR::BRBCsk: in getBranchDestBlock()
524 case AVR::SBRCRrB: in getBranchDestBlock()
525 case AVR::SBRSRrB: in getBranchDestBlock()
526 case AVR::SBICAb: in getBranchDestBlock()
527 case AVR::SBISAb: in getBranchDestBlock()
538 case AVR::JMPk: in isBranchOffsetInRange()
539 case AVR::CALLk: in isBranchOffsetInRange()
541 case AVR::RCALLk: in isBranchOffsetInRange()
542 case AVR::RJMPk: in isBranchOffsetInRange()
544 case AVR::BRBSsk: in isBranchOffsetInRange()
545 case AVR::BRBCsk: in isBranchOffsetInRange()
546 case AVR::BREQk: in isBranchOffsetInRange()
547 case AVR::BRNEk: in isBranchOffsetInRange()
548 case AVR::BRSHk: in isBranchOffsetInRange()
549 case AVR::BRLOk: in isBranchOffsetInRange()
550 case AVR::BRMIk: in isBranchOffsetInRange()
551 case AVR::BRPLk: in isBranchOffsetInRange()
552 case AVR::BRGEk: in isBranchOffsetInRange()
553 case AVR::BRLTk: in isBranchOffsetInRange()
568 auto &MI = *BuildMI(&MBB, DL, get(AVR::JMPk)).addMBB(&NewDestBB); in insertIndirectBranch()