Home
last modified time | relevance | path

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

12345

/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRExpandPseudoInsts.cpp154 bool DstIsDead = MI.getOperand(0).isDead(); in expandArith()
157 bool ImpIsDead = MI.getOperand(3).isDead(); in expandArith()
187 bool DstIsDead = MI.getOperand(0).isDead(); in expandLogic()
190 bool ImpIsDead = MI.getOperand(3).isDead(); in expandLogic()
246 bool DstIsDead = MI.getOperand(0).isDead(); in expandLogicImm()
248 bool ImpIsDead = MI.getOperand(3).isDead(); in expandLogicImm()
306 bool DstIsDead = MI.getOperand(0).isDead(); in expand()
308 bool ImpIsDead = MI.getOperand(3).isDead(); in expand()
360 bool DstIsDead = MI.getOperand(0).isDead(); in expand()
362 bool ImpIsDead = MI.getOperand(3).isDead(); in expand()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineInstrBundle.cpp178 if (MO.isDead()) in finalizeBundle()
183 if (!MO.isDead()) { in finalizeBundle()
189 if (!MO.isDead() && Reg.isPhysical()) in finalizeBundle()
203 bool isDead = DeadDefSet.contains(Reg) || KilledDefSet.contains(Reg); in finalizeBundle() local
204 MIB.addReg(Reg, getDefRegState(true) | getDeadRegState(isDead) | in finalizeBundle()
348 if (!MO.isDead()) in AnalyzePhysRegInBundle()
H A DLiveRangeShrink.cpp165 else if (MO.isDead()) { in runOnMachineFunction()
193 if (!MO.isReg() || MO.isDead() || MO.isDebug()) in runOnMachineFunction()
H A DMachineCSE.cpp322 if (!MO.isDead() && !isPhysDefTriviallyDead(Reg.asMCReg(), I, MBB->end())) in hasLivePhysRegDefUses()
635 if (MO.isImplicit() && !MO.isDead() && CSMI->getOperand(i).isDead()) in ProcessBlockCSE()
640 if (MO.isImplicit() && !MO.isDead() && OldReg == NewReg) in ProcessBlockCSE()
690 if (!MI.getOperand(PhysDef.first).isDead()) in ProcessBlockCSE()
H A DTailDuplicator.cpp189 bool isDead = MBB->pred_empty() && !MBB->hasAddressTaken(); in tailDuplicateAndUpdate() local
191 updateSuccessorsPHIs(MBB, isDead, TDBBs, Succs); in tailDuplicateAndUpdate()
194 if (isDead) { in tailDuplicateAndUpdate()
484 MachineBasicBlock *FromBB, bool isDead, in updateSuccessorsPHIs() argument
504 if (isDead) { in updateSuccessorsPHIs()
H A DPHIElimination.cpp355 bool isDead = MPhi->getOperand(0).isDead(); in LowerPHINode() local
462 if (isDead) { in LowerPHINode()
499 if (LR->endIndex().isDead()) { in LowerPHINode()
H A DDeadMachineInstructionElim.cpp107 if (MI.isDead(*MRI, &LivePhysRegs)) { in eliminateDeadMI()
H A DDetectDeadLanes.cpp283 if (Def.isDead()) in determineInitialDefinedLanes()
325 if (DefMI.isImplicitDef() || Def.isDead()) in determineInitialDefinedLanes()
518 if (MO.isDef() && !MO.isDead() && RegInfo.UsedLanes.none()) { in modifySubRegisterOperandStatus()
H A DMachineCycleAnalysis.cpp143 } else if (!MO.isDead()) { in isCycleInvariant()
H A DMachineInstr.cpp708 if (Check == CheckKillDead && MO.isDead() != OMO.isDead()) in isIdenticalTo()
1132 bool isDead, bool Overlap) const { in findRegisterDefOperandIdx() argument
1150 if (Found && (!isDead || MO.isDead())) in findRegisterDefOperandIdx()
1392 bool MachineInstr::isDead(const MachineRegisterInfo &MRI, in isDead() function in MachineInstr
1404 if (MO.isDead()) in isDead()
1665 if (!MO.isDead()) in allDefsAreDead()
1675 if (!MO.isDead()) in allImplicitDefsAreDead()
2208 } else if (hasAliases && MO.isDead() && MOReg.isPhysical()) { in addRegisterDead()
H A DScheduleDAGInstrs.cpp341 (Kind != SDep::Output || !MO.isDead() || !DefMO.isDead())) { in addPhysRegDeps()
369 if (!MO.isDead()) in addPhysRegDeps()
373 if (MO.isDead() && SU->isCall) { in addPhysRegDeps()
458 if (MO.isDead()) { in addVRegDefDeps()
H A DMachineOperand.cpp286 bool isKill, bool isDead, bool isUndef, in ChangeToRegister() argument
303 assert(!(isDead && !isDef) && "Dead flag on non-def"); in ChangeToRegister()
310 IsDeadOrKill = isKill | isDead; in ChangeToRegister()
825 if (isDead()) in print()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVPostRAExpandPseudoInsts.cpp91 bool DstIsDead = MBBI->getOperand(0).isDead(); in expandMovImm()
106 bool DstIsDead = MBBI->getOperand(0).isDead(); in expandMovAddr()
H A DRISCVDeadRegisterDefinitions.cpp87 if (!Reg.isVirtual() || !MO.isDead()) in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineOperand.h393 bool isDead() const { in isDead() function
812 bool isKill = false, bool isDead = false,
843 bool isKill = false, bool isDead = false,
849 assert(!(isDead && !isDef) && "Dead flag on non-def");
854 Op.IsDeadOrKill = isKill | isDead;
H A DMachineInstr.h1567 bool isDead = false,
1574 bool isDead = false,
1576 int Idx = findRegisterDefOperandIdx(Reg, TRI, isDead, Overlap);
1582 bool isDead = false,
1585 Reg, TRI, isDead, Overlap);
1751 LLVM_ABI bool isDead(const MachineRegisterInfo &MRI,
H A DTailDuplicator.h111 void updateSuccessorsPHIs(MachineBasicBlock *FromBB, bool isDead,
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMLInlineAdvisor.cpp232 assert(!N->isDead()); in onPassEntry()
238 assert(!AdjNode->isDead() && !AdjNode->getFunction().isDeclaration()); in onPassEntry()
272 assert(!N->isDead()); in onPassExit()
278 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.cpp150 if (!Reg.isVirtual() || (!MO.isDead() && !MRI->use_nodbg_empty(Reg))) in processMachineBasicBlock()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFMIChecking.cpp115 if (!MO.isDead()) { in hasLiveDefs()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyOptimizeLiveIntervals.cpp114 if (MI.isImplicitDef() && MI.getOperand(0).isDead()) { in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchDeadRegisterDefinitions.cpp85 if (!Reg.isVirtual() || !MO.isDead()) in runOnMachineFunction()
/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