Home
last modified time | relevance | path

Searched refs:Dead (Results 1 – 25 of 56) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveRangeEdit.cpp204 SmallVectorImpl<MachineInstr*> &Dead) { in foldAsLoad() argument
257 Dead.push_back(DefMI); in foldAsLoad()
434 void LiveRangeEdit::eliminateDeadDefs(SmallVectorImpl<MachineInstr *> &Dead, in eliminateDeadDefs() argument
440 while (!Dead.empty()) in eliminateDeadDefs()
441 eliminateDeadDef(Dead.pop_back_val(), ToShrink); in eliminateDeadDefs()
448 if (foldAsLoad(LI, Dead)) in eliminateDeadDefs()
453 if (!LIS.shrinkToUses(LI, &Dead)) in eliminateDeadDefs()
H A DReachingDefAnalysis.cpp738 InstSet &Dead) const { in collectKilledOperands()
739 Dead.insert(MI); in collectKilledOperands()
740 auto IsDead = [this, &Dead](MachineInstr *Def, Register Reg) { in collectKilledOperands()
757 return llvm::set_is_subset(Uses, Dead); in collectKilledOperands()
765 collectKilledOperands(Def, Dead); in collectKilledOperands()
H A DRDFLiveness.cpp296 return DA.Addr->getFlags() & NodeAttrs::Dead; in getAllReachingDefs()
425 bool IsDead = DefA.Addr->getFlags() & NodeAttrs::Dead; in getAllReachedUses()
507 bool IsDead = DA.Addr->getFlags() & NodeAttrs::Dead; in computePhiInfo()
H A DSplitKit.cpp1478 SmallVector<MachineInstr*, 8> Dead; in deleteRematVictims() local
1495 Dead.push_back(MI); in deleteRematVictims()
1499 if (Dead.empty()) in deleteRematVictims()
1502 Edit->eliminateDeadDefs(Dead, {}); in deleteRematVictims()
H A DRDFGraph.cpp79 if (Flags & NodeAttrs::Dead) in operator <<()
1308 Flags |= NodeAttrs::Dead; in buildStmt()
1321 uint16_t Flags = NodeAttrs::Clobbering | NodeAttrs::Fixed | NodeAttrs::Dead; in buildStmt()
1358 Flags |= NodeAttrs::Dead; in buildStmt()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSimplifyIndVar.h58 SmallVectorImpl<WeakTrackingVH> &Dead,
66 SmallVectorImpl<WeakTrackingVH> &Dead);
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLiveRangeEdit.h98 bool foldAsLoad(LiveInterval *LI, SmallVectorImpl<MachineInstr *> &Dead);
237 void eliminateDeadDefs(SmallVectorImpl<MachineInstr *> &Dead,
H A DMachineInstrBuilder.h53 Dead = 0x10, enumerator
108 flags & RegState::Dead,
561 return B ? RegState::Dead : 0; in getDeadRegState()
H A DReachingDefAnalysis.h264 void collectKilledOperands(MachineInstr *MI, InstSet &Dead) const;
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMLowOverheadLoops.cpp536 for (auto *Dead : Killed) in INITIALIZE_PASS() local
537 BasicBlocks.insert(Dead->getParent()); in INITIALIZE_PASS()
554 for (auto *Dead : Killed) { in INITIALIZE_PASS() local
556 Dead->findRegisterUseOperand(ARM::ITSTATE, /*TRI=*/nullptr)) { in INITIALIZE_PASS()
557 MachineInstr *IT = RDA.getMIOperand(Dead, *MO); in INITIALIZE_PASS()
560 CurrentBlock.erase(Dead); in INITIALIZE_PASS()
588 LLVM_DEBUG(for (auto *Dead : Killed) in INITIALIZE_PASS()
589 dbgs() << " - " << *Dead); in INITIALIZE_PASS()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILResourceAccess.cpp238 for (Instruction *Dead : llvm::reverse(DeadInsts)) in replaceAccess()
239 Dead->eraseFromParent(); in replaceAccess()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp213 SmallVector<std::pair<Instruction *, Instruction *>, 32> Dead; in CleanupPointerRootUsers() local
226 Dead.push_back(std::make_pair(I, SI)); in CleanupPointerRootUsers()
234 Dead.push_back(std::make_pair(I, MSI)); in CleanupPointerRootUsers()
243 Dead.push_back(std::make_pair(I, MTI)); in CleanupPointerRootUsers()
251 for (const auto &[Inst, Store] : Dead) { in CleanupPointerRootUsers()
1341 bool Dead; in deleteIfDead() local
1343 Dead = (F->isDeclaration() && F->use_empty()) || F->isDefTriviallyDead(); in deleteIfDead()
1345 Dead = GV.use_empty(); in deleteIfDead()
1346 if (!Dead) in deleteIfDead()
/freebsd/contrib/llvm-project/lldb/source/Host/aix/
H A DHost.cpp26 Dead, enumerator
/freebsd/contrib/llvm-project/lld/docs/MachO/
H A Dld64-vs-lld.rst8 Dead Stripping Duplicate Symbols
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInsertVSETVLI.cpp1061 .addReg(RISCV::X0, RegState::Define | RegState::Dead) in insertVSETVLI()
1080 .addReg(RISCV::X0, RegState::Define | RegState::Dead) in insertVSETVLI()
1094 .addReg(RISCV::X0, RegState::Define | RegState::Dead) in insertVSETVLI()
1105 .addReg(DestReg, RegState::Define | RegState::Dead) in insertVSETVLI()
1118 .addReg(RISCV::X0, RegState::Define | RegState::Dead) in insertVSETVLI()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZElimCompare.cpp226 MIB.addReg(SystemZ::CC, RegState::ImplicitDefine | RegState::Dead); in convertToBRCT()
670 RegState::ImplicitDefine | RegState::Dead); in fuseCompareOperations()
H A DSystemZShortenInst.cpp145 .addReg(SystemZ::CC, RegState::ImplicitDefine | RegState::Dead); in shortenOn001AddCC()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp69 SmallVectorImpl<WeakTrackingVH> &Dead) in SimplifyIndvar() argument
71 DeadInsts(Dead) { in SimplifyIndvar()
1015 SmallVectorImpl<WeakTrackingVH> &Dead, in simplifyUsersOfIV() argument
1018 Rewriter, Dead); in simplifyUsersOfIV()
1027 SmallVectorImpl<WeakTrackingVH> &Dead) { in simplifyLoopIVs() argument
1035 simplifyUsersOfIV(cast<PHINode>(I), SE, DT, LI, TTI, Dead, Rewriter); in simplifyLoopIVs()
H A DBasicBlockUtils.cpp104 SmallPtrSet<BasicBlock *, 4> Dead(llvm::from_range, BBs); in DeleteDeadBlocks() local
105 assert(Dead.size() == BBs.size() && "Duplicating blocks?"); in DeleteDeadBlocks()
106 for (auto *BB : Dead) in DeleteDeadBlocks()
108 assert(Dead.count(Pred) && "All predecessors must be dead!"); in DeleteDeadBlocks()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIFormMemoryClauses.cpp140 S |= RegState::Dead; in getMopState()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsISelLowering.cpp1726 RegState::Implicit | RegState::Dead); in emitAtomicBinary()
1731 RegState::Implicit | RegState::Dead); in emitAtomicBinary()
1939 RegState::Dead | RegState::Implicit) in emitAtomicBinaryPartword()
1941 RegState::Dead | RegState::Implicit) in emitAtomicBinaryPartword()
1943 RegState::Dead | RegState::Implicit); in emitAtomicBinaryPartword()
1947 RegState::Dead | RegState::Implicit); in emitAtomicBinaryPartword()
2010 RegState::Dead | RegState::Implicit); in emitAtomicCmpSwap()
2132 RegState::Dead | RegState::Implicit) in emitAtomicCmpSwapPartword()
2134 RegState::Dead | RegState::Implicit); in emitAtomicCmpSwapPartword()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ConditionalCompares.cpp636 .addReg(DestReg, RegState::Define | RegState::Dead) in convert()
H A DAArch64FrameLowering.cpp2251 .addReg(AArch64::X16, RegState::Implicit | RegState::Define | RegState::Dead) in emitPrologue()
2252 .addReg(AArch64::X17, RegState::Implicit | RegState::Define | RegState::Dead) in emitPrologue()
2253 .addReg(AArch64::NZCV, RegState::Implicit | RegState::Define | RegState::Dead) in emitPrologue()
2276 .addReg(AArch64::X16, RegState::Implicit | RegState::Define | RegState::Dead) in emitPrologue()
2277 .addReg(AArch64::X17, RegState::Implicit | RegState::Define | RegState::Dead) in emitPrologue()
2278 .addReg(AArch64::NZCV, RegState::Implicit | RegState::Define | RegState::Dead) in emitPrologue()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineCost.cpp2885 BasicBlock *Dead = NewDead.pop_back_val(); in findDeadBlocks() local
2886 if (DeadBlocks.insert(Dead).second) in findDeadBlocks()
2888 for (BasicBlock *S : successors(Dead)) in findDeadBlocks()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonFrameLowering.cpp2139 bool Dead = true; in findPhysReg() local
2143 Dead = false; in findPhysReg()
2146 if (Dead) in findPhysReg()

123