Searched refs:CopyMI (Results 1 – 7 of 7) sorted by relevance
/external/llvm/lib/CodeGen/ |
D | MachineCopyPropagation.cpp | 85 static bool NoInterveningSideEffect(const MachineInstr *CopyMI, in NoInterveningSideEffect() argument 87 const MachineBasicBlock *MBB = CopyMI->getParent(); in NoInterveningSideEffect() 90 MachineBasicBlock::const_iterator I = CopyMI; in NoInterveningSideEffect() 113 static bool isNopCopy(MachineInstr *CopyMI, unsigned Def, unsigned Src, in isNopCopy() argument 115 unsigned SrcSrc = CopyMI->getOperand(1).getReg(); in isNopCopy() 119 unsigned SrcDef = CopyMI->getOperand(0).getReg(); in isNopCopy() 153 MachineInstr *CopyMI = CI->second; in CopyPropagateBlock() local 155 (!MRI->isReserved(Src) || NoInterveningSideEffect(CopyMI, MI)) && in CopyPropagateBlock() 156 isNopCopy(CopyMI, Def, Src, TRI)) { in CopyPropagateBlock() 175 for (MachineBasicBlock::iterator I = CopyMI, E = MI; I != E; ++I) in CopyPropagateBlock()
|
D | ExpandPostRAPseudos.cpp | 69 MachineBasicBlock::iterator CopyMI = MI; in TransferImplicitDefs() local 70 --CopyMI; in TransferImplicitDefs() 76 CopyMI->addOperand(MachineOperand::CreateReg(MO.getReg(), true, true)); in TransferImplicitDefs() 126 MachineBasicBlock::iterator CopyMI = MI; in LowerSubregToReg() local 127 --CopyMI; in LowerSubregToReg() 128 CopyMI->addRegisterDefined(DstReg); in LowerSubregToReg() 129 DEBUG(dbgs() << "subreg: " << *CopyMI); in LowerSubregToReg()
|
D | RegisterCoalescer.cpp | 178 bool adjustCopiesBackFrom(const CoalescerPair &CP, MachineInstr *CopyMI); 190 bool removeCopyByCommutingDef(const CoalescerPair &CP,MachineInstr *CopyMI); 194 bool reMaterializeTrivialDef(const CoalescerPair &CP, MachineInstr *CopyMI, 208 bool eliminateUndefCopy(MachineInstr *CopyMI); 462 MachineInstr *CopyMI) { in adjustCopiesBackFrom() argument 470 SlotIndex CopyIdx = LIS->getInstructionIndex(CopyMI).getRegSlot(); in adjustCopiesBackFrom() 521 if (!ValSEndInst || ValSEndInst->getParent() != CopyMI->getParent()) in adjustCopiesBackFrom() 567 CopyMI->substituteRegister(IntA.reg, IntB.reg, 0, *TRI); in adjustCopiesBackFrom() 615 MachineInstr *CopyMI) { in removeCopyByCommutingDef() argument 645 SlotIndex CopyIdx = LIS->getInstructionIndex(CopyMI).getRegSlot(); in removeCopyByCommutingDef() [all …]
|
D | TwoAddressInstructionPass.cpp | 958 MachineInstr *CopyMI = MBBI; in rescheduleMIBelowKill() local 960 MBB->splice(InsertPos, MBB, CopyMI); in rescheduleMIBelowKill() 961 LIS->handleMove(CopyMI); in rescheduleMIBelowKill() 962 InsertPos = CopyMI; in rescheduleMIBelowKill() 1774 MachineInstr *CopyMI = BuildMI(*MI->getParent(), MI, MI->getDebugLoc(), in eliminateRegSequence() local 1782 CopyMI->getOperand(0).setIsUndef(true); in eliminateRegSequence() 1784 MBBI = CopyMI; in eliminateRegSequence() 1790 LV->replaceKillInstruction(SrcReg, MI, CopyMI); in eliminateRegSequence() 1792 DEBUG(dbgs() << "Inserted: " << *CopyMI); in eliminateRegSequence()
|
D | LiveDebugVariables.cpp | 643 MachineInstr *CopyMI = LIS.getInstructionFromIndex(DstVNI->def); in addDefsFromCopies() local 644 assert(CopyMI && CopyMI->isCopy() && "Bad copy value"); in addDefsFromCopies() 645 unsigned LocNo = getLocationNo(CopyMI->getOperand(0)); in addDefsFromCopies()
|
D | InlineSpiller.cpp | 168 bool hoistSpill(LiveInterval &SpillLI, MachineInstr *CopyMI); 687 bool InlineSpiller::hoistSpill(LiveInterval &SpillLI, MachineInstr *CopyMI) { in hoistSpill() argument 688 SlotIndex Idx = LIS.getInstructionIndex(CopyMI); in hoistSpill()
|
D | SplitKit.cpp | 424 MachineInstr *CopyMI = nullptr; in defFromParent() local 439 CopyMI = BuildMI(MBB, I, DebugLoc(), TII.get(TargetOpcode::COPY), LI->reg) in defFromParent() 441 Def = LIS.getSlotIndexes()->insertMachineInstrInMaps(CopyMI, Late) in defFromParent()
|