Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveVariables.cpp89 for (MachineInstr *MI : Kills) in findKill()
100 if (Kills.empty()) in print()
103 for (unsigned i = 0, e = Kills.size(); i != e; ++i) in print()
104 OS << "\n #" << i << ": " << *Kills[i]; in print()
127 for (unsigned i = 0, e = VRInfo.Kills.size(); i != e; ++i) in MarkVirtRegAliveInBlock()
128 if (VRInfo.Kills[i]->getParent() == MBB) { in MarkVirtRegAliveInBlock()
129 VRInfo.Kills.erase(VRInfo.Kills.begin()+i); // Erase entry in MarkVirtRegAliveInBlock()
166 if (!VRInfo.Kills.empty() && VRInfo.Kills.back()->getParent() == MBB) { in HandleVirtRegUse()
169 VRInfo.Kills.back() = &MI; in HandleVirtRegUse()
174 for (MachineInstr *Kill : VRInfo.Kills) in HandleVirtRegUse()
[all …]
H A DLiveDebugVariables.cpp448 std::optional<std::pair<SlotIndex, SmallVector<unsigned>>> &Kills,
964 std::optional<std::pair<SlotIndex, SmallVector<unsigned>>> &Kills, in extendDef() argument
980 Kills = {Stop, {LII.first}}; in extendDef()
981 } else if (Segment->end == Stop && Kills) { in extendDef()
984 Kills->second.push_back(LII.first); in extendDef()
994 Kills = std::nullopt; in extendDef()
1005 Kills = std::nullopt; in extendDef()
1137 std::optional<std::pair<SlotIndex, SmallVector<unsigned>>> Kills; in computeIntervals() local
1138 extendDef(Idx, DbgValue, LIs, Kills, LIS); in computeIntervals()
1140 if (Kills) { in computeIntervals()
[all …]
H A DPHIElimination.cpp232 if (VI.Kills.size() > 1 || in run()
233 (!VI.Kills.empty() && VI.Kills.front()->getParent() != DefMBB)) in run()
234 for (auto *MI : VI.Kills) in run()
H A DTwoAddressInstructionPass.cpp959 SmallVector<Register, 2> Kills; in rescheduleMIBelowKill() local
972 Kills.push_back(MOReg); in rescheduleMIBelowKill()
1024 regOverlapsSet(Kills, MOReg))) in rescheduleMIBelowKill()
1138 SmallVector<Register, 2> Kills; in rescheduleKillAboveMI() local
1155 Kills.push_back(MOReg); in rescheduleKillAboveMI()
1189 if (regOverlapsSet(Kills, MOReg)) in rescheduleKillAboveMI()
1820 for (auto *KillMI : DstInfo.Kills) in processStatepoint()
H A DMachineTraceMetrics.cpp720 SmallVector<MCRegister, 8> Kills; in updatePhysDepsDownwards() local
730 Kills.push_back(Reg); in updatePhysDepsDownwards()
734 Kills.push_back(Reg); in updatePhysDepsDownwards()
749 for (MCRegister Kill : Kills) in updatePhysDepsDownwards()
H A DMachineBasicBlock.cpp1265 LV->getVarInfo(Reg).Kills.push_back(&*I); in SplitCriticalEdge()
H A DMachineVerifier.cpp2822 if (!is_contained(VI.Kills, MI)) in checkLiveness()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLiveVariables.h88 std::vector<MachineInstr*> Kills; member
94 std::vector<MachineInstr *>::iterator I = find(Kills, &MI); in removeKill()
95 if (I == Kills.end()) in removeKill()
97 Kills.erase(I); in removeKill()
209 getVarInfo(IncomingReg).Kills.push_back(&MI);
244 getVarInfo(IncomingReg).Kills.push_back(&MI);
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIOptimizeVGPRLiveRange.cpp463 for (auto *MI : OldVarInfo.Kills) { in updateLiveRangeInThenRegion()
488 auto I = OldVarInfo.Kills.begin(); in updateLiveRangeInElseRegion()
489 while (I != OldVarInfo.Kills.end()) { in updateLiveRangeInElseRegion()
491 NewVarInfo.Kills.push_back(*I); in updateLiveRangeInElseRegion()
492 I = OldVarInfo.Kills.erase(I); in updateLiveRangeInElseRegion()
590 NewVarInfo.Kills.push_back(MI); in optimizeWaterfallLiveRange()
H A DSILowerControlFlow.cpp266 LV->getVarInfo(Tmp).Kills.push_back(SetExec); in emitIf()
542 for (MachineInstr *Kill : VI.Kills) { in emitEndCf()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FloatingPoint.cpp919 unsigned Kills = 0; in adjustLiveRegs() local
924 Kills |= (1 << RegNo); in adjustLiveRegs()
929 assert((Kills & Defs) == 0 && "Register needs killing and def'ing?"); in adjustLiveRegs()
932 while (Kills && Defs) { in adjustLiveRegs()
933 unsigned KReg = llvm::countr_zero(Kills); in adjustLiveRegs()
939 Kills &= ~(1 << KReg); in adjustLiveRegs()
944 if (Kills && I != MBB->begin()) { in adjustLiveRegs()
948 if (!(Kills & (1 << KReg))) in adjustLiveRegs()
952 Kills &= ~(1 << KReg); in adjustLiveRegs()
957 while (Kills) { in adjustLiveRegs()
[all …]
H A DX86InstrInfo.cpp1344 LV->getVarInfo(InRegLEA).Kills.push_back(NewMI); in convertToThreeAddressWithLEA()
1346 LV->getVarInfo(InRegLEA2).Kills.push_back(NewMI); in convertToThreeAddressWithLEA()
1347 LV->getVarInfo(OutRegLEA).Kills.push_back(ExtMI); in convertToThreeAddressWithLEA()
1488 LV->getVarInfo(SrcReg).Kills.push_back(NewMI); in convertToThreeAddress()
1523 LV->getVarInfo(SrcReg).Kills.push_back(NewMI); in convertToThreeAddress()
1549 LV->getVarInfo(SrcReg).Kills.push_back(NewMI); in convertToThreeAddress()
1601 LV->getVarInfo(SrcReg2).Kills.push_back(NewMI); in convertToThreeAddress()
1603 LV->getVarInfo(SrcReg).Kills.push_back(NewMI); in convertToThreeAddress()
1643 LV->getVarInfo(SrcReg).Kills.push_back(NewMI); in convertToThreeAddress()
1683 LV->getVarInfo(SrcReg).Kills.push_back(NewMI); in convertToThreeAddress()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp100 BitVector Kills; member
137 bool const Result = Block[ToIndex].Kills[FromIndex]; in hasPathCrossingSuspendPoint()
150 bool Result = Block[ToIndex].Kills[FromIndex] || in hasPathOrLoopCrossingSuspendPoint()
224 dump(" Kills", Block[I].Kills); in dump()
253 auto SavedKills = B.Kills; in computeBlockData()
261 B.Kills |= P.Kills; in computeBlockData()
266 B.Kills |= P.Consumes; in computeBlockData()
272 B.Kills |= B.Consumes; in computeBlockData()
278 B.Kills.reset(); in computeBlockData()
282 B.KillLoop |= B.Kills[BBNo]; in computeBlockData()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.cpp334 VI.Kills.push_back(NewMI); in convertToThreeAddress()