|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/IR/IRBuilder.h 876 return Insert(ReturnInst::Create(Context));
881 return Insert(ReturnInst::Create(Context, V));
895 return Insert(ReturnInst::Create(Context, V));
900 return Insert(BranchInst::Create(Dest));
908 return Insert(addBranchMetadata(BranchInst::Create(True, False, Cond),
922 return Insert(Br);
931 return Insert(addBranchMetadata(SwitchInst::Create(V, Dest, NumCases),
939 return Insert(IndirectBrInst::Create(Addr, NumDests));
948 return Insert(
956 return Insert(InvokeInst::Create(Ty, Callee, NormalDest, UnwindDest, Args),
1004 return Insert(CallBrInst::Create(Ty, Callee, DefaultDest, IndirectDests,
1035 return Insert(ResumeInst::Create(Exn));
1040 return Insert(CleanupReturnInst::Create(CleanupPad, UnwindBB));
1046 return Insert(CatchSwitchInst::Create(ParentPad, UnwindBB, NumHandlers),
1052 return Insert(CatchPadInst::Create(ParentPad, Args), Name);
1058 return Insert(CleanupPadInst::Create(ParentPad, Args), Name);
1062 return Insert(CatchReturnInst::Create(CatchPad, BB));
1066 return Insert(new UnreachableInst(Context));
1077 BinaryOperator *BO = Insert(BinaryOperator::Create(Opc, LHS, RHS), Name);
1097 return (LC && RC) ? Insert(Folder.CreateBinOp(Opc, LC, RC), Name) : nullptr;
1137 return Insert(Folder.CreateAdd(LC, RC, HasNUW, HasNSW), Name);
1154 return Insert(Folder.CreateSub(LC, RC, HasNUW, HasNSW), Name);
1171 return Insert(Folder.CreateMul(LC, RC, HasNUW, HasNSW), Name);
1188 return Insert(Folder.CreateUDiv(LC, RC, isExact), Name);
1190 return Insert(BinaryOperator::CreateUDiv(LHS, RHS), Name);
1191 return Insert(BinaryOperator::CreateExactUDiv(LHS, RHS), Name);
1204 return Insert(BinaryOperator::CreateSDiv(LHS, RHS), Name);
1205 return Insert(BinaryOperator::CreateExactSDiv(LHS, RHS), Name);
1214 return Insert(BinaryOperator::CreateURem(LHS, RHS), Name);
1219 return Insert(BinaryOperator::CreateSRem(LHS, RHS), Name);
1226 return Insert(Folder.CreateShl(LC, RC, HasNUW, HasNSW), Name);
1247 return Insert(Folder.CreateLShr(LC, RC, isExact), Name);
1249 return Insert(BinaryOperator::CreateLShr(LHS, RHS), Name);
1250 return Insert(BinaryOperator::CreateExactLShr(LHS, RHS), Name);
1269 return Insert(BinaryOperator::CreateAShr(LHS, RHS), Name);
1270 return Insert(BinaryOperator::CreateExactAShr(LHS, RHS), Name);
1288 return Insert(Folder.CreateAnd(LC, RC), Name);
1290 return Insert(BinaryOperator::CreateAnd(LHS, RHS), Name);
1314 return Insert(Folder.CreateOr(LC, RC), Name);
1316 return Insert(BinaryOperator::CreateOr(LHS, RHS), Name);
1337 return Insert(BinaryOperator::CreateXor(LHS, RHS), Name);
1356 return Insert(I, Name);
1370 return Insert(I, Name);
1381 return Insert(I, Name);
1395 return Insert(I, Name);
1406 return Insert(I, Name);
1420 return Insert(I, Name);
1431 return Insert(I, Name);
1445 return Insert(I, Name);
1456 return Insert(I, Name);
1470 return Insert(I, Name);
1480 return Insert(BinOp, Name);
1506 BinaryOperator *BO = Insert(BinaryOperator::CreateNeg(V), Name);
1523 return Insert(Folder.CreateFNeg(VC), Name);
1524 return Insert(setFPAttrs(UnaryOperator::CreateFNeg(V), FPMathTag, FMF),
1533 return Insert(Folder.CreateFNeg(VC), Name);
1534 return Insert(setFPAttrs(UnaryOperator::CreateFNeg(V), nullptr,
1541 return Insert(Folder.CreateNot(VC), Name);
1542 return Insert(BinaryOperator::CreateNot(V), Name);
1549 return Insert(Folder.CreateUnOp(Opc, VC), Name);
1553 return Insert(UnOp, Name);
1580 return Insert(new AllocaInst(Ty, AddrSpace, ArraySize), Name);
1586 return Insert(new AllocaInst(Ty, DL.getAllocaAddrSpace(), ArraySize), Name);
1592 return Insert(new LoadInst(Ty, Ptr), Name);
1596 return Insert(new LoadInst(Ty, Ptr), Name);
1601 return Insert(new LoadInst(Ty, Ptr, Twine(), isVolatile), Name);
1621 return Insert(new StoreInst(Val, Ptr, isVolatile));
1674 return Insert(new FenceInst(Context, Ordering, SSID), Name);
1682 return Insert(new AtomicCmpXchgInst(Ptr, Cmp, New, SuccessOrdering,
1689 return Insert(new AtomicRMWInst(Op, Ptr, Val, Ordering, SSID));
1706 return Insert(Folder.CreateGetElementPtr(Ty, PC, IdxList), Name);
1708 return Insert(GetElementPtrInst::Create(Ty, Ptr, IdxList), Name);
1725 return Insert(Folder.CreateInBoundsGetElementPtr(Ty, PC, IdxList),
1728 return Insert(GetElementPtrInst::CreateInBounds(Ty, Ptr, IdxList), Name);
1739 return Insert(GetElementPtrInst::Create(Ty, Ptr, Idx), Name);
1747 return Insert(GetElementPtrInst::CreateInBounds(Ty, Ptr, Idx), Name);
1761 return Insert(GetElementPtrInst::Create(Ty, Ptr, Idx), Name);
1771 return Insert(GetElementPtrInst::CreateInBounds(Ty, Ptr, Idx), Name);
1784 return Insert(GetElementPtrInst::Create(Ty, Ptr, Idxs), Name);
1797 return Insert(GetElementPtrInst::CreateInBounds(Ty, Ptr, Idxs), Name);
1807 return Insert(GetElementPtrInst::Create(Ty, Ptr, Idx), Name);
1821 return Insert(GetElementPtrInst::CreateInBounds(Ty, Ptr, Idx), Name);
1839 return Insert(GetElementPtrInst::Create(Ty, Ptr, Idxs), Name);
1857 return Insert(GetElementPtrInst::CreateInBounds(Ty, Ptr, Idxs), Name);
1995 return Insert(CastInst::CreateZExtOrBitCast(V, DestTy), Name);
2004 return Insert(CastInst::CreateSExtOrBitCast(V, DestTy), Name);
2013 return Insert(CastInst::CreateTruncOrBitCast(V, DestTy), Name);
2021 return Insert(Folder.CreateCast(Op, VC, DestTy), Name);
2022 return Insert(CastInst::Create(Op, V, DestTy), Name);
2031 return Insert(CastInst::CreatePointerCast(V, DestTy), Name);
2044 return Insert(CastInst::CreatePointerBitCastOrAddrSpaceCast(V, DestTy),
2054 return Insert(CastInst::CreateIntegerCast(V, DestTy, isSigned), Name);
2074 return Insert(CastInst::CreateFPCast(V, DestTy), Name);
2233 return Insert(Folder.CreateICmp(P, LC, RC), Name);
2234 return Insert(new ICmpInst(P, LHS, RHS), Name);
2241 return Insert(Folder.CreateFCmp(P, LC, RC), Name);
2242 return Insert(setFPAttrs(new FCmpInst(P, LHS, RHS), FPMathTag, FMF), Name);
2254 return Insert(Phi, Name);
2265 return Insert(CI, Name);
2276 return Insert(CI, Name);
2314 return Insert(Folder.CreateSelect(CC, TC, FC), Name);
2324 return Insert(Sel, Name);
2328 return Insert(new VAArgInst(List, Ty), Name);
2335 return Insert(Folder.CreateExtractElement(VC, IC), Name);
2336 return Insert(ExtractElementInst::Create(Vec, Idx), Name);
2349 return Insert(Folder.CreateInsertElement(VC, NC, IC), Name);
2350 return Insert(InsertElementInst::Create(Vec, NewElt, Idx), Name);
2363 return Insert(Folder.CreateShuffleVector(V1C, V2C, MC), Name);
2364 return Insert(new ShuffleVectorInst(V1, V2, Mask), Name);
2378 return Insert(ExtractValueInst::Create(Agg, Idxs), Name);
2387 return Insert(InsertValueInst::Create(Agg, Val, Idxs), Name);
2392 return Insert(LandingPadInst::Create(Ty, NumClauses), Name);
lib/Analysis/LoopAccessAnalysis.cpp 2268 ChkBuilder.Insert(Check, "memcheck.conflict");
lib/CodeGen/ExpandMemCmp.cpp 303 Builder.Insert(CmpBr);
307 Builder.Insert(CmpBr);
414 Builder.Insert(CmpBr);
485 Builder.Insert(CmpBr);
508 Builder.Insert(NewBr);
522 Builder.Insert(NewBr);
lib/IR/Core.cpp 3021 unwrap(Builder)->Insert(unwrap<Instruction>(Instr));
3026 unwrap(Builder)->Insert(unwrap<Instruction>(Instr), Name);
3428 return wrap(unwrap(B)->Insert(Malloc, Twine(Name)));
3439 return wrap(unwrap(B)->Insert(Malloc, Twine(Name)));
3477 return wrap(unwrap(B)->Insert(
lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp 573 B.Insert(NewI);
lib/Target/X86/X86WinEHState.cpp 446 Builder.Insert(GEP);
lib/Transforms/InstCombine/InstCombineAddSub.cpp 1197 Builder.Insert(NewAShr);
1793 Builder.Insert(NewShift);
1805 Builder.Insert(NewShift);
lib/Transforms/InstCombine/InstCombineSelect.cpp 878 Builder.Insert(NewI);
lib/Transforms/InstCombine/InstCombineShifts.cpp 134 Builder.Insert(NewShift);
282 Builder.Insert(NewShift);
1161 Builder.Insert(NewAShr);
lib/Transforms/InstCombine/InstructionCombining.cpp 1995 return new AddrSpaceCastInst(Builder.Insert(Res), GEPType);
lib/Transforms/Scalar/IndVarSimplify.cpp 1134 Builder.Insert(WideBO);
1226 Builder.Insert(WideBO);
1507 Builder.Insert(WideBO);
lib/Transforms/Scalar/MergeICmps.cpp 620 Value *const Lhs = Builder.Insert(FirstCmp.Lhs().GEP->clone());
621 Value *const Rhs = Builder.Insert(FirstCmp.Rhs().GEP->clone());
lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp 66 Builder.Insert(LibCall);
lib/Transforms/Utils/SimplifyLibCalls.cpp 2394 B.Insert(New);
2407 B.Insert(New);
2489 B.Insert(New);
2502 B.Insert(New);
2662 B.Insert(New);
2675 B.Insert(New);
lib/Transforms/Vectorize/LoopVectorize.cpp 2507 Builder.Insert(Cloned);
4088 auto *Clone = Builder.Insert(GEP->clone());
tools/clang/lib/CodeGen/CodeGenFunction.cpp 2383 Builder.Insert(Assumption);
tools/polly/lib/CodeGen/BlockGenerators.cpp 239 Builder.Insert(NewInst);
unittests/IR/IRBuilderTest.cpp 739 Builder.Insert(I);