/external/swiftshader/third_party/LLVM/lib/Transforms/Instrumentation/ |
EdgeProfiling.cpp | 73 NumEdges += BB->getTerminator()->getNumSuccessors(); 95 for (unsigned s = 0, e = TI->getNumSuccessors(); s != e; ++s) { 102 if (TI->getNumSuccessors() == 1) {
|
OptimalEdgeProfiling.cpp | 99 if (BB->getTerminator()->getNumSuccessors() == 0) { 103 NumEdges += BB->getTerminator()->getNumSuccessors(); 172 if (TI->getNumSuccessors() == 0) { 182 for (unsigned s = 0, e = TI->getNumSuccessors(); s != e; ++s) { 196 if (TI->getNumSuccessors() == 1) {
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
DeferredDominanceTest.cpp | 82 EXPECT_EQ(BB0->getTerminator()->getNumSuccessors(), 4u); 85 EXPECT_EQ(BB0->getTerminator()->getNumSuccessors(), 2u); 139 EXPECT_EQ(BB0->getTerminator()->getNumSuccessors(), 3u); 142 EXPECT_EQ(BB0->getTerminator()->getNumSuccessors(), 1u); 152 EXPECT_EQ(BB0->getTerminator()->getNumSuccessors(), 1u); 155 EXPECT_EQ(BB0->getTerminator()->getNumSuccessors(), 2u); 213 EXPECT_EQ(NewEntry->getTerminator()->getNumSuccessors(), 1u); 216 EXPECT_EQ(BB0->getTerminator()->getNumSuccessors(), 1u); 297 EXPECT_EQ(BB0->getTerminator()->getNumSuccessors(), 3u); 300 EXPECT_EQ(BB0->getTerminator()->getNumSuccessors(), 2u) [all...] |
DomTreeUpdaterTest.cpp | 91 EXPECT_EQ(BB0->getTerminator()->getNumSuccessors(), 3u); 99 EXPECT_EQ(BB0->getTerminator()->getNumSuccessors(), 2u); 194 EXPECT_EQ(NewEntry->getTerminator()->getNumSuccessors(), 1u); 197 EXPECT_EQ(BB0->getTerminator()->getNumSuccessors(), 1u); 271 EXPECT_EQ(BB0->getTerminator()->getNumSuccessors(), 4u); 274 EXPECT_EQ(BB0->getTerminator()->getNumSuccessors(), 2u); 367 EXPECT_EQ(BB0->getTerminator()->getNumSuccessors(), 3u); 370 EXPECT_EQ(BB0->getTerminator()->getNumSuccessors(), 2u); 401 EXPECT_EQ(BB0->getTerminator()->getNumSuccessors(), 2u); 404 EXPECT_EQ(BB0->getTerminator()->getNumSuccessors(), 1u) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Vectorize/ |
VPlanHCFGTest.cpp | 47 EXPECT_EQ(1u, Entry->getNumSuccessors()); 53 EXPECT_EQ(2u, VecBB->getNumSuccessors()); 129 EXPECT_EQ(1u, Entry->getNumSuccessors()); 134 EXPECT_EQ(2u, VecBB->getNumSuccessors());
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/ |
VPlanVerifier.cpp | 52 if (VPB->getNumSuccessors() > 1) 104 assert(!Exit->getNumSuccessors() && "Region exit has successors.");
|
VPlanHCFGTransforms.cpp | 29 if (Base->getNumPredecessors() == 0 || Base->getNumSuccessors() == 0)
|
VPlanHCFGBuilder.cpp | 250 assert((PreheaderBB->getTerminator()->getNumSuccessors() == 1) && 273 unsigned NumSuccs = TI->getNumSuccessors();
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
BranchProbabilityInfo.cpp | 97 if (TI->getNumSuccessors() > 1) 101 if (TI->getNumSuccessors() == 0) 116 return UINT32_MAX / BB->getTerminator()->getNumSuccessors(); 148 if (TI->getNumSuccessors() == 1) 159 if (WeightsNode->getNumOperands() != TI->getNumSuccessors() + 1) 167 Weights.reserve(TI->getNumSuccessors()); 175 assert(Weights.size() == TI->getNumSuccessors() && "Checked above"); 176 for (unsigned i = 0, e = TI->getNumSuccessors(); i != e; ++i) 185 if (BB->getTerminator()->getNumSuccessors() == 1) 260 uint32_t numSuccs = BB->getTerminator()->getNumSuccessors(); [all...] |
SparsePropagation.cpp | 123 Succs.resize(TI.getNumSuccessors()); 124 if (TI.getNumSuccessors() == 0) return; 183 Succs.assign(TI.getNumSuccessors(), true); 194 Succs.assign(TI.getNumSuccessors(), true); 210 for (unsigned i = 0, e = TI->getNumSuccessors(); i != e; ++i)
|
ProfileInfoLoaderPass.cpp | 167 for (unsigned s = 0, e = TI->getNumSuccessors(); s != e; ++s) { 188 if (TI->getNumSuccessors() == 0) { 191 for (unsigned s = 0, e = TI->getNumSuccessors(); s != e; ++s) {
|
/external/llvm/lib/Analysis/ |
BranchProbabilityInfo.cpp | 117 if (TI->getNumSuccessors() == 0) { 140 if (UnreachableEdges.size() == TI->getNumSuccessors()) 145 if (TI->getNumSuccessors() == 1 || UnreachableEdges.empty()) 184 if (TI->getNumSuccessors() == 1) 194 assert(TI->getNumSuccessors() < UINT32_MAX && "Too many successors"); 198 if (WeightsNode->getNumOperands() != TI->getNumSuccessors() + 1) 206 Weights.reserve(TI->getNumSuccessors()); 217 assert(Weights.size() == TI->getNumSuccessors() && "Checked above"); 225 for (unsigned i = 0, e = TI->getNumSuccessors(); i != e; ++i) { 231 for (unsigned i = 0, e = TI->getNumSuccessors(); i != e; ++i [all...] |
SparsePropagation.cpp | 124 Succs.resize(TI.getNumSuccessors()); 125 if (TI.getNumSuccessors() == 0) return; 184 Succs.assign(TI.getNumSuccessors(), true); 195 Succs.assign(TI.getNumSuccessors(), true); 211 for (unsigned i = 0, e = TI->getNumSuccessors(); i != e; ++i)
|
CFG.cpp | 76 unsigned e = Term->getNumSuccessors(); 90 assert(SuccNum < TI->getNumSuccessors() && "Illegal edge specification!"); 91 if (TI->getNumSuccessors() == 1) return false;
|
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/ |
BasicBlockUtils.h | 128 for (unsigned i = 0, e = TI->getNumSuccessors(); i != e; ++i) 145 assert(i != TI->getNumSuccessors() && "Edge doesn't exist!");
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
BreakCriticalEdges.cpp | 72 if (TI->getNumSuccessors() > 1 && !isa<IndirectBrInst>(TI)) 73 for (unsigned i = 0, e = TI->getNumSuccessors(); i != e; ++i) 93 assert(SuccNum < TI->getNumSuccessors() && "Illegal edge specification!"); 94 if (TI->getNumSuccessors() == 1) return false; 224 for (unsigned i = SuccNum+1, e = TI->getNumSuccessors(); i != e; ++i) {
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
BranchProbabilityInfo.cpp | 139 if (TI->getNumSuccessors() == 0) { 171 if (TI->getNumSuccessors() == 0) 207 assert(TI->getNumSuccessors() > 1 && "expected more than one successor!"); 250 assert(TI->getNumSuccessors() > 1 && "expected more than one successor!"); 259 assert(TI->getNumSuccessors() < UINT32_MAX && "Too many successors"); 263 if (WeightsNode->getNumOperands() != TI->getNumSuccessors() + 1) 273 Weights.reserve(TI->getNumSuccessors()); 288 assert(Weights.size() == TI->getNumSuccessors() && "Checked above"); 297 for (unsigned i = 0, e = TI->getNumSuccessors(); i != e; ++i) { 306 for (unsigned i = 0, e = TI->getNumSuccessors(); i != e; ++i [all...] |
CFG.cpp | 76 unsigned e = Term->getNumSuccessors(); 90 assert(SuccNum < TI->getNumSuccessors() && "Illegal edge specification!"); 91 if (TI->getNumSuccessors() == 1) return false;
|
/external/llvm/include/llvm/Transforms/Utils/ |
BasicBlockUtils.h | 142 for (unsigned i = 0, e = TI->getNumSuccessors(); i != e; ++i) 158 assert(i != TI->getNumSuccessors() && "Edge doesn't exist!");
|
/external/swiftshader/third_party/LLVM/unittests/VMCore/ |
InstructionsTest.cpp | 57 EXPECT_EQ(1U, b0->getNumSuccessors()); 75 EXPECT_EQ(2U, b1->getNumSuccessors());
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/ |
BasicBlockUtils.h | 148 for (unsigned i = 0, e = TI->getNumSuccessors(); i != e; ++i) 164 assert(i != TI->getNumSuccessors() && "Edge doesn't exist!");
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
SparsePropagation.h | 290 Succs.resize(TI.getNumSuccessors()); 291 if (TI.getNumSuccessors() == 0) 354 Succs.assign(TI.getNumSuccessors(), true); 366 Succs.assign(TI.getNumSuccessors(), true); 380 for (unsigned i = 0, e = TI->getNumSuccessors(); i != e; ++i)
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
CFG.h | 104 return idx >= 0 && (unsigned) idx < Term->getNumSuccessors(); 116 idx = Term->getNumSuccessors();
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
CFGMST.h | 126 if (int successors = TI->getNumSuccessors()) { 153 if (TargetTI && !TargetTI->getNumSuccessors()) {
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
BreakCriticalEdges.cpp | 187 for (unsigned i = SuccNum+1, e = TI->getNumSuccessors(); i != e; ++i) { 346 for (unsigned Succ = 0, E = IBI->getNumSuccessors(); Succ != E; ++Succ) 371 for (unsigned I = 0, E = BodyBlock->getTerminator()->getNumSuccessors();
|