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.h52 BBInfo *DefBB; variable
70 : BB(ThisBB), AvailableVal(V), DefBB(V ? this : nullptr) {} in BBInfo()
109 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.cpp158 const BasicBlock *DefBB = Def->getParent(); in dominates() local
165 if (!isReachableFromEntry(DefBB)) in dominates()
179 if (DefBB != UseBB) in dominates()
180 return dominates(DefBB, UseBB); in dominates()
189 const BasicBlock *DefBB = Def->getParent(); in dominates() local
196 if (!isReachableFromEntry(DefBB)) in dominates()
199 if (DefBB == UseBB) in dominates()
206 BasicBlockEdge E(DefBB, NormalDest); in dominates()
210 return dominates(DefBB, UseBB); in dominates()
290 const BasicBlock *DefBB = Def->getParent(); in dominates() local
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Coroutines/
H A DSuspendCrossingInfo.h122 bool isDefinitionAcrossSuspend(BasicBlock *DefBB, User *U) const { in isDefinitionAcrossSuspend() argument
141 return hasPathCrossingSuspendPoint(DefBB, UseBB); in isDefinitionAcrossSuspend()
149 auto *DefBB = I.getParent(); in isDefinitionAcrossSuspend() local
155 DefBB = DefBB->getSingleSuccessor(); in isDefinitionAcrossSuspend()
156 assert(DefBB && "should have split coro.suspend into its own block"); in isDefinitionAcrossSuspend()
159 return isDefinitionAcrossSuspend(DefBB, U); in isDefinitionAcrossSuspend()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DGenericConvergenceVerifierImpl.h160 auto *DefBB = Token->getParent(); in verify() local
161 if (DefBB == BB || BBCycle->contains(DefBB)) { in verify()
174 if (!Parent || Parent->contains(DefBB)) in verify()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIAnnotateControlFlow.cpp323 BasicBlock *DefBB = ExecDef->getParent(); in closeControlFlow() local
324 if (!DT->dominates(DefBB, BB)) { in closeControlFlow()
326 FirstInsertionPt = SplitEdge(DefBB, BB, DT, LI)->getFirstInsertionPt(); in closeControlFlow()
H A DSIInstrInfo.cpp9844 auto *DefBB = DefMI.getParent(); in execMayBeModifiedBeforeUse() local
9848 if (UseMI.getParent() != DefBB) in execMayBeModifiedBeforeUse()
9876 auto *DefBB = DefMI.getParent(); in execMayBeModifiedBeforeAnyUse() local
9885 if (UseInst.getParent() != DefBB || UseInst.isPHI()) in execMayBeModifiedBeforeAnyUse()
9900 assert(I != DefBB->end()); in execMayBeModifiedBeforeAnyUse()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveVariables.cpp685 MachineBasicBlock &DefBB = *DefMI.getParent(); in recomputeForSingleDefVirtReg() local
707 } else if (&UseBB == &DefBB) { in recomputeForSingleDefVirtReg()
727 if (&BB == &DefBB) { in recomputeForSingleDefVirtReg()
744 if (&UseBB == &DefBB && LiveToEndOfDefBB) in recomputeForSingleDefVirtReg()
H A DTailDuplicator.cpp208 MachineBasicBlock *DefBB = nullptr; in tailDuplicateAndUpdate() local
210 DefBB = DefMI->getParent(); in tailDuplicateAndUpdate()
211 SSAUpdate.AddAvailableValue(DefBB, VReg); in tailDuplicateAndUpdate()
236 if (UseMI->getParent() == DefBB && !UseMI->isPHI()) in tailDuplicateAndUpdate()
H A DCodeGenPrepare.cpp1394 BasicBlock *DefBB = CI->getParent(); in SinkCast() local
1427 if (UserBB == DefBB) in SinkCast()
1863 BasicBlock *DefBB = Cmp->getParent(); in sinkCmpExpression() local
1866 if (UserBB == DefBB) in sinkCmpExpression()
2439 BasicBlock *DefBB = ShiftI->getParent(); in OptimizeExtractBits() local
2463 if (UserBB == DefBB) { in OptimizeExtractBits()
7105 BasicBlock *DefBB = I->getParent(); in optimizeExtUses() local
7119 if (!isa<Instruction>(Src) || DefBB != cast<Instruction>(Src)->getParent()) in optimizeExtUses()
7128 if (UserBB == DefBB) in optimizeExtUses()
7140 if (UserBB == DefBB) in optimizeExtUses()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonHardwareLoops.cpp696 MachineBasicBlock *DefBB = MRI->getVRegDef(R)->getParent(); in getLoopTripCount() local
697 if (!MDT->properlyDominates(DefBB, Header)) { in getLoopTripCount()
706 MachineBasicBlock *DefBB = MRI->getVRegDef(R)->getParent(); in getLoopTripCount() local
707 if (!MDT->properlyDominates(DefBB, Header)) { in getLoopTripCount()