Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DGuardWidening.cpp268 IntrinsicInst *GuardInst, const df_iterator<DomTreeNode *> &DFSI, in eliminateGuardViaWidening() argument
273 auto *GuardInstLoop = LI.getLoopFor(GuardInst->getParent()); in eliminateGuardViaWidening()
300 assert((i == (e - 1)) == (GuardInst->getParent() == CurBB) && "Bad DFS?"); in eliminateGuardViaWidening()
305 auto NewEnd = std::find(I, E, GuardInst); in eliminateGuardViaWidening()
312 computeWideningScore(GuardInst, GuardInstLoop, Candidate, CurLoop); in eliminateGuardViaWidening()
313 DEBUG(dbgs() << "Score between " << *GuardInst->getArgOperand(0) in eliminateGuardViaWidening()
324 DEBUG(dbgs() << "Did not eliminate guard " << *GuardInst << "\n"); in eliminateGuardViaWidening()
328 assert(BestSoFar != GuardInst && "Should have never visited same guard!"); in eliminateGuardViaWidening()
329 assert(DT.dominates(BestSoFar, GuardInst) && "Should be!"); in eliminateGuardViaWidening()
331 DEBUG(dbgs() << "Widening " << *GuardInst << " into " << *BestSoFar in eliminateGuardViaWidening()
[all …]