Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/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.cpp286 SmallVectorImpl<SlotIndex> *Kills,
299 const SmallVectorImpl<SlotIndex> &Kills,
606 const VNInfo *VNI, SmallVectorImpl<SlotIndex> *Kills, in extendDef() argument
618 if (Kills) in extendDef()
619 Kills->push_back(Start); in extendDef()
644 else if (!ToEnd && Kills) in extendDef()
645 Kills->push_back(Stop); in extendDef()
653 const SmallVectorImpl<SlotIndex> &Kills, in addDefsFromCopies() argument
656 if (Kills.empty()) in addDefsFromCopies()
700 for (unsigned i = 0, e = Kills.size(); i != e; ++i) { in addDefsFromCopies()
[all …]
DTwoAddressInstructionPass.cpp910 SmallVector<unsigned, 2> Kills; in rescheduleMIBelowKill() local
924 Kills.push_back(MOReg); in rescheduleMIBelowKill()
974 regOverlapsSet(Kills, MOReg, TRI))) in rescheduleMIBelowKill()
1088 SmallSet<unsigned, 2> Kills; in rescheduleKillAboveMI() local
1105 Kills.insert(MOReg); in rescheduleKillAboveMI()
1139 if (Kills.count(MOReg)) in rescheduleKillAboveMI()
DMachineTraceMetrics.cpp705 SmallVector<unsigned, 8> Kills; in updatePhysDepsDownwards() local
719 Kills.push_back(Reg); in updatePhysDepsDownwards()
723 Kills.push_back(Reg); in updatePhysDepsDownwards()
738 for (unsigned Kill : Kills) in updatePhysDepsDownwards()
/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()
/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()
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DLiveVariables.h89 std::vector<MachineInstr*> Kills; member
95 std::vector<MachineInstr *>::iterator I = find(Kills, &MI); in removeKill()
96 if (I == Kills.end()) in removeKill()
98 Kills.erase(I); in removeKill()
204 getVarInfo(IncomingReg).Kills.push_back(&MI);
240 getVarInfo(IncomingReg).Kills.push_back(&MI);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/
DCoroFrame.cpp83 BitVector Kills; member
108 bool const Result = Block[UseIndex].Kills[DefIndex]; in hasPathCrossingSuspendPoint()
152 dump(" Kills", Block[I].Kills); in dump()
167 B.Kills.resize(N); in SuspendCrossingInfo()
185 B.Kills |= B.Consumes; in SuspendCrossingInfo()
212 auto SavedKills = S.Kills; in SuspendCrossingInfo()
216 S.Kills |= B.Kills; in SuspendCrossingInfo()
221 S.Kills |= B.Consumes; in SuspendCrossingInfo()
226 S.Kills |= S.Consumes; in SuspendCrossingInfo()
232 S.Kills.reset(); in SuspendCrossingInfo()
[all …]
/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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86FloatingPoint.cpp882 unsigned Kills = 0; in adjustLiveRegs() local
887 Kills |= (1 << RegNo); in adjustLiveRegs()
892 assert((Kills & Defs) == 0 && "Register needs killing and def'ing?"); in adjustLiveRegs()
895 while (Kills && Defs) { in adjustLiveRegs()
896 unsigned KReg = countTrailingZeros(Kills); in adjustLiveRegs()
902 Kills &= ~(1 << KReg); in adjustLiveRegs()
907 if (Kills && I != MBB->begin()) { in adjustLiveRegs()
911 if (!(Kills & (1 << KReg))) in adjustLiveRegs()
915 Kills &= ~(1 << KReg); in adjustLiveRegs()
920 while (Kills) { in adjustLiveRegs()
[all …]
/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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-mca/X86/BtVer2/
Dclear-super-register-1.s7 ## Kills the previous definition of RAX.
/external/swiftshader/third_party/subzero/src/
DIceRegAlloc.h125 CfgVector<InstNumberT> Kills; variable
DIceRegAlloc.cpp141 Kills.clear(); in initForGlobal()
151 Kills.push_back(I.getNumber()); in initForGlobal()
298 Kills.clear(); in initForInfOnly()
851 LiveRange KillsRange(Kills); in scan()
DIceOperand.h635 explicit LiveRange(const CfgVector<InstNumberT> &Kills) { in LiveRange() argument
636 Range.reserve(Kills.size()); in LiveRange()
637 for (InstNumberT I : Kills) in LiveRange()

12