Home
last modified time | relevance | path

Searched refs:BasicBlockEdge (Results 1 – 16 of 16) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DDominators.h94 class BasicBlockEdge {
99 BasicBlockEdge(const BasicBlock *Start_, const BasicBlock *End_) : in BasicBlockEdge() function
102 BasicBlockEdge(const std::pair<BasicBlock *, BasicBlock *> &Pair) in BasicBlockEdge() function
120 template <> struct DenseMapInfo<BasicBlockEdge> {
123 static unsigned getHashValue(const BasicBlockEdge *V);
125 static inline BasicBlockEdge getEmptyKey() {
129 static inline BasicBlockEdge getTombstoneKey() {
133 static unsigned getHashValue(const BasicBlockEdge &Edge) {
138 static bool isEqual(const BasicBlockEdge &LHS, const BasicBlockEdge &RHS) {
207 bool dominates(const BasicBlockEdge &BBE, const Use &U) const;
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DDominators.cpp51 bool BasicBlockEdge::isSingleEdge() const { in isSingleEdge()
193 BasicBlockEdge E(DefBB, NormalDest); in dominates()
200 bool DominatorTree::dominates(const BasicBlockEdge &BBE, in dominates()
250 bool DominatorTree::dominates(const BasicBlockEdge &BBE, const Use &U) const { in dominates()
303 BasicBlockEdge E(DefBB, NormalDest); in dominates()
337 bool DominatorTree::dominates(const BasicBlockEdge &BBE1, in dominates()
338 const BasicBlockEdge &BBE2) const { in dominates()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DLocal.h430 const BasicBlockEdge &Edge);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DGVN.cpp2047 BasicBlockEdge Edge(IntrinsicI->getParent(), Successor); in processAssumeIntrinsic()
2352 static bool isOnlyReachableViaThisEdge(const BasicBlockEdge &E, in isOnlyReachableViaThisEdge()
2395 const BasicBlockEdge &Root, in propagateEquality()
2607 BasicBlockEdge TrueE(Parent, TrueSucc); in processInstruction()
2611 BasicBlockEdge FalseE(Parent, FalseSucc); in processInstruction()
2633 BasicBlockEdge E(Parent, Dst); in processInstruction()
H A DLoopDeletion.cpp243 DenseSet<BasicBlockEdge> LiveEdges; in canProveExitOnFirstIteration()
H A DEarlyCSE.cpp1232 BasicBlockEdge(Pred, BB))) { in handleBranchCondition()
H A DConstraintElimination.cpp202 return DT.dominates(BasicBlockEdge(&BB, Succ), Succ); in canAddSuccessor()
H A DNewGVN.cpp621 using BlockEdge = BasicBlockEdge;
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DGVN.h369 bool propagateEquality(Value *LHS, Value *RHS, const BasicBlockEdge &Root,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp2088 auto DominatesNarrowUser = [this, NarrowUser] (BasicBlockEdge BBE) { in calculatePostIncRange()
2093 if (DominatesNarrowUser(BasicBlockEdge(BB, TrueSuccessor))) in calculatePostIncRange()
2096 if (DominatesNarrowUser(BasicBlockEdge(BB, FalseSuccessor))) in calculatePostIncRange()
H A DLocal.cpp3433 const BasicBlockEdge &Root) { in replaceDominatedUsesWith()
3434 auto Dominates = [&DT](const BasicBlockEdge &Root, const Use &U) { in replaceDominatedUsesWith()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp1346 DT.dominates(BasicBlockEdge(IDom, It->second), in simplifyUsingControlFlow()
1347 BasicBlockEdge(Pred, BB)); in simplifyUsingControlFlow()
H A DInstCombineSelect.cpp2531 BasicBlockEdge TrueEdge(IDom, TrueSucc); in foldSelectToPhiImpl()
2532 BasicBlockEdge FalseEdge(IDom, FalseSucc); in foldSelectToPhiImpl()
2536 BasicBlockEdge Incoming(Pred, BB); in foldSelectToPhiImpl()
H A DInstCombineCompares.cpp1392 BasicBlockEdge Edge0(BI->getParent(), BI->getSuccessor(0)); in foldICmpWithDominatingICmp()
1397 BasicBlockEdge Edge1(BI->getParent(), BI->getSuccessor(1)); in foldICmpWithDominatingICmp()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp721 BasicBlockEdge Edge0(BI->getParent(), BI->getSuccessor(0)); in computeKnownBitsFromContext()
726 BasicBlockEdge Edge1(BI->getParent(), BI->getSuccessor(1)); in computeKnownBitsFromContext()
2238 BasicBlockEdge Edge(BI->getParent(), NonNullSuccessor); in isKnownNonNullFromDominatingCondition()
6510 BasicBlockEdge NoWrapEdge(BI->getParent(), BI->getSuccessor(1)); in isOverflowIntrinsicNoWrap()
H A DScalarEvolution.cpp5964 BasicBlockEdge LeftEdge(BI->getParent(), BI->getSuccessor(0)); in BrPHIToSelect()
5965 BasicBlockEdge RightEdge(BI->getParent(), BI->getSuccessor(1)); in BrPHIToSelect()
11413 BasicBlockEdge DominatingEdge(PBB, BB); in isLoopBackedgeGuardedByCond()