Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DRegisterCoalescer.cpp239 bool joinCopy(MachineInstr *CopyMI, bool &Again,
276 bool adjustCopiesBackFrom(const CoalescerPair &CP, MachineInstr *CopyMI);
292 MachineInstr *CopyMI);
295 bool removePartialRedundancy(const CoalescerPair &CP, MachineInstr &CopyMI);
299 bool reMaterializeTrivialDef(const CoalescerPair &CP, MachineInstr *CopyMI,
325 MachineInstr *eliminateUndefCopy(MachineInstr *CopyMI);
616 MachineInstr *CopyMI) { in adjustCopiesBackFrom() argument
624 SlotIndex CopyIdx = LIS->getInstructionIndex(*CopyMI).getRegSlot(); in adjustCopiesBackFrom()
675 if (!ValSEndInst || ValSEndInst->getParent() != CopyMI->getParent()) in adjustCopiesBackFrom()
733 CopyMI->substituteRegister(IntA.reg(), IntB.reg(), 0, *TRI); in adjustCopiesBackFrom()
[all …]
H A DExpandPostRAPseudos.cpp107 MachineBasicBlock::iterator CopyMI = MI; in LowerSubregToReg() local
108 --CopyMI; in LowerSubregToReg()
109 CopyMI->addRegisterDefined(DstReg); in LowerSubregToReg()
110 LLVM_DEBUG(dbgs() << "subreg: " << *CopyMI); in LowerSubregToReg()
H A DTwoAddressInstructionPass.cpp1047 auto CopyMI = MBBI++; in rescheduleMIBelowKill() local
1048 MBB->splice(InsertPos, MBB, CopyMI); in rescheduleMIBelowKill()
1049 if (!CopyMI->isDebugOrPseudoInstr()) in rescheduleMIBelowKill()
1050 LIS->handleMove(*CopyMI); in rescheduleMIBelowKill()
1051 InsertPos = CopyMI; in rescheduleMIBelowKill()
2026 MachineInstr *CopyMI = BuildMI(*MI.getParent(), MI, MI.getDebugLoc(), in eliminateRegSequence() local
2034 CopyMI->getOperand(0).setIsUndef(true); in eliminateRegSequence()
2036 MBBI = CopyMI; in eliminateRegSequence()
2042 LV->replaceKillInstruction(SrcReg, MI, *CopyMI); in eliminateRegSequence()
2044 LLVM_DEBUG(dbgs() << "Inserted: " << *CopyMI); in eliminateRegSequence()
H A DInlineSpiller.cpp211 bool hoistSpillInsideBB(LiveInterval &SpillLI, MachineInstr &CopyMI);
434 MachineInstr &CopyMI) { in hoistSpillInsideBB() argument
435 SlotIndex Idx = LIS.getInstructionIndex(CopyMI); in hoistSpillInsideBB()
441 Register SrcReg = CopyMI.getOperand(1).getReg(); in hoistSpillInsideBB()
446 if (DefMBB != CopyMI.getParent() || !SrcQ.isKill()) in hoistSpillInsideBB()
H A DTargetInstrInfo.cpp784 MachineBasicBlock::iterator CopyMI = MI; in transferImplicitOperands() local
785 --CopyMI; in transferImplicitOperands()
789 CopyMI->addOperand(MO); in transferImplicitOperands()
796 CopyMI->getOperand(CopyMI->getNumOperands() - 1).setIsKill(false); in transferImplicitOperands()
H A DSplitKit.cpp532 MachineInstr *CopyMI = BuildMI(MBB, InsertBefore, DebugLoc(), Desc) in buildSingleSubRegCopy() local
539 Def = Indexes.insertMachineInstrInMaps(*CopyMI, Late).getRegSlot(); in buildSingleSubRegCopy()
541 CopyMI->bundleWithPred(); in buildSingleSubRegCopy()
554 MachineInstr *CopyMI = in buildCopy() local
556 return Indexes.insertMachineInstrInMaps(*CopyMI, Late).getRegSlot(); in buildCopy()
H A DLiveDebugVariables.cpp1087 MachineInstr *CopyMI = LIS.getInstructionFromIndex(DstVNI->def); in addDefsFromCopies() local
1088 assert(CopyMI && CopyMI->isCopy() && "Bad copy value"); in addDefsFromCopies()
1089 unsigned NewLocNo = getLocationNo(CopyMI->getOperand(0)); in addDefsFromCopies()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFMIPeephole.cpp59 bool isCopyFrom32Def(MachineInstr *CopyMI);
94 bool BPFMIPeephole::isCopyFrom32Def(MachineInstr *CopyMI) in isCopyFrom32Def()
96 MachineOperand &opnd = CopyMI->getOperand(1); in isCopyFrom32Def()
91 isCopyFrom32Def(MachineInstr * CopyMI) isCopyFrom32Def() argument
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DInstrEmitter.cpp568 MachineInstrBuilder CopyMI = in EmitSubregNode() local
572 CopyMI.addReg(Reg, 0, SubIdx); in EmitSubregNode()
574 CopyMI.addReg(TRI->getSubReg(Reg, SubIdx)); in EmitSubregNode()