Home
last modified time | relevance | path

Searched refs:isDead (Results 1 – 25 of 107) sorted by relevance

12345

/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRExpandPseudoInsts.cpp156 bool DstIsDead = MI.getOperand(0).isDead(); in expandArith()
159 bool ImpIsDead = MI.getOperand(3).isDead(); in expandArith()
189 bool DstIsDead = MI.getOperand(0).isDead(); in expandLogic()
192 bool ImpIsDead = MI.getOperand(3).isDead(); in expandLogic()
248 bool DstIsDead = MI.getOperand(0).isDead(); in expandLogicImm()
250 bool ImpIsDead = MI.getOperand(3).isDead(); in expandLogicImm()
308 bool DstIsDead = MI.getOperand(0).isDead(); in expand()
310 bool ImpIsDead = MI.getOperand(3).isDead(); in expand()
362 bool DstIsDead = MI.getOperand(0).isDead(); in expand()
364 bool ImpIsDead = MI.getOperand(3).isDead(); in expand()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DDeadMachineInstructionElim.cpp41 bool isDead(const MachineInstr *MI) const;
82 bool DeadMachineInstructionElimImpl::isDead(const MachineInstr *MI) const { in isDead() function in DeadMachineInstructionElimImpl
106 if (MO.isDead()) { in isDead()
152 if (isDead(&MI)) { in eliminateDeadMI()
H A DMachineInstrBundle.cpp187 if (MO->isDead()) { in finalizeBundle()
193 if (!MO->isDead()) in finalizeBundle()
198 if (!MO->isDead() && Reg.isPhysical()) { in finalizeBundle()
213 bool isDead = DeadDefSet.count(Reg) || KilledDefSet.count(Reg); in finalizeBundle() local
214 MIB.addReg(Reg, getDefRegState(true) | getDeadRegState(isDead) | in finalizeBundle()
368 if (!MO.isDead()) in AnalyzePhysRegInBundle()
H A DLiveRangeShrink.cpp147 else if (MO.isDead() && UseMap.count(MO.getReg())) in runOnMachineFunction()
176 if (!MO.isReg() || MO.isDead() || MO.isDebug()) in runOnMachineFunction()
H A DMachineCSE.cpp327 if (!MO.isDead() && !isPhysDefTriviallyDead(Reg.asMCReg(), I, MBB->end())) in hasLivePhysRegDefUses()
640 if (MO.isImplicit() && !MO.isDead() && CSMI->getOperand(i).isDead()) in ProcessBlockCSE()
645 if (MO.isImplicit() && !MO.isDead() && OldReg == NewReg) in ProcessBlockCSE()
695 if (!MI.getOperand(PhysDef.first).isDead()) in ProcessBlockCSE()
H A DTailDuplicator.cpp190 bool isDead = MBB->pred_empty() && !MBB->hasAddressTaken(); in tailDuplicateAndUpdate() local
192 updateSuccessorsPHIs(MBB, isDead, TDBBs, Succs); in tailDuplicateAndUpdate()
195 if (isDead) { in tailDuplicateAndUpdate()
485 MachineBasicBlock *FromBB, bool isDead, in updateSuccessorsPHIs() argument
505 if (isDead) { in updateSuccessorsPHIs()
H A DPHIElimination.cpp347 bool isDead = MPhi->getOperand(0).isDead(); in LowerPHINode() local
454 if (isDead) { in LowerPHINode()
491 if (LR->endIndex().isDead()) { in LowerPHINode()
H A DDetectDeadLanes.cpp283 if (Def.isDead()) in determineInitialDefinedLanes()
325 if (DefMI.isImplicitDef() || Def.isDead()) in determineInitialDefinedLanes()
511 if (MO.isDef() && !MO.isDead() && RegInfo.UsedLanes.none()) { in modifySubRegisterOperandStatus()
H A DMachineCycleAnalysis.cpp125 } else if (!MO.isDead()) { in isCycleInvariant()
H A DScheduleDAGInstrs.cpp320 (Kind != SDep::Output || !MO.isDead() || !DefMO.isDead())) { in addPhysRegDeps()
348 if (!MO.isDead()) in addPhysRegDeps()
352 if (MO.isDead() && SU->isCall) { in addPhysRegDeps()
437 if (MO.isDead()) { in addVRegDefDeps()
H A DMachineOperand.cpp274 bool isKill, bool isDead, bool isUndef, in ChangeToRegister() argument
291 assert(!(isDead && !isDef) && "Dead flag on non-def"); in ChangeToRegister()
298 IsDeadOrKill = isKill | isDead; in ChangeToRegister()
813 if (isDead()) in print()
H A DMachineInstr.cpp701 if (Check == CheckKillDead && MO.isDead() != OMO.isDead()) in isIdenticalTo()
1105 bool isDead, bool Overlap) const { in findRegisterDefOperandIdx() argument
1123 if (Found && (!isDead || MO.isDead())) in findRegisterDefOperandIdx()
1555 if (!MO.isDead()) in allDefsAreDead()
1565 if (!MO.isDead()) in allImplicitDefsAreDead()
2094 } else if (hasAliases && MO.isDead() && MOReg.isPhysical()) { in addRegisterDead()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVPostRAExpandPseudoInsts.cpp93 bool DstIsDead = MBBI->getOperand(0).isDead(); in expandMovImm()
108 bool DstIsDead = MBBI->getOperand(0).isDead(); in expandMovAddr()
H A DRISCVDeadRegisterDefinitions.cpp92 if (!Reg.isVirtual() || !MO.isDead()) in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineOperand.h394 bool isDead() const { in isDead() function
756 /// for liveness related flags (isKill, isUndef and isDead). Note that this
807 bool isKill = false, bool isDead = false,
838 bool isKill = false, bool isDead = false,
844 assert(!(isDead && !isDef) && "Dead flag on non-def");
849 Op.IsDeadOrKill = isKill | isDead;
H A DTailDuplicator.h111 void updateSuccessorsPHIs(MachineBasicBlock *FromBB, bool isDead,
H A DMachineInstr.h1559 bool isDead = false,
1566 bool isDead = false,
1568 int Idx = findRegisterDefOperandIdx(Reg, TRI, isDead, Overlap);
1574 bool isDead = false,
1577 Reg, TRI, isDead, Overlap);
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMLInlineAdvisor.cpp218 assert(!N->isDead()); in onPassEntry()
224 assert(!AdjNode->isDead() && !AdjNode->getFunction().isDeclaration()); in onPassEntry()
258 assert(!N->isDead()); in onPassExit()
264 assert(!N.isDead()); in onPassExit()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ExpandPseudoInsts.cpp161 bool DstIsDead = MI.getOperand(0).isDead(); in expandMOVImm()
174 bool DstIsDead = MI.getOperand(0).isDead(); in expandMOVImm()
193 bool DstIsDead = MI.getOperand(0).isDead(); in expandMOVImm()
207 bool DstIsDead = MI.getOperand(0).isDead(); in expandMOVImm()
218 bool DstIsDead = MI.getOperand(0).isDead(); in expandMOVImm()
243 bool StatusDead = MI.getOperand(1).isDead(); in expandCMP_SWAP()
271 .addReg(Dest.getReg(), getKillRegState(Dest.isDead())) in expandCMP_SWAP()
323 bool StatusDead = MI.getOperand(2).isDead(); in expandCMP_SWAP_128()
377 .addReg(DestLo.getReg(), getKillRegState(DestLo.isDead())) in expandCMP_SWAP_128()
385 .addReg(DestHi.getReg(), getKillRegState(DestHi.isDead())) in expandCMP_SWAP_128()
[all …]
H A DAArch64DeadRegisterDefinitionsPass.cpp154 if (!Reg.isVirtual() || (!MO.isDead() && !MRI->use_nodbg_empty(Reg))) in processMachineBasicBlock()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyOptimizeLiveIntervals.cpp115 if (MI.isImplicitDef() && MI.getOperand(0).isDead()) { in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchDeadRegisterDefinitions.cpp87 if (!Reg.isVirtual() || !MO.isDead()) in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFMIChecking.cpp121 if (!MO.isDead()) { in hasLiveDefs()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DThumb2SizeReduction.cpp817 if (HasCC && MI->getOperand(NumOps-1).isDead()) in ReduceTo2Addr()
908 if (HasCC && MI->getOperand(NumOps-1).isDead()) in ReduceToNarrow()
988 if (!MO.isDead()) in UpdateCPSRDef()
1104 if (MO && !MO->isDead()) in ReduceMBB()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DSimpleStreamChecker.cpp150 bool IsSymDead = SymReaper.isDead(Sym); in checkDeadSymbols()

12345