Home
last modified time | relevance | path

Searched refs:DefBB (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSSAUpdaterImpl.h51 BBInfo *DefBB; variable
69 : BB(ThisBB), AvailableVal(V), DefBB(V ? this : nullptr) {} in BBInfo()
108 return BBMap[BB]->DefBB->AvailableVal; in GetValue()
258 Pred->DefBB = Pred; in FindDominators()
284 if (Pred->DefBB == Pred) in IsDefInDomFrontier()
304 if (Info->DefBB == Info) in FindPHIPlacement()
308 BBInfo *NewDefBB = Info->IDom->DefBB; in FindPHIPlacement()
318 if (NewDefBB != Info->DefBB) { in FindPHIPlacement()
319 Info->DefBB = NewDefBB; in FindPHIPlacement()
332 ValT Singular = Info->Preds[0]->DefBB->AvailableVal; in FindSingularVal()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDominators.cpp145 const BasicBlock *DefBB = Def->getParent(); in dominates() local
152 if (!isReachableFromEntry(DefBB)) in dominates()
166 if (DefBB != UseBB) in dominates()
167 return dominates(DefBB, UseBB); in dominates()
176 const BasicBlock *DefBB = Def->getParent(); in dominates() local
178 // Any unreachable use is dominated, even if DefBB == UseBB. in dominates()
183 if (!isReachableFromEntry(DefBB)) in dominates()
186 if (DefBB == UseBB) in dominates()
193 BasicBlockEdge E(DefBB, NormalDest); in dominates()
197 return dominates(DefBB, UseB in dominates()
277 const BasicBlock *DefBB = Def->getParent(); dominates() local
[all...]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DGenericConvergenceVerifierImpl.h163 auto *DefBB = Token->getParent(); in verify() local
164 if (DefBB == BB || BBCycle->contains(DefBB)) { in verify()
177 if (!Parent || Parent->contains(DefBB)) in verify()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIAnnotateControlFlow.cpp334 BasicBlock *DefBB = ExecDef->getParent(); in closeControlFlow() local
335 if (!DT->dominates(DefBB, BB)) { in closeControlFlow()
337 FirstInsertionPt = SplitEdge(DefBB, BB, DT, LI)->getFirstInsertionPt(); in closeControlFlow()
H A DSIInstrInfo.cpp9377 auto *DefBB = DefMI.getParent(); in execMayBeModifiedBeforeUse() local
9381 if (UseMI.getParent() != DefBB) in execMayBeModifiedBeforeUse()
9409 auto *DefBB = DefMI.getParent(); in execMayBeModifiedBeforeAnyUse() local
9418 if (UseInst.getParent() != DefBB || UseInst.isPHI()) in execMayBeModifiedBeforeAnyUse()
9433 assert(I != DefBB->end()); in execMayBeModifiedBeforeAnyUse()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveVariables.cpp692 MachineBasicBlock &DefBB = *DefMI.getParent(); in recomputeForSingleDefVirtReg() local
714 } else if (&UseBB == &DefBB) { in recomputeForSingleDefVirtReg()
734 if (&BB == &DefBB) { in recomputeForSingleDefVirtReg()
751 if (&UseBB == &DefBB && LiveToEndOfDefBB) in recomputeForSingleDefVirtReg()
H A DTailDuplicator.cpp209 MachineBasicBlock *DefBB = nullptr; in tailDuplicateAndUpdate() local
211 DefBB = DefMI->getParent(); in tailDuplicateAndUpdate()
212 SSAUpdate.AddAvailableValue(DefBB, VReg); in tailDuplicateAndUpdate()
237 if (UseMI->getParent() == DefBB && !UseMI->isPHI()) in tailDuplicateAndUpdate()
H A DCodeGenPrepare.cpp1392 BasicBlock *DefBB = CI->getParent(); in SinkCast() local
1425 if (UserBB == DefBB) in SinkCast()
1792 BasicBlock *DefBB = Cmp->getParent(); in sinkCmpExpression() local
1795 if (UserBB == DefBB) in sinkCmpExpression()
2192 BasicBlock *DefBB = ShiftI->getParent(); in OptimizeExtractBits() local
2216 if (UserBB == DefBB) { in OptimizeExtractBits()
6716 BasicBlock *DefBB = I->getParent(); in optimizeExtUses() local
6730 if (!isa<Instruction>(Src) || DefBB != cast<Instruction>(Src)->getParent()) in optimizeExtUses()
6739 if (UserBB == DefBB) in optimizeExtUses()
6751 if (UserBB == DefBB) in optimizeExtUses()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp157 bool isDefinitionAcrossSuspend(BasicBlock *DefBB, User *U) const { in isDefinitionAcrossSuspend() argument
176 return hasPathCrossingSuspendPoint(DefBB, UseBB); in isDefinitionAcrossSuspend()
184 auto *DefBB = I.getParent(); in isDefinitionAcrossSuspend() local
190 DefBB = DefBB->getSingleSuccessor(); in isDefinitionAcrossSuspend()
191 assert(DefBB && "should have split coro.suspend into its own block"); in isDefinitionAcrossSuspend()
194 return isDefinitionAcrossSuspend(DefBB, U); in isDefinitionAcrossSuspend()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonHardwareLoops.cpp703 MachineBasicBlock *DefBB = MRI->getVRegDef(R)->getParent(); in getLoopTripCount() local
704 if (!MDT->properlyDominates(DefBB, Header)) { in getLoopTripCount()
713 MachineBasicBlock *DefBB = MRI->getVRegDef(R)->getParent(); in getLoopTripCount() local
714 if (!MDT->properlyDominates(DefBB, Header)) { in getLoopTripCount()