Lines Matching defs:IRB
31 IRBuilder<> IRB(M.getContext());
32 FunctionType *FnTy = FunctionType::get(IRB.getVoidTy(), false);
48 EltTy = StructType::get(IRB.getInt32Ty(),
50 IRB.getPtrTy());
55 CSVals[0] = IRB.getInt32(Priority);
57 CSVals[2] = Data ? ConstantExpr::getPointerCast(Data, IRB.getPtrTy())
58 : Constant::getNullValue(IRB.getPtrTy());
217 IRBuilder<> IRB(M.getContext());
228 IRB.SetInsertPoint(EntryBB);
230 IRB.CreateICmpNE(InitFn, ConstantPointerNull::get(InitFnPtr));
231 IRB.CreateCondBr(InitNotNull, CallInitBB, RetBB);
232 IRB.SetInsertPoint(CallInitBB);
234 IRB.SetInsertPoint(RetBB->getTerminator());
237 IRB.CreateCall(InitFunction, InitArgs);
240 VersionCheckName, FunctionType::get(IRB.getVoidTy(), {}, false),
242 IRB.CreateCall(VersionCheckFunction, {});
246 IRB.CreateBr(RetBB);