Lines Matching refs:IRB
30 IRBuilder<> IRB(M.getContext()); in appendToGlobalArray() local
31 FunctionType *FnTy = FunctionType::get(IRB.getVoidTy(), false); in appendToGlobalArray()
47 EltTy = StructType::get(IRB.getInt32Ty(), in appendToGlobalArray()
49 IRB.getPtrTy()); in appendToGlobalArray()
54 CSVals[0] = IRB.getInt32(Priority); in appendToGlobalArray()
56 CSVals[2] = Data ? ConstantExpr::getPointerCast(Data, IRB.getPtrTy()) in appendToGlobalArray()
57 : Constant::getNullValue(IRB.getPtrTy()); in appendToGlobalArray()
214 IRBuilder<> IRB(M.getContext()); in createSanitizerCtorAndInitFunctions() local
225 IRB.SetInsertPoint(EntryBB); in createSanitizerCtorAndInitFunctions()
227 IRB.CreateICmpNE(InitFn, ConstantPointerNull::get(InitFnPtr)); in createSanitizerCtorAndInitFunctions()
228 IRB.CreateCondBr(InitNotNull, CallInitBB, RetBB); in createSanitizerCtorAndInitFunctions()
229 IRB.SetInsertPoint(CallInitBB); in createSanitizerCtorAndInitFunctions()
231 IRB.SetInsertPoint(RetBB->getTerminator()); in createSanitizerCtorAndInitFunctions()
234 IRB.CreateCall(InitFunction, InitArgs); in createSanitizerCtorAndInitFunctions()
237 VersionCheckName, FunctionType::get(IRB.getVoidTy(), {}, false), in createSanitizerCtorAndInitFunctions()
239 IRB.CreateCall(VersionCheckFunction, {}); in createSanitizerCtorAndInitFunctions()
243 IRB.CreateBr(RetBB); in createSanitizerCtorAndInitFunctions()