Lines Matching defs:CheckLoc
535 static bool CreatePrologue(Function *F, Module *M, Instruction *CheckLoc,
539 PointerType *PtrTy = PointerType::getUnqual(CheckLoc->getContext());
566 Instruction *CheckLoc = dyn_cast<ReturnInst>(BB.getTerminator());
567 if (!CheckLoc && !DisableCheckNoReturn)
573 CheckLoc = CB;
577 if (!CheckLoc)
583 SupportsSelectionDAGSP &= CreatePrologue(F, M, CheckLoc, TLI, AI);
609 Instruction *Prev = CheckLoc->getPrevNonDebugInstruction();
611 CheckLoc = Prev;
615 CheckLoc = Prev;
624 IRBuilder<> B(CheckLoc);
662 IRBuilder<> B(CheckLoc);
674 SplitBlockAndInsertIfThen(Cmp, CheckLoc,