Home
last modified time | relevance | path

Searched refs:Backedge (Results 1 – 23 of 23) sorted by relevance

/external/llvm-project/llvm/test/Analysis/BlockFrequencyInfo/
Ddouble_exit.ll14 ; Backedge mass = 1/3, exit mass = 2/3
27 ; Backedge mass = 3/5, exit mass = 2/5
87 ; Backedge mass = 1/2, exit mass = 1/2
100 ; Backedge mass = 1/3, exit mass = 2/3
113 ; Backedge mass = 3/5, exit mass = 2/5
/external/llvm/test/Analysis/BlockFrequencyInfo/
Ddouble_exit.ll14 ; Backedge mass = 1/3, exit mass = 2/3
27 ; Backedge mass = 3/5, exit mass = 2/5
87 ; Backedge mass = 1/2, exit mass = 1/2
100 ; Backedge mass = 1/3, exit mass = 2/3
113 ; Backedge mass = 3/5, exit mass = 2/5
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLoopInfo.cpp123 BasicBlock *&Backedge) const { in getIncomingAndBackEdge()
127 Backedge = nullptr; in getIncomingAndBackEdge()
130 Backedge = *PI++; in getIncomingAndBackEdge()
138 if (contains(Backedge)) in getIncomingAndBackEdge()
140 std::swap(Incoming, Backedge); in getIncomingAndBackEdge()
141 } else if (!contains(Backedge)) in getIncomingAndBackEdge()
144 assert(Incoming && Backedge && "expected non-null incoming and backedges"); in getIncomingAndBackEdge()
151 BasicBlock *Incoming = nullptr, *Backedge = nullptr; in getCanonicalInductionVariable() local
152 if (!getIncomingAndBackEdge(Incoming, Backedge)) in getCanonicalInductionVariable()
162 dyn_cast<Instruction>(PN->getIncomingValueForBlock(Backedge))) in getCanonicalInductionVariable()
DBlockFrequencyInfoImpl.cpp447 if (W.Type == Weight::Backedge) { in distributeMass()
/external/llvm-project/llvm/lib/Analysis/
DLoopInfo.cpp124 BasicBlock *&Backedge) const { in getIncomingAndBackEdge()
128 Backedge = nullptr; in getIncomingAndBackEdge()
131 Backedge = *PI++; in getIncomingAndBackEdge()
139 if (contains(Backedge)) in getIncomingAndBackEdge()
141 std::swap(Incoming, Backedge); in getIncomingAndBackEdge()
142 } else if (!contains(Backedge)) in getIncomingAndBackEdge()
145 assert(Incoming && Backedge && "expected non-null incoming and backedges"); in getIncomingAndBackEdge()
152 BasicBlock *Incoming = nullptr, *Backedge = nullptr; in getCanonicalInductionVariable() local
153 if (!getIncomingAndBackEdge(Incoming, Backedge)) in getCanonicalInductionVariable()
163 dyn_cast<Instruction>(PN->getIncomingValueForBlock(Backedge))) in getCanonicalInductionVariable()
DBlockFrequencyInfoImpl.cpp453 if (W.Type == Weight::Backedge) { in distributeMass()
/external/llvm/lib/Analysis/
DLoopInfo.cpp113 BasicBlock *Incoming = nullptr, *Backedge = nullptr; in getCanonicalInductionVariable() local
117 Backedge = *PI++; in getCanonicalInductionVariable()
123 if (contains(Backedge)) in getCanonicalInductionVariable()
125 std::swap(Incoming, Backedge); in getCanonicalInductionVariable()
126 } else if (!contains(Backedge)) in getCanonicalInductionVariable()
136 dyn_cast<Instruction>(PN->getIncomingValueForBlock(Backedge))) in getCanonicalInductionVariable()
DBlockFrequencyInfoImpl.cpp422 if (W.Type == Weight::Backedge) { in distributeMass()
/external/llvm/include/llvm/Analysis/
DLoopInfoImpl.h486 BlockT *Backedge = *PI; in analyze() local
489 if (DomTree.dominates(Header, Backedge) in analyze()
490 && DomTree.isReachableFromEntry(Backedge)) { in analyze()
491 Backedges.push_back(Backedge); in analyze()
DBlockFrequencyInfoImpl.h335 enum DistType { Local, Exit, Backedge };
366 add(Node, Amount, Weight::Backedge);
/external/llvm-project/llvm/include/llvm/Analysis/
DLoopInfoImpl.h553 for (const auto Backedge : children<Inverse<BlockT *>>(Header)) { in analyze() local
555 if (DomTree.dominates(Header, Backedge) && in analyze()
556 DomTree.isReachableFromEntry(Backedge)) { in analyze()
557 Backedges.push_back(Backedge); in analyze()
DBlockFrequencyInfoImpl.h361 enum DistType { Local, Exit, Backedge }; enumerator
397 add(Node, Amount, Weight::Backedge); in addBackedge()
DLoopInfo.h594 BasicBlock *&Backedge) const;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DLoopInfoImpl.h547 for (const auto Backedge : children<Inverse<BlockT *>>(Header)) { in analyze() local
549 if (DomTree.dominates(Header, Backedge) && in analyze()
550 DomTree.isReachableFromEntry(Backedge)) { in analyze()
551 Backedges.push_back(Backedge); in analyze()
DBlockFrequencyInfoImpl.h357 enum DistType { Local, Exit, Backedge }; enumerator
393 add(Node, Amount, Weight::Backedge); in addBackedge()
DLoopInfo.h574 BasicBlock *&Backedge) const;
/external/llvm-project/llvm/unittests/Transforms/Utils/
DScalarEvolutionExpanderTest.cpp599 BasicBlock *Incoming = nullptr, *Backedge = nullptr; in TEST_F() local
600 EXPECT_TRUE(Loop->getIncomingAndBackEdge(Incoming, Backedge)); in TEST_F()
604 auto *Next = NewCanonicalIV->getIncomingValueForBlock(Backedge); in TEST_F()
/external/llvm-project/llvm/test/Transforms/HotColdSplit/
Dlifetime-markers-on-inputs-2.ll172 ; Backedge.
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp572 MachineBasicBlock *Backedge = *PI++; in getLoopTripCount() local
582 if (L->contains(Backedge)) in getLoopTripCount()
584 std::swap(Incoming, Backedge); in getLoopTripCount()
585 } else if (!L->contains(Backedge)) in getLoopTripCount()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp572 MachineBasicBlock *Backedge = *PI++; in getLoopTripCount() local
582 if (L->contains(Backedge)) in getLoopTripCount()
584 std::swap(Incoming, Backedge); in getLoopTripCount()
585 } else if (!L->contains(Backedge)) in getLoopTripCount()
/external/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp539 MachineBasicBlock *Backedge = *PI++; in getLoopTripCount() local
549 if (L->contains(Backedge)) in getLoopTripCount()
551 std::swap(Incoming, Backedge); in getLoopTripCount()
552 } else if (!L->contains(Backedge)) in getLoopTripCount()
/external/llvm/lib/Transforms/Utils/
DMemorySSA.cpp1168 bool Backedge = in UpwardsDFSWalk() local
1173 UpwardsDFSWalk(MPI->first, MPI->second, Q, Backedge); in UpwardsDFSWalk()
/external/llvm-project/llvm/unittests/Analysis/
DScalarEvolutionTest.cpp1358 auto *Backedge = getInstructionByName(F, "iv.next")->getParent(); in TEST_F() local
1359 ASSERT_TRUE(Backedge); in TEST_F()