Home
last modified time | relevance | path

Searched refs:Kills (Results 1 – 23 of 23) sorted by relevance

/external/llvm/lib/CodeGen/
DLiveVariables.cpp61 for (unsigned i = 0, e = Kills.size(); i != e; ++i) in findKill()
62 if (Kills[i]->getParent() == MBB) in findKill()
63 return Kills[i]; in findKill()
74 if (Kills.empty()) in dump()
77 for (unsigned i = 0, e = Kills.size(); i != e; ++i) in dump()
78 dbgs() << "\n #" << i << ": " << *Kills[i]; in dump()
100 for (unsigned i = 0, e = VRInfo.Kills.size(); i != e; ++i) in MarkVirtRegAliveInBlock()
101 if (VRInfo.Kills[i]->getParent() == MBB) { in MarkVirtRegAliveInBlock()
102 VRInfo.Kills.erase(VRInfo.Kills.begin()+i); // Erase entry in MarkVirtRegAliveInBlock()
140 if (!VRInfo.Kills.empty() && VRInfo.Kills.back()->getParent() == MBB) { in HandleVirtRegUse()
[all …]
DLiveDebugVariables.cpp237 SmallVectorImpl<SlotIndex> *Kills,
249 const SmallVectorImpl<SlotIndex> &Kills,
543 const VNInfo *VNI, SmallVectorImpl<SlotIndex> *Kills, in extendDef() argument
556 if (Kills) in extendDef()
557 Kills->push_back(Start); in extendDef()
582 else if (!ToEnd && Kills) in extendDef()
583 Kills->push_back(Stop); in extendDef()
591 const SmallVectorImpl<SlotIndex> &Kills, in addDefsFromCopies() argument
594 if (Kills.empty()) in addDefsFromCopies()
637 for (unsigned i = 0, e = Kills.size(); i != e; ++i) { in addDefsFromCopies()
[all …]
DTwoAddressInstructionPass.cpp868 SmallSet<unsigned, 2> Kills; in rescheduleMIBelowKill() local
882 Kills.insert(MOReg); in rescheduleMIBelowKill()
932 ((isKill && Uses.count(MOReg)) || Kills.count(MOReg))) in rescheduleMIBelowKill()
1046 SmallSet<unsigned, 2> Kills; in rescheduleKillAboveMI() local
1063 Kills.insert(MOReg); in rescheduleKillAboveMI()
1097 if (Kills.count(MOReg)) in rescheduleKillAboveMI()
DMachineTraceMetrics.cpp698 SmallVector<unsigned, 8> Kills; in updatePhysDepsDownwards() local
712 Kills.push_back(Reg); in updatePhysDepsDownwards()
716 Kills.push_back(Reg); in updatePhysDepsDownwards()
731 for (unsigned Kill : Kills) in updatePhysDepsDownwards()
DMachineVerifier.cpp1202 if (std::find(VI.Kills.begin(), VI.Kills.end(), MI) == VI.Kills.end()) in checkLiveness()
DMachineBasicBlock.cpp851 LV->getVarInfo(Reg).Kills.push_back(&*I); in SplitCriticalEdge()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DLiveVariables.cpp59 for (unsigned i = 0, e = Kills.size(); i != e; ++i) in findKill()
60 if (Kills[i]->getParent() == MBB) in findKill()
61 return Kills[i]; in findKill()
71 if (Kills.empty()) in dump()
74 for (unsigned i = 0, e = Kills.size(); i != e; ++i) in dump()
75 dbgs() << "\n #" << i << ": " << *Kills[i]; in dump()
96 for (unsigned i = 0, e = VRInfo.Kills.size(); i != e; ++i) in MarkVirtRegAliveInBlock()
97 if (VRInfo.Kills[i]->getParent() == MBB) { in MarkVirtRegAliveInBlock()
98 VRInfo.Kills.erase(VRInfo.Kills.begin()+i); // Erase entry in MarkVirtRegAliveInBlock()
136 if (!VRInfo.Kills.empty() && VRInfo.Kills.back()->getParent() == MBB) { in HandleVirtRegUse()
[all …]
DLiveDebugVariables.cpp227 SmallVectorImpl<SlotIndex> *Kills,
239 const SmallVectorImpl<SlotIndex> &Kills,
487 SmallVectorImpl<SlotIndex> *Kills, in extendDef() argument
503 if (Kills) in extendDef()
504 Kills->push_back(Start); in extendDef()
525 else if (!ToEnd && Kills) in extendDef()
526 Kills->push_back(Stop); in extendDef()
548 const SmallVectorImpl<SlotIndex> &Kills, in addDefsFromCopies() argument
551 if (Kills.empty()) in addDefsFromCopies()
596 for (unsigned i = 0, e = Kills.size(); i != e; ++i) { in addDefsFromCopies()
[all …]
DTwoAddressInstructionPass.cpp116 bool canUpdateDeletedKills(SmallVector<unsigned, 4> &Kills,
772 SmallVector<unsigned, 4> &Kills) { in isSafeToDelete() argument
786 Kills.push_back(MO.getReg()); in isSafeToDelete()
796 canUpdateDeletedKills(SmallVector<unsigned, 4> &Kills, in canUpdateDeletedKills() argument
799 while (!Kills.empty()) { in canUpdateDeletedKills()
800 unsigned Kill = Kills.back(); in canUpdateDeletedKills()
801 Kills.pop_back(); in canUpdateDeletedKills()
824 SmallVector<unsigned, 4> Kills; in DeleteUnusedInstr() local
825 if (!isSafeToDelete(mi, TII, Kills)) in DeleteUnusedInstr()
832 if (!canUpdateDeletedKills(Kills, NewKills, &*mbbi, Dist)) in DeleteUnusedInstr()
DLiveIntervalAnalysis.cpp333 if (vi.Kills.size() == 1 && vi.Kills[0]->getParent() == mbb) { in handleVirtualRegisterDef()
336 if (vi.Kills[0] != mi) in handleVirtualRegisterDef()
337 killIdx = getInstructionIndex(vi.Kills[0]).getDefIndex(); in handleVirtualRegisterDef()
384 for (unsigned i = 0, e = vi.Kills.size(); i != e; ++i) { in handleVirtualRegisterDef()
385 MachineInstr *Kill = vi.Kills[i]; in handleVirtualRegisterDef()
DMachineVerifier.cpp654 if (std::find(VI.Kills.begin(), in visitMachineOperand()
655 VI.Kills.end(), MI) == VI.Kills.end()) in visitMachineOperand()
DRegisterCoalescer.cpp944 bool Kills = false, Deads = false; in UpdateRegDefsUses() local
949 Kills |= MO.isKill(); in UpdateRegDefsUses()
979 if (DstIsPhys && Kills) in UpdateRegDefsUses()
DVirtRegRewriter.cpp1028 SmallVector<unsigned, 4> Kills; in FindFreeRegister() local
1054 Kills.push_back(Reg); in FindFreeRegister()
1058 for (unsigned i = 0, e = Kills.size(); i != e; ++i) { in FindFreeRegister()
1059 unsigned Kill = Kills[i]; in FindFreeRegister()
DMachineBasicBlock.cpp587 LV->getVarInfo(Reg).Kills.push_back(I); in SplitCriticalEdge()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DLiveVariables.h95 std::vector<MachineInstr*> Kills; member
104 I = std::find(Kills.begin(), Kills.end(), MI); in removeKill()
105 if (I == Kills.end()) in removeKill()
107 Kills.erase(I); in removeKill()
212 getVarInfo(IncomingReg).Kills.push_back(MI);
248 getVarInfo(IncomingReg).Kills.push_back(MI);
/external/llvm/include/llvm/CodeGen/
DLiveVariables.h89 std::vector<MachineInstr*> Kills; member
96 std::find(Kills.begin(), Kills.end(), &MI); in removeKill()
97 if (I == Kills.end()) in removeKill()
99 Kills.erase(I); in removeKill()
205 getVarInfo(IncomingReg).Kills.push_back(&MI);
241 getVarInfo(IncomingReg).Kills.push_back(&MI);
/external/llvm/lib/Target/X86/
DX86FloatingPoint.cpp845 unsigned Kills = 0; in adjustLiveRegs() local
850 Kills |= (1 << RegNo); in adjustLiveRegs()
855 assert((Kills & Defs) == 0 && "Register needs killing and def'ing?"); in adjustLiveRegs()
858 while (Kills && Defs) { in adjustLiveRegs()
859 unsigned KReg = countTrailingZeros(Kills); in adjustLiveRegs()
864 Kills &= ~(1 << KReg); in adjustLiveRegs()
869 if (Kills && I != MBB->begin()) { in adjustLiveRegs()
873 if (!(Kills & (1 << KReg))) in adjustLiveRegs()
877 Kills &= ~(1 << KReg); in adjustLiveRegs()
882 while (Kills) { in adjustLiveRegs()
[all …]
DX86InstrInfo.cpp2730 LV->getVarInfo(leaInReg).Kills.push_back(NewMI); in convertToThreeAddressWithLEA()
2731 LV->getVarInfo(leaOutReg).Kills.push_back(ExtMI); in convertToThreeAddressWithLEA()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86FloatingPoint.cpp881 unsigned Kills = 0; in adjustLiveRegs() local
886 Kills |= (1 << RegNo); in adjustLiveRegs()
891 assert((Kills & Defs) == 0 && "Register needs killing and def'ing?"); in adjustLiveRegs()
894 while (Kills && Defs) { in adjustLiveRegs()
895 unsigned KReg = CountTrailingZeros_32(Kills); in adjustLiveRegs()
900 Kills &= ~(1 << KReg); in adjustLiveRegs()
905 if (Kills && I != MBB->begin()) { in adjustLiveRegs()
909 if (!(Kills & (1 << KReg))) in adjustLiveRegs()
913 Kills &= ~(1 << KReg); in adjustLiveRegs()
918 while (Kills) { in adjustLiveRegs()
[all …]
DX86InstrInfo.cpp1416 LV->getVarInfo(leaInReg).Kills.push_back(NewMI); in convertToThreeAddressWithLEA()
1417 LV->getVarInfo(leaOutReg).Kills.push_back(ExtMI); in convertToThreeAddressWithLEA()
/external/mesa3d/src/gallium/drivers/i915/
DTODO12 - Kills the chip in 3D_PRIMITIVE LINELIST with mesa-demos/fbotexture in
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMBaseInstrInfo.cpp255 VI.Kills.push_back(NewMI); in convertToThreeAddress()
/external/llvm/lib/Target/ARM/
DARMBaseInstrInfo.cpp278 VI.Kills.push_back(NewMI); in convertToThreeAddress()