Home
last modified time | relevance | path

Searched refs:CopyMI (Results 1 – 10 of 10) 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);
624 MachineInstr *CopyMI) { in adjustCopiesBackFrom() argument
632 SlotIndex CopyIdx = LIS->getInstructionIndex(*CopyMI).getRegSlot(); in adjustCopiesBackFrom()
686 if (!ValSEndInst || ValSEndInst->getParent() != CopyMI->getParent()) in adjustCopiesBackFrom()
745 CopyMI->substituteRegister(IntA.reg(), IntB.reg(), 0, *TRI); in adjustCopiesBackFrom()
[all …]
H A DExpandPostRAPseudos.cpp126 MachineBasicBlock::iterator CopyMI = MI; in LowerSubregToReg() local
127 --CopyMI; in LowerSubregToReg()
128 CopyMI->addRegisterDefined(DstReg); in LowerSubregToReg()
129 LLVM_DEBUG(dbgs() << "subreg: " << *CopyMI); in LowerSubregToReg()
H A DTwoAddressInstructionPass.cpp1049 auto CopyMI = MBBI++; in rescheduleMIBelowKill() local
1050 MBB->splice(InsertPos, MBB, CopyMI); in rescheduleMIBelowKill()
1051 if (!CopyMI->isDebugOrPseudoInstr()) in rescheduleMIBelowKill()
1052 LIS->handleMove(*CopyMI); in rescheduleMIBelowKill()
1053 InsertPos = CopyMI; in rescheduleMIBelowKill()
2027 MachineInstr *CopyMI = BuildMI(*MI.getParent(), MI, MI.getDebugLoc(), in eliminateRegSequence() local
2035 CopyMI->getOperand(0).setIsUndef(true); in eliminateRegSequence()
2037 MBBI = CopyMI; in eliminateRegSequence()
2043 LV->replaceKillInstruction(SrcReg, MI, *CopyMI); in eliminateRegSequence()
2045 LLVM_DEBUG(dbgs() << "Inserted: " << *CopyMI); in eliminateRegSequence()
H A DInlineSpiller.cpp208 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 DSplitKit.cpp531 MachineInstr *CopyMI = BuildMI(MBB, InsertBefore, DebugLoc(), Desc) in buildSingleSubRegCopy() local
538 Def = Indexes.insertMachineInstrInMaps(*CopyMI, Late).getRegSlot(); in buildSingleSubRegCopy()
540 CopyMI->bundleWithPred(); in buildSingleSubRegCopy()
553 MachineInstr *CopyMI = in buildCopy() local
555 return Indexes.insertMachineInstrInMaps(*CopyMI, Late).getRegSlot(); in buildCopy()
H A DTargetInstrInfo.cpp859 MachineBasicBlock::iterator CopyMI = MI; in transferImplicitOperands() local
860 --CopyMI; in transferImplicitOperands()
864 CopyMI->addOperand(MO); in transferImplicitOperands()
871 CopyMI->getOperand(CopyMI->getNumOperands() - 1).setIsKill(false); in transferImplicitOperands()
H A DLiveDebugVariables.cpp1099 MachineInstr *CopyMI = LIS.getInstructionFromIndex(DstVNI->def); in addDefsFromCopies() local
1100 assert(CopyMI && CopyMI->isCopy() && "Bad copy value"); in addDefsFromCopies()
1101 unsigned NewLocNo = getLocationNo(CopyMI->getOperand(0)); in addDefsFromCopies()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp250 bool foldCopyToAGPRRegSequence(MachineInstr *CopyMI) const;
1801 bool SIFoldOperandsImpl::foldCopyToAGPRRegSequence(MachineInstr *CopyMI) const { in foldCopyToAGPRRegSequence()
1807 MRI->getRegClass(CopyMI->getOperand(0).getReg()); in foldCopyToAGPRRegSequence()
1811 Register UseReg = CopyMI->getOperand(1).getReg(); in foldCopyToAGPRRegSequence()
1816 const DebugLoc &DL = CopyMI->getDebugLoc(); in foldCopyToAGPRRegSequence()
1817 MachineBasicBlock &MBB = *CopyMI->getParent(); in foldCopyToAGPRRegSequence()
1819 MachineInstrBuilder B(*MBB.getParent(), CopyMI); in foldCopyToAGPRRegSequence()
1823 MRI->getRegClass(CopyMI->getOperand(1).getReg()); in foldCopyToAGPRRegSequence()
1882 CopyMI->setDesc(TII->get(AMDGPU::REG_SEQUENCE)); in foldCopyToAGPRRegSequence()
1883 for (unsigned I = CopyMI->getNumOperands() - 1; I > 0; --I) in foldCopyToAGPRRegSequence()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFMIPeephole.cpp60 bool isCopyFrom32Def(MachineInstr *CopyMI);
95 bool BPFMIPeephole::isCopyFrom32Def(MachineInstr *CopyMI) in isCopyFrom32Def() argument
97 MachineOperand &opnd = CopyMI->getOperand(1); in isCopyFrom32Def()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DInstrEmitter.cpp564 MachineInstrBuilder CopyMI = in EmitSubregNode() local
568 CopyMI.addReg(Reg, 0, SubIdx); in EmitSubregNode()
570 CopyMI.addReg(TRI->getSubReg(Reg, SubIdx)); in EmitSubregNode()