Searched refs:Kills (Results 1 - 22 of 22) sorted by relevance

/external/llvm/include/llvm/CodeGen/
H A DLiveVariables.h65 /// being captured by the Kills set. In these blocks, the value is live into
68 /// value whose Kills set contains two instructions from the same basic block.
76 /// not live across any blocks) and Kills is empty (phi nodes are not
86 /// Kills - List of MachineInstruction's which are the last use of this
89 std::vector<MachineInstr*> Kills; member in struct:llvm::LiveVariables::VarInfo
96 std::find(Kills.begin(), Kills.end(), &MI);
97 if (I == Kills.end())
99 Kills.erase(I);
205 getVarInfo(IncomingReg).Kills
[all...]
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
H A DLiveVariables.h67 /// being captured by the Kills set. In these blocks, the value is live into
70 /// value whose Kills set contains two instructions from the same basic block.
78 /// not live across any blocks) and Kills is empty (phi nodes are not
92 /// Kills - List of MachineInstruction's which are the last use of this
95 std::vector<MachineInstr*> Kills; member in struct:llvm::LiveVariables::VarInfo
104 I = std::find(Kills.begin(), Kills.end(), MI);
105 if (I == Kills.end())
107 Kills.erase(I);
212 getVarInfo(IncomingReg).Kills
[all...]
/external/llvm/lib/CodeGen/
H A DLiveVariables.cpp61 for (unsigned i = 0, e = Kills.size(); i != e; ++i)
62 if (Kills[i]->getParent() == MBB)
63 return Kills[i];
74 if (Kills.empty())
77 for (unsigned i = 0, e = Kills.size(); i != e; ++i)
78 dbgs() << "\n #" << i << ": " << *Kills[i]; local
100 for (unsigned i = 0, e = VRInfo.Kills.size(); i != e; ++i)
101 if (VRInfo.Kills[i]->getParent() == MBB) {
102 VRInfo.Kills.erase(VRInfo.Kills
743 SmallPtrSet<const MachineBasicBlock *, 8> Kills; local
770 SmallSet<unsigned, 16> Defs, Kills; local
[all...]
H A DLiveDebugVariables.cpp227 /// End points where VNI is no longer live are added to Kills.
232 /// @param Kills Append end points of VNI's live range to Kills.
237 SmallVectorImpl<SlotIndex> *Kills,
246 /// @param Kills Points where the range of LocNo could be extended.
249 const SmallVectorImpl<SlotIndex> &Kills,
543 const VNInfo *VNI, SmallVectorImpl<SlotIndex> *Kills,
556 if (Kills)
557 Kills->push_back(Start);
582 else if (!ToEnd && Kills)
542 extendDef(SlotIndex Idx, unsigned LocNo, LiveRange *LR, const VNInfo *VNI, SmallVectorImpl<SlotIndex> *Kills, LiveIntervals &LIS, MachineDominatorTree &MDT, UserValueScopes &UVS) argument
590 addDefsFromCopies(LiveInterval *LI, unsigned LocNo, const SmallVectorImpl<SlotIndex> &Kills, SmallVectorImpl<std::pair<SlotIndex, unsigned> > &NewDefs, MachineRegisterInfo &MRI, LiveIntervals &LIS) argument
692 SmallVector<SlotIndex, 16> Kills; local
[all...]
H A DTwoAddressInstructionPass.cpp868 SmallSet<unsigned, 2> Kills; local
882 Kills.insert(MOReg);
932 ((isKill && Uses.count(MOReg)) || Kills.count(MOReg)))
1046 SmallSet<unsigned, 2> Kills; local
1063 Kills.insert(MOReg);
1097 if (Kills.count(MOReg))
H A DMachineTraceMetrics.cpp698 SmallVector<unsigned, 8> Kills;
712 Kills.push_back(Reg);
716 Kills.push_back(Reg);
731 for (unsigned Kill : Kills)
H A DMachineVerifier.cpp1202 if (std::find(VI.Kills.begin(), VI.Kills.end(), MI) == VI.Kills.end())
H A DMachineBasicBlock.cpp851 LV->getVarInfo(Reg).Kills.push_back(&*I);
/external/swiftshader/third_party/LLVM/lib/CodeGen/
H A DLiveVariables.cpp59 for (unsigned i = 0, e = Kills.size(); i != e; ++i)
60 if (Kills[i]->getParent() == MBB)
61 return Kills[i];
71 if (Kills.empty())
74 for (unsigned i = 0, e = Kills.size(); i != e; ++i)
75 dbgs() << "\n #" << i << ": " << *Kills[i]; local
96 for (unsigned i = 0, e = VRInfo.Kills.size(); i != e; ++i)
97 if (VRInfo.Kills[i]->getParent() == MBB) {
98 VRInfo.Kills.erase(VRInfo.Kills
[all...]
H A DLiveDebugVariables.cpp217 /// End points where VNI is no longer live are added to Kills.
222 /// @param Kills Append end points of VNI's live range to Kills.
227 SmallVectorImpl<SlotIndex> *Kills,
236 /// @param Kills Points where the range of LocNo could be extended.
239 const SmallVectorImpl<SlotIndex> &Kills,
487 SmallVectorImpl<SlotIndex> *Kills,
503 if (Kills)
504 Kills->push_back(Start);
525 else if (!ToEnd && Kills)
485 extendDef(SlotIndex Idx, unsigned LocNo, LiveInterval *LI, const VNInfo *VNI, SmallVectorImpl<SlotIndex> *Kills, LiveIntervals &LIS, MachineDominatorTree &MDT, UserValueScopes &UVS) argument
547 addDefsFromCopies(LiveInterval *LI, unsigned LocNo, const SmallVectorImpl<SlotIndex> &Kills, SmallVectorImpl<std::pair<SlotIndex, unsigned> > &NewDefs, MachineRegisterInfo &MRI, LiveIntervals &LIS) argument
641 SmallVector<SlotIndex, 16> Kills; local
[all...]
H A DTwoAddressInstructionPass.cpp116 bool canUpdateDeletedKills(SmallVector<unsigned, 4> &Kills,
772 SmallVector<unsigned, 4> &Kills) {
786 Kills.push_back(MO.getReg());
791 /// canUpdateDeletedKills - Check if all the registers listed in Kills are
796 canUpdateDeletedKills(SmallVector<unsigned, 4> &Kills, argument
799 while (!Kills.empty()) {
800 unsigned Kill = Kills.back();
801 Kills.pop_back();
824 SmallVector<unsigned, 4> Kills; local
825 if (!isSafeToDelete(mi, TII, Kills))
770 isSafeToDelete(MachineInstr *MI, const TargetInstrInfo *TII, SmallVector<unsigned, 4> &Kills) argument
[all...]
H A DLiveIntervalAnalysis.cpp333 if (vi.Kills.size() == 1 && vi.Kills[0]->getParent() == mbb) {
336 if (vi.Kills[0] != mi)
337 killIdx = getInstructionIndex(vi.Kills[0]).getDefIndex();
384 for (unsigned i = 0, e = vi.Kills.size(); i != e; ++i) {
385 MachineInstr *Kill = vi.Kills[i];
H A DMachineVerifier.cpp654 if (std::find(VI.Kills.begin(),
655 VI.Kills.end(), MI) == VI.Kills.end())
H A DRegisterCoalescer.cpp944 bool Kills = false, Deads = false; local
949 Kills |= MO.isKill();
979 if (DstIsPhys && Kills)
H A DVirtRegRewriter.cpp1028 SmallVector<unsigned, 4> Kills;
1054 Kills.push_back(Reg);
1058 for (unsigned i = 0, e = Kills.size(); i != e; ++i) {
1059 unsigned Kill = Kills[i];
H A DMachineBasicBlock.cpp587 LV->getVarInfo(Reg).Kills.push_back(I);
/external/llvm/lib/Target/X86/
H A DX86FloatingPoint.cpp845 unsigned Kills = 0; local
850 Kills |= (1 << RegNo);
855 assert((Kills & Defs) == 0 && "Register needs killing and def'ing?");
858 while (Kills && Defs) {
859 unsigned KReg = countTrailingZeros(Kills);
864 Kills &= ~(1 << KReg);
869 if (Kills && I != MBB->begin()) {
873 if (!(Kills & (1 << KReg)))
877 Kills &= ~(1 << KReg);
882 while (Kills) {
[all...]
H A DX86InstrInfo.cpp2730 LV->getVarInfo(leaInReg).Kills.push_back(NewMI);
2731 LV->getVarInfo(leaOutReg).Kills.push_back(ExtMI);
/external/swiftshader/third_party/LLVM/lib/Target/X86/
H A DX86FloatingPoint.cpp881 unsigned Kills = 0;
886 Kills |= (1 << RegNo);
891 assert((Kills & Defs) == 0 && "Register needs killing and def'ing?");
894 while (Kills && Defs) {
895 unsigned KReg = CountTrailingZeros_32(Kills);
900 Kills &= ~(1 << KReg);
905 if (Kills && I != MBB->begin()) {
909 if (!(Kills & (1 << KReg)))
913 Kills &= ~(1 << KReg);
918 while (Kills) {
[all...]
H A DX86InstrInfo.cpp1416 LV->getVarInfo(leaInReg).Kills.push_back(NewMI);
1417 LV->getVarInfo(leaOutReg).Kills.push_back(ExtMI);
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
H A DARMBaseInstrInfo.cpp255 VI.Kills.push_back(NewMI);
/external/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.cpp278 VI.Kills.push_back(NewMI);

Completed in 535 milliseconds