/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | LiveVariables.cpp | 61 for (MachineInstr *MI : Kills) in findKill() 73 if (Kills.empty()) in dump() 99 VRInfo.Kills.erase(VRInfo.Kills.begin()+i); // Erase entry in MarkVirtRegAliveInBlock() 136 if (!VRInfo.Kills.empty() && VRInfo.Kills.back()->getParent() == MBB) { in HandleVirtRegUse() 139 VRInfo.Kills.back() = &MI; in HandleVirtRegUse() 171 VRInfo.Kills.push_back(&MI); in HandleVirtRegUse() 183 VRInfo.Kills.push_back(&MI); in HandleVirtRegDef() 660 VI.Kills.clear(); in recomputeForSingleDefVirtReg() 695 VI.Kills.push_back(&DefMI); in recomputeForSingleDefVirtReg() 744 std::replace(VI.Kills.begin(), VI.Kills.end(), &OldMI, &NewMI); in replaceKillInstruction() [all …]
|
H A D | LiveDebugVariables.cpp | 448 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 D | PHIElimination.cpp | 178 if (VI.Kills.size() > 1 || in runOnMachineFunction() 179 (!VI.Kills.empty() && VI.Kills.front()->getParent() != DefMBB)) in runOnMachineFunction() 180 for (auto *MI : VI.Kills) in runOnMachineFunction()
|
H A D | TwoAddressInstructionPass.cpp | 886 SmallVector<Register, 2> Kills; in rescheduleMIBelowKill() local 899 Kills.push_back(MOReg); in rescheduleMIBelowKill() 951 regOverlapsSet(Kills, MOReg))) in rescheduleMIBelowKill() 1065 SmallVector<Register, 2> Kills; in rescheduleKillAboveMI() local 1082 Kills.push_back(MOReg); in rescheduleKillAboveMI() 1116 if (regOverlapsSet(Kills, MOReg)) in rescheduleKillAboveMI() 1745 for (auto *KillMI : DstInfo.Kills) in processStatepoint()
|
H A D | MachineTraceMetrics.cpp | 720 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 D | MachineBasicBlock.cpp | 1241 LV->getVarInfo(Reg).Kills.push_back(&*I); in SplitCriticalEdge()
|
H A D | MachineVerifier.cpp | 2536 if (!is_contained(VI.Kills, MI)) in checkLiveness()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | LiveVariables.h | 90 std::vector<MachineInstr*> Kills; member 96 std::vector<MachineInstr *>::iterator I = find(Kills, &MI); in removeKill() 97 if (I == Kills.end()) in removeKill() 99 Kills.erase(I); in removeKill() 202 getVarInfo(IncomingReg).Kills.push_back(&MI); 237 getVarInfo(IncomingReg).Kills.push_back(&MI);
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SIOptimizeVGPRLiveRange.cpp | 463 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 D | SILowerControlFlow.cpp | 268 LV->getVarInfo(Tmp).Kills.push_back(SetExec); in emitIf() 544 for (MachineInstr *Kill : VI.Kills) { in emitEndCf() 777 LV->getVarInfo(CountReg).Kills.push_back(CmpMI); in lowerInitExec()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86FloatingPoint.cpp | 918 unsigned Kills = 0; in adjustLiveRegs() local 923 Kills |= (1 << RegNo); in adjustLiveRegs() 931 while (Kills && Defs) { in adjustLiveRegs() 932 unsigned KReg = llvm::countr_zero(Kills); in adjustLiveRegs() 938 Kills &= ~(1 << KReg); in adjustLiveRegs() 943 if (Kills && I != MBB->begin()) { in adjustLiveRegs() 947 if (!(Kills & (1 << KReg))) in adjustLiveRegs() 951 Kills &= ~(1 << KReg); in adjustLiveRegs() 956 while (Kills) { in adjustLiveRegs() 957 unsigned KReg = llvm::countr_zero(Kills); in adjustLiveRegs() [all …]
|
H A D | X86InstrInfo.cpp | 1321 LV->getVarInfo(InRegLEA).Kills.push_back(NewMI); in convertToThreeAddressWithLEA() 1323 LV->getVarInfo(InRegLEA2).Kills.push_back(NewMI); in convertToThreeAddressWithLEA() 1324 LV->getVarInfo(OutRegLEA).Kills.push_back(ExtMI); in convertToThreeAddressWithLEA() 1465 LV->getVarInfo(SrcReg).Kills.push_back(NewMI); in convertToThreeAddress() 1500 LV->getVarInfo(SrcReg).Kills.push_back(NewMI); in convertToThreeAddress() 1526 LV->getVarInfo(SrcReg).Kills.push_back(NewMI); in convertToThreeAddress() 1578 LV->getVarInfo(SrcReg2).Kills.push_back(NewMI); in convertToThreeAddress() 1580 LV->getVarInfo(SrcReg).Kills.push_back(NewMI); in convertToThreeAddress() 1620 LV->getVarInfo(SrcReg).Kills.push_back(NewMI); in convertToThreeAddress() 1660 LV->getVarInfo(SrcReg).Kills.push_back(NewMI); in convertToThreeAddress()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
H A D | CoroFrame.cpp | 97 BitVector Kills; member 221 dump(" Kills", Block[I].Kills); in dump() 250 auto SavedKills = B.Kills; in computeBlockData() 258 B.Kills |= P.Kills; in computeBlockData() 263 B.Kills |= P.Consumes; in computeBlockData() 269 B.Kills |= B.Consumes; in computeBlockData() 275 B.Kills.reset(); in computeBlockData() 279 B.KillLoop |= B.Kills[BBNo]; in computeBlockData() 280 B.Kills.reset(BBNo); in computeBlockData() 301 B.Kills.resize(N); in SuspendCrossingInfo() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMBaseInstrInfo.cpp | 333 VI.Kills.push_back(NewMI); in convertToThreeAddress()
|