Lines Matching refs:CheckLoc
535 static bool CreatePrologue(Function *F, Module *M, Instruction *CheckLoc, in CreatePrologue() argument
539 PointerType *PtrTy = PointerType::getUnqual(CheckLoc->getContext()); in CreatePrologue()
567 Instruction *CheckLoc = dyn_cast<ReturnInst>(BB.getTerminator()); in InsertStackProtectors() local
568 if (!CheckLoc && !DisableCheckNoReturn) in InsertStackProtectors()
574 CheckLoc = CB; in InsertStackProtectors()
578 if (!CheckLoc) in InsertStackProtectors()
584 SupportsSelectionDAGSP &= CreatePrologue(F, M, CheckLoc, TLI, AI); in InsertStackProtectors()
610 Instruction *Prev = CheckLoc->getPrevNonDebugInstruction(); in InsertStackProtectors()
612 CheckLoc = Prev; in InsertStackProtectors()
616 CheckLoc = Prev; in InsertStackProtectors()
625 IRBuilder<> B(CheckLoc); in InsertStackProtectors()
663 IRBuilder<> B(CheckLoc); in InsertStackProtectors()
675 SplitBlockAndInsertIfThen(Cmp, CheckLoc, in InsertStackProtectors()