Home
last modified time | relevance | path

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

/external/llvm/include/llvm/IR/
DDominators.h43 class BasicBlockEdge {
47 BasicBlockEdge(const BasicBlock *Start_, const BasicBlock *End_) : in BasicBlockEdge() function
58 template <> struct DenseMapInfo<BasicBlockEdge> {
59 static unsigned getHashValue(const BasicBlockEdge *V);
61 static inline BasicBlockEdge getEmptyKey() {
62 return BasicBlockEdge(BBInfo::getEmptyKey(), BBInfo::getEmptyKey());
64 static inline BasicBlockEdge getTombstoneKey() {
65 return BasicBlockEdge(BBInfo::getTombstoneKey(), BBInfo::getTombstoneKey());
68 static unsigned getHashValue(const BasicBlockEdge &Edge) {
72 static bool isEqual(const BasicBlockEdge &LHS, const BasicBlockEdge &RHS) {
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DDominators.h74 class BasicBlockEdge {
79 BasicBlockEdge(const BasicBlock *Start_, const BasicBlock *End_) :
82 BasicBlockEdge(const std::pair<BasicBlock *, BasicBlock *> &Pair)
85 BasicBlockEdge(const std::pair<const BasicBlock *, const BasicBlock *> &Pair)
100 template <> struct DenseMapInfo<BasicBlockEdge> {
103 static unsigned getHashValue(const BasicBlockEdge *V);
105 static inline BasicBlockEdge getEmptyKey() {
106 return BasicBlockEdge(BBInfo::getEmptyKey(), BBInfo::getEmptyKey());
109 static inline BasicBlockEdge getTombstoneKey() {
110 return BasicBlockEdge(BBInfo::getTombstoneKey(), BBInfo::getTombstoneKey());
[all …]
/external/llvm/lib/IR/
DDominators.cpp40 bool BasicBlockEdge::isSingleEdge() const { in isSingleEdge()
131 BasicBlockEdge E(DefBB, NormalDest); in dominates()
138 bool DominatorTree::dominates(const BasicBlockEdge &BBE, in dominates()
190 bool DominatorTree::dominates(const BasicBlockEdge &BBE, const Use &U) const { in dominates()
242 BasicBlockEdge E(DefBB, NormalDest); in dominates()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DDominators.cpp43 bool BasicBlockEdge::isSingleEdge() const { in isSingleEdge()
167 BasicBlockEdge E(DefBB, NormalDest); in dominates()
174 bool DominatorTree::dominates(const BasicBlockEdge &BBE, in dominates()
226 bool DominatorTree::dominates(const BasicBlockEdge &BBE, const Use &U) const { in dominates()
272 BasicBlockEdge E(DefBB, NormalDest); in dominates()
/external/llvm/include/llvm/Transforms/Utils/
DLocal.h322 const BasicBlockEdge &Edge);
/external/llvm/include/llvm/Transforms/Scalar/
DGVN.h220 bool propagateEquality(Value *LHS, Value *RHS, const BasicBlockEdge &Root,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DLocal.h403 const BasicBlockEdge &Edge);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DGVN.cpp1419 BasicBlockEdge Edge(IntrinsicI->getParent(), Successor); in processAssumeIntrinsic()
1672 static bool isOnlyReachableViaThisEdge(const BasicBlockEdge &E, in isOnlyReachableViaThisEdge()
1716 bool GVN::propagateEquality(Value *LHS, Value *RHS, const BasicBlockEdge &Root, in propagateEquality()
1935 BasicBlockEdge TrueE(Parent, TrueSucc); in processInstruction()
1939 BasicBlockEdge FalseE(Parent, FalseSucc); in processInstruction()
1961 BasicBlockEdge E(Parent, Dst); in processInstruction()
DIndVarSimplify.cpp1706 auto DominatesNarrowUser = [this, NarrowUser] (BasicBlockEdge BBE) { in calculatePostIncRange()
1711 if (DominatesNarrowUser(BasicBlockEdge(BB, TrueSuccessor))) in calculatePostIncRange()
1714 if (DominatesNarrowUser(BasicBlockEdge(BB, FalseSuccessor))) in calculatePostIncRange()
DEarlyCSE.cpp749 BasicBlockEdge(Pred, BB))) { in handleBranchCondition()
DNewGVN.cpp621 using BlockEdge = BasicBlockEdge;
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DDominatorTreeTest.cpp307 BasicBlockEdge Edge_BB0_BB2(BB0, TI->getSuccessor(0)); in TEST()
311 BasicBlockEdge Edge_BB0_BB1_a(BB0, TI->getSuccessor(1)); in TEST()
314 BasicBlockEdge Edge_BB0_BB1_b(BB0, TI->getSuccessor(2)); in TEST()
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp1704 BasicBlockEdge Edge(IntrinsicI->getParent(), Successor); in processAssumeIntrinsic()
1853 static bool isOnlyReachableViaThisEdge(const BasicBlockEdge &E, in isOnlyReachableViaThisEdge()
1890 bool GVN::propagateEquality(Value *LHS, Value *RHS, const BasicBlockEdge &Root, in propagateEquality()
2109 BasicBlockEdge TrueE(Parent, TrueSucc); in processInstruction()
2113 BasicBlockEdge FalseE(Parent, FalseSucc); in processInstruction()
2135 BasicBlockEdge E(Parent, Dst); in processInstruction()
DEarlyCSE.cpp528 BasicBlockEdge(Pred, BB))) { in processNode()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Scalar/
DGVN.h282 bool propagateEquality(Value *LHS, Value *RHS, const BasicBlockEdge &Root,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLocal.cpp2371 const BasicBlockEdge &Root) { in replaceDominatedUsesWith()
2372 auto Dominates = [&DT](const BasicBlockEdge &Root, const Use &U) { in replaceDominatedUsesWith()
/external/llvm/lib/Transforms/Utils/
DLocal.cpp1651 const BasicBlockEdge &Root) { in replaceDominatedUsesWith()
/external/llvm/lib/Analysis/
DValueTracking.cpp3253 BasicBlockEdge Edge(BI->getParent(), NonNullSuccessor); in isKnownNonNullFromDominatingCondition()
3436 BasicBlockEdge NoWrapEdge(BI->getParent(), BI->getSuccessor(1)); in isOverflowIntrinsicNoWrap()
DScalarEvolution.cpp4144 BasicBlockEdge LeftEdge(BI->getParent(), BI->getSuccessor(0)); in BrPHIToSelect()
4145 BasicBlockEdge RightEdge(BI->getParent(), BI->getSuccessor(1)); in BrPHIToSelect()
7959 BasicBlockEdge DominatingEdge(PBB, BB); in isLoopBackedgeGuardedByCond()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DValueTracking.cpp1869 BasicBlockEdge Edge(BI->getParent(), NonNullSuccessor); in isKnownNonNullFromDominatingCondition()
4004 BasicBlockEdge NoWrapEdge(BI->getParent(), BI->getSuccessor(1)); in isOverflowIntrinsicNoWrap()
DScalarEvolution.cpp5249 BasicBlockEdge LeftEdge(BI->getParent(), BI->getSuccessor(0)); in BrPHIToSelect()
5250 BasicBlockEdge RightEdge(BI->getParent(), BI->getSuccessor(1)); in BrPHIToSelect()
9268 BasicBlockEdge DominatingEdge(PBB, BB); in isLoopBackedgeGuardedByCond()