Home
last modified time | relevance | path

Searched refs:KnownSucc (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DLoopUnrollPass.cpp456 BasicBlock *KnownSucc = nullptr; in analyzeLoopUnrollCost() local
463 KnownSucc = BI->getSuccessor(0); in analyzeLoopUnrollCost()
466 KnownSucc = BI->getSuccessor(SimpleCondVal->isZero() ? 1 : 0); in analyzeLoopUnrollCost()
474 KnownSucc = SI->getSuccessor(0); in analyzeLoopUnrollCost()
477 KnownSucc = SI->findCaseValue(SimpleCondVal).getCaseSuccessor(); in analyzeLoopUnrollCost()
480 if (KnownSucc) { in analyzeLoopUnrollCost()
481 if (L->contains(KnownSucc)) in analyzeLoopUnrollCost()
482 BBWorklist.insert(KnownSucc); in analyzeLoopUnrollCost()
484 ExitWorklist.insert({BB, KnownSucc}); in analyzeLoopUnrollCost()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopUnrollPass.cpp547 BasicBlock *KnownSucc = nullptr; in analyzeLoopUnrollCost() local
554 KnownSucc = BI->getSuccessor(0); in analyzeLoopUnrollCost()
557 KnownSucc = BI->getSuccessor(SimpleCondVal->isZero() ? 1 : 0); in analyzeLoopUnrollCost()
565 KnownSucc = SI->getSuccessor(0); in analyzeLoopUnrollCost()
568 KnownSucc = SI->findCaseValue(SimpleCondVal)->getCaseSuccessor(); in analyzeLoopUnrollCost()
571 if (KnownSucc) { in analyzeLoopUnrollCost()
572 if (L->contains(KnownSucc)) in analyzeLoopUnrollCost()
573 BBWorklist.insert(KnownSucc); in analyzeLoopUnrollCost()
575 ExitWorklist.insert({BB, KnownSucc}); in analyzeLoopUnrollCost()