Searched refs:CopyMI (Results 1 - 7 of 7) sorted by relevance

/external/llvm/lib/CodeGen/
H A DMachineCopyPropagation.cpp86 static bool NoInterveningSideEffect(const MachineInstr *CopyMI, argument
88 const MachineBasicBlock *MBB = CopyMI->getParent();
91 MachineBasicBlock::const_iterator I = CopyMI;
114 static bool isNopCopy(MachineInstr *CopyMI, unsigned Def, unsigned Src, argument
116 unsigned SrcSrc = CopyMI->getOperand(1).getReg();
120 unsigned SrcDef = CopyMI->getOperand(0).getReg();
161 MachineInstr *CopyMI = CI->second; local
163 (!MRI->isReserved(Src) || NoInterveningSideEffect(CopyMI, MI)) &&
164 isNopCopy(CopyMI, Def, Src, TRI)) {
181 // Clear any kills of Def between CopyMI an
[all...]
H A DExpandPostRAPseudos.cpp68 MachineBasicBlock::iterator CopyMI = MI; local
69 --CopyMI;
75 CopyMI->addOperand(MachineOperand::CreateReg(MO.getReg(), true, true));
125 MachineBasicBlock::iterator CopyMI = MI; local
126 --CopyMI;
127 CopyMI->addRegisterDefined(DstReg);
128 DEBUG(dbgs() << "subreg: " << *CopyMI);
H A DRegisterCoalescer.cpp132 /// which are the src/dst of the copy instruction CopyMI. This returns
154 bool adjustCopiesBackFrom(const CoalescerPair &CP, MachineInstr *CopyMI);
165 bool removeCopyByCommutingDef(const CoalescerPair &CP,MachineInstr *CopyMI);
169 bool reMaterializeTrivialDef(CoalescerPair &CP, MachineInstr *CopyMI,
183 bool eliminateUndefCopy(MachineInstr *CopyMI, const CoalescerPair &CP);
426 MachineInstr *CopyMI) {
434 SlotIndex CopyIdx = LIS->getInstructionIndex(CopyMI).getRegSlot();
468 // CopyMI.
471 if (!ValSEndInst || ValSEndInst->getParent() != CopyMI->getParent())
474 // Okay, we now know that ValS ends in the same block that the CopyMI
425 adjustCopiesBackFrom(const CoalescerPair &CP, MachineInstr *CopyMI) argument
568 removeCopyByCommutingDef(const CoalescerPair &CP, MachineInstr *CopyMI) argument
730 reMaterializeTrivialDef(CoalescerPair &CP, MachineInstr *CopyMI, bool &IsDefCopy) argument
914 eliminateUndefCopy(MachineInstr *CopyMI, const CoalescerPair &CP) argument
1029 joinCopy(MachineInstr *CopyMI, bool &Again) argument
1215 MachineInstr *CopyMI = MRI->getVRegDef(RHS.reg); local
[all...]
H A DTwoAddressInstructionPass.cpp887 MachineInstr *CopyMI = MBBI; local
889 MBB->splice(InsertPos, MBB, CopyMI);
890 LIS->handleMove(CopyMI);
891 InsertPos = CopyMI;
1667 MachineInstr *CopyMI = BuildMI(*MI->getParent(), MI, MI->getDebugLoc(), local
1675 CopyMI->getOperand(0).setIsUndef(true);
1677 MBBI = CopyMI;
1683 LV->replaceKillInstruction(SrcReg, MI, CopyMI);
1685 DEBUG(dbgs() << "Inserted: " << *CopyMI);
H A DLiveDebugVariables.cpp623 MachineInstr *CopyMI = LIS.getInstructionFromIndex(DstVNI->def); local
624 assert(CopyMI && CopyMI->isCopy() && "Bad copy value");
625 unsigned LocNo = getLocationNo(CopyMI->getOperand(0));
H A DInlineSpiller.cpp174 bool hoistSpill(LiveInterval &SpillLI, MachineInstr *CopyMI);
685 bool InlineSpiller::hoistSpill(LiveInterval &SpillLI, MachineInstr *CopyMI) { argument
686 SlotIndex Idx = LIS.getInstructionIndex(CopyMI);
H A DSplitKit.cpp435 MachineInstr *CopyMI = nullptr; local
450 CopyMI = BuildMI(MBB, I, DebugLoc(), TII.get(TargetOpcode::COPY), LI->reg)
452 Def = LIS.getSlotIndexes()->insertMachineInstrInMaps(CopyMI, Late)

Completed in 1056 milliseconds