Lines Matching refs:Builder
50 IRBuilder<> &Builder);
52 IRBuilder<> &Builder);
55 IRBuilder<> &Builder);
57 IRBuilder<> &Builder);
111 IRBuilder<> Builder(I->getEntryBlock().getFirstNonPHIOrDbg());
120 i, remapConstant(&M, &*I, cast<Constant>(Operand), Builder));
169 IRBuilder<> &Builder) {
181 CVTA = Builder.CreateBitCast(GV, DestTy, "cvta");
187 CVTA = Builder.CreateCall(CVTAFunction, CVTA, "cvta");
192 CVTA = Builder.CreateBitCast(CVTA, DestTy, "cvta");
201 CVTA = Builder.CreateCall(CVTAFunction, GV, "cvta");
208 IRBuilder<> &Builder) {
228 NewValue = getOrInsertCVTA(M, F, I->second, Builder);
234 NewValue = remapConstantVectorOrConstantAggregate(M, F, C, Builder);
239 NewValue = remapConstantExpr(M, F, cast<ConstantExpr>(C), Builder);
247 Module *M, Function *F, Constant *C, IRBuilder<> &Builder) {
256 Value *NewOperand = remapConstant(M, F, cast<Constant>(Operand), Builder);
273 NewValue = Builder.CreateInsertElement(NewValue, NewOperands[i], Idx);
278 Builder.CreateInsertValue(NewValue, NewOperands[i], makeArrayRef(i));
286 IRBuilder<> &Builder) {
295 Value *NewOperand = remapConstant(M, F, cast<Constant>(Operand), Builder);
311 return Builder.CreateICmp(CmpInst::Predicate(C->getPredicate()),
319 return Builder.CreateExtractElement(NewOperands[0], NewOperands[1]);
322 return Builder.CreateInsertElement(NewOperands[0], NewOperands[1],
326 return Builder.CreateShuffleVector(NewOperands[0], NewOperands[1],
330 return Builder.CreateExtractValue(NewOperands[0], C->getIndices());
333 return Builder.CreateInsertValue(NewOperands[0], NewOperands[1],
338 ? Builder.CreateGEP(
342 : Builder.CreateInBoundsGEP(
348 return Builder.CreateSelect(NewOperands[0], NewOperands[1], NewOperands[2]);
352 return Builder.CreateBinOp(Instruction::BinaryOps(C->getOpcode()),
357 return Builder.CreateCast(Instruction::CastOps(C->getOpcode()),