Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DGuardWidening.cpp112 static void eliminateGuard(Instruction *GuardInst) { in eliminateGuard() argument
113 GuardInst->eraseFromParent(); in eliminateGuard()
342 Instruction *GuardInst, const df_iterator<DomTreeNode *> &DFSI, in eliminateGuardViaWidening() argument
348 if (isa<ConstantInt>(getCondition(GuardInst))) in eliminateGuardViaWidening()
353 auto *GuardInstLoop = LI.getLoopFor(GuardInst->getParent()); in eliminateGuardViaWidening()
384 if (i == (e - 1) && CurBB->getTerminator() != GuardInst) { in eliminateGuardViaWidening()
387 auto NewEnd = std::find(I, E, GuardInst); in eliminateGuardViaWidening()
412 assert(DT.dominates(BestSoFar, GuardInst) && "Should be!"); in eliminateGuardViaWidening()
417 widenGuard(BestSoFar, getCondition(GuardInst), InvertCondition); in eliminateGuardViaWidening()
421 setCondition(GuardInst, NewGuardCondition); in eliminateGuardViaWidening()
[all …]