Home
last modified time | relevance | path

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

12345

/openbsd/gnu/llvm/llvm/lib/Target/AVR/
H A DAVRExpandPseudoInsts.cpp151 bool DstIsDead = MI.getOperand(0).isDead(); in expandArith()
154 bool ImpIsDead = MI.getOperand(3).isDead(); in expandArith()
184 bool DstIsDead = MI.getOperand(0).isDead(); in expandLogic()
187 bool ImpIsDead = MI.getOperand(3).isDead(); in expandLogic()
231 bool DstIsDead = MI.getOperand(0).isDead(); in expandLogicImm()
233 bool ImpIsDead = MI.getOperand(3).isDead(); in expandLogicImm()
285 bool DstIsDead = MI.getOperand(0).isDead(); in expand()
287 bool ImpIsDead = MI.getOperand(3).isDead(); in expand()
339 bool DstIsDead = MI.getOperand(0).isDead(); in expand()
341 bool ImpIsDead = MI.getOperand(3).isDead(); in expand()
[all …]
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DDeadMachineInstructionElim.cpp50 bool isDead(const MachineInstr *MI) const;
61 bool DeadMachineInstructionElim::isDead(const MachineInstr *MI) const { in isDead() function in DeadMachineInstructionElim
86 if (MO.isDead()) { in isDead()
136 if (isDead(&MI)) { in eliminateDeadMI()
H A DMachineInstrBundle.cpp190 if (MO.isDead()) { in finalizeBundle()
196 if (!MO.isDead()) in finalizeBundle()
201 if (!MO.isDead() && Reg.isPhysical()) { in finalizeBundle()
218 bool isDead = DeadDefSet.count(Reg) || KilledDefSet.count(Reg); in finalizeBundle() local
219 MIB.addReg(Reg, getDefRegState(true) | getDeadRegState(isDead) | in finalizeBundle()
349 if (!MO.isDead()) in AnalyzePhysRegInBundle()
H A DLiveRangeShrink.cpp145 else if (MO.isDead() && UseMap.count(MO.getReg())) in runOnMachineFunction()
174 if (!MO.isReg() || MO.isDead() || MO.isDebug()) in runOnMachineFunction()
H A DMachineCSE.cpp328 if (!MO.isDead() && !isPhysDefTriviallyDead(Reg.asMCReg(), I, MBB->end())) in hasLivePhysRegDefUses()
638 if (MO.isImplicit() && !MO.isDead() && CSMI->getOperand(i).isDead()) in ProcessBlockCSE()
643 if (MO.isImplicit() && !MO.isDead() && OldReg == NewReg) in ProcessBlockCSE()
693 if (!MI.getOperand(PhysDef.first).isDead()) in ProcessBlockCSE()
H A DPHIElimination.cpp281 bool isDead = MPhi->getOperand(0).isDead(); in LowerPHINode() local
381 if (isDead) { in LowerPHINode()
407 if (DestLI.endIndex().isDead()) { in LowerPHINode()
H A DTailDuplicator.cpp179 bool isDead = MBB->pred_empty() && !MBB->hasAddressTaken(); in tailDuplicateAndUpdate() local
181 updateSuccessorsPHIs(MBB, isDead, TDBBs, Succs); in tailDuplicateAndUpdate()
184 if (isDead) { in tailDuplicateAndUpdate()
473 MachineBasicBlock *FromBB, bool isDead, in updateSuccessorsPHIs() argument
493 if (isDead) { in updateSuccessorsPHIs()
H A DDetectDeadLanes.cpp361 if (Def.isDead()) in determineInitialDefinedLanes()
403 if (DefMI.isImplicitDef() || Def.isDead()) in determineInitialDefinedLanes()
541 if (MO.isDef() && !MO.isDead() && RegInfo.UsedLanes.none()) { in runOnce()
H A DMachineCycleAnalysis.cpp125 } else if (!MO.isDead()) { in isCycleInvariant()
H A DMachineLoopInfo.cpp184 } else if (!MO.isDead()) { in isLoopInvariant()
H A DMachineOperand.cpp256 bool isKill, bool isDead, bool isUndef, in ChangeToRegister() argument
273 assert(!(isDead && !isDef) && "Dead flag on non-def"); in ChangeToRegister()
280 IsDeadOrKill = isKill | isDead; in ChangeToRegister()
795 if (isDead()) in print()
H A DMachineInstr.cpp645 if (Check == CheckKillDead && MO.isDead() != OMO.isDead()) in isIdenticalTo()
1049 MachineInstr::findRegisterDefOperandIdx(Register Reg, bool isDead, bool Overlap, in findRegisterDefOperandIdx() argument
1068 if (Found && (!isDead || MO.isDead())) in findRegisterDefOperandIdx()
1481 if (!MO.isDead()) in allDefsAreDead()
1988 } else if (hasAliases && MO.isDead() && MOReg.isPhysical()) { in addRegisterDead()
H A DMachineLateInstrsCleanup.cpp160 if (i == 0 && !MO.isImplicit() && !MO.isDead()) in isCandidate()
H A DScheduleDAGInstrs.cpp313 (Kind != SDep::Output || !MO.isDead() || in addPhysRegDeps()
340 if (!MO.isDead()) in addPhysRegDeps()
343 if (MO.isDead() && SU->isCall) { in addPhysRegDeps()
425 if (MO.isDead()) { in addVRegDefDeps()
/openbsd/gnu/llvm/llvm/tools/llvm-reduce/deltas/
H A DReduceInstructionsMIR.cpp37 if (!MO.isReg() || !MO.isDef() || MO.isDead()) in getPrevDefOfRCInMBB()
93 if (!MO.isReg() || !MO.isDef() || MO.isDead()) in extractInstrFromFunction()
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DMLInlineAdvisor.cpp164 if (N->isDead()) { in onPassEntry()
172 assert(!AdjNode->isDead() && !AdjNode->getFunction().isDeclaration()); in onPassEntry()
202 if ((*I)->isDead()) in onPassExit()
210 assert(!N.isDead()); in onPassExit()
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/
H A DMachineOperand.h391 bool isDead() const { in isDead() function
800 bool isKill = false, bool isDead = false,
831 bool isKill = false, bool isDead = false,
837 assert(!(isDead && !isDef) && "Dead flag on non-def");
842 Op.IsDeadOrKill = isKill | isDead;
H A DMachineInstr.h1481 bool isDead = false, bool Overlap = false,
1487 findRegisterDefOperand(Register Reg, bool isDead = false,
1490 int Idx = findRegisterDefOperandIdx(Reg, isDead, Overlap, TRI);
1495 findRegisterDefOperand(Register Reg, bool isDead = false,
1499 Reg, isDead, Overlap, TRI);
H A DTailDuplicator.h112 void updateSuccessorsPHIs(MachineBasicBlock *FromBB, bool isDead,
/openbsd/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyOptimizeLiveIntervals.cpp115 if (MI.isImplicitDef() && MI.getOperand(0).isDead()) { in runOnMachineFunction()
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64ExpandPseudoInsts.cpp160 bool DstIsDead = MI.getOperand(0).isDead(); in expandMOVImm()
171 bool DstIsDead = MI.getOperand(0).isDead(); in expandMOVImm()
196 bool StatusDead = MI.getOperand(1).isDead(); in expandCMP_SWAP()
224 .addReg(Dest.getReg(), getKillRegState(Dest.isDead())) in expandCMP_SWAP()
276 bool StatusDead = MI.getOperand(2).isDead(); in expandCMP_SWAP_128()
330 .addReg(DestLo.getReg(), getKillRegState(DestLo.isDead())) in expandCMP_SWAP_128()
338 .addReg(DestHi.getReg(), getKillRegState(DestHi.isDead())) in expandCMP_SWAP_128()
451 bool DstIsDead = MI.getOperand(0).isDead(); in expand_DestructiveOp()
H A DAArch64DeadRegisterDefinitionsPass.cpp149 if (!Reg.isVirtual() || (!MO.isDead() && !MRI->use_nodbg_empty(Reg))) in processMachineBasicBlock()
/openbsd/gnu/llvm/llvm/lib/Target/BPF/
H A DBPFMIChecking.cpp120 if (!MO.isDead()) { in hasLiveDefs()
/openbsd/gnu/llvm/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()
1103 if (MO && !MO->isDead()) in ReduceMBB()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DSimpleStreamChecker.cpp169 bool IsSymDead = SymReaper.isDead(Sym); in checkDeadSymbols()

12345