reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
2640 BasicBlock *CurBB = unwrap(Builder)->GetInsertBlock(); 2988 return wrap(new IRBuilder<>(*unwrap(C))); 2999 unwrap(Builder)->SetInsertPoint(BB, I); 3004 unwrap(Builder)->SetInsertPoint(I->getParent(), I->getIterator()); 3009 unwrap(Builder)->SetInsertPoint(BB); 3013 return wrap(unwrap(Builder)->GetInsertBlock()); 3017 unwrap(Builder)->ClearInsertionPoint(); 3021 unwrap(Builder)->Insert(unwrap<Instruction>(Instr)); 3026 unwrap(Builder)->Insert(unwrap<Instruction>(Instr), Name); 3030 delete unwrap(Builder); 3036 return wrap(unwrap(Builder)->getCurrentDebugLocation().getAsMDNode()); 3041 unwrap(Builder)->SetCurrentDebugLocation(DebugLoc(unwrap<MDNode>(Loc))); 3043 unwrap(Builder)->SetCurrentDebugLocation(DebugLoc()); 3049 unwrap(Builder)->SetCurrentDebugLocation(DebugLoc(Loc)); 3053 LLVMContext &Context = unwrap(Builder)->getContext(); 3055 Context, unwrap(Builder)->getCurrentDebugLocation().getAsMDNode())); 3059 unwrap(Builder)->SetInstDebugLocation(unwrap<Instruction>(Inst)); 3065 unwrap(Builder)->setDefaultFPMathTag(FPMathTag 3071 return wrap(unwrap(Builder)->getDefaultFPMathTag()); 3077 return wrap(unwrap(B)->CreateRetVoid()); 3081 return wrap(unwrap(B)->CreateRet(unwrap(V))); 3086 return wrap(unwrap(B)->CreateAggregateRet(unwrap(RetVals), N)); 3090 return wrap(unwrap(B)->CreateBr(unwrap(Dest))); 3095 return wrap(unwrap(B)->CreateCondBr(unwrap(If), unwrap(Then), unwrap(Else))); 3100 return wrap(unwrap(B)->CreateSwitch(unwrap(V), unwrap(Else), NumCases)); 3105 return wrap(unwrap(B)->CreateIndirectBr(unwrap(Addr), NumDests)); 3117 unwrap(B)->CreateInvoke(FnT, unwrap(Fn), unwrap(Then), unwrap(Catch), 3125 return wrap(unwrap(B)->CreateInvoke( 3137 unwrap(B)->GetInsertBlock()->getParent()->setPersonalityFn( 3139 return wrap(unwrap(B)->CreateLandingPad(unwrap(Ty), NumClauses, Name)); 3145 return wrap(unwrap(B)->CreateCatchPad(unwrap(ParentPad), 3154 Type *Ty = Type::getTokenTy(unwrap(B)->getContext()); 3157 return wrap(unwrap(B)->CreateCleanupPad(unwrap(ParentPad), 3163 return wrap(unwrap(B)->CreateResume(unwrap(Exn))); 3170 Type *Ty = Type::getTokenTy(unwrap(B)->getContext()); 3173 return wrap(unwrap(B)->CreateCatchSwitch(unwrap(ParentPad), unwrap(UnwindBB), 3179 return wrap(unwrap(B)->CreateCatchRet(unwrap<CatchPadInst>(CatchPad), 3185 return wrap(unwrap(B)->CreateCleanupRet(unwrap<CleanupPadInst>(CatchPad), 3190 return wrap(unwrap(B)->CreateUnreachable()); 3261 return wrap(unwrap(B)->CreateAdd(unwrap(LHS), unwrap(RHS), Name)); 3266 return wrap(unwrap(B)->CreateNSWAdd(unwrap(LHS), unwrap(RHS), Name)); 3271 return wrap(unwrap(B)->CreateNUWAdd(unwrap(LHS), unwrap(RHS), Name)); 3276 return wrap(unwrap(B)->CreateFAdd(unwrap(LHS), unwrap(RHS), Name)); 3281 return wrap(unwrap(B)->CreateSub(unwrap(LHS), unwrap(RHS), Name)); 3286 return wrap(unwrap(B)->CreateNSWSub(unwrap(LHS), unwrap(RHS), Name)); 3291 return wrap(unwrap(B)->CreateNUWSub(unwrap(LHS), unwrap(RHS), Name)); 3296 return wrap(unwrap(B)->CreateFSub(unwrap(LHS), unwrap(RHS), Name)); 3301 return wrap(unwrap(B)->CreateMul(unwrap(LHS), unwrap(RHS), Name)); 3306 return wrap(unwrap(B)->CreateNSWMul(unwrap(LHS), unwrap(RHS), Name)); 3311 return wrap(unwrap(B)->CreateNUWMul(unwrap(LHS), unwrap(RHS), Name)); 3316 return wrap(unwrap(B)->CreateFMul(unwrap(LHS), unwrap(RHS), Name)); 3321 return wrap(unwrap(B)->CreateUDiv(unwrap(LHS), unwrap(RHS), Name)); 3326 return wrap(unwrap(B)->CreateExactUDiv(unwrap(LHS), unwrap(RHS), Name)); 3331 return wrap(unwrap(B)->CreateSDiv(unwrap(LHS), unwrap(RHS), Name)); 3336 return wrap(unwrap(B)->CreateExactSDiv(unwrap(LHS), unwrap(RHS), Name)); 3341 return wrap(unwrap(B)->CreateFDiv(unwrap(LHS), unwrap(RHS), Name)); 3346 return wrap(unwrap(B)->CreateURem(unwrap(LHS), unwrap(RHS), Name)); 3351 return wrap(unwrap(B)->CreateSRem(unwrap(LHS), unwrap(RHS), Name)); 3356 return wrap(unwrap(B)->CreateFRem(unwrap(LHS), unwrap(RHS), Name)); 3361 return wrap(unwrap(B)->CreateShl(unwrap(LHS), unwrap(RHS), Name)); 3366 return wrap(unwrap(B)->CreateLShr(unwrap(LHS), unwrap(RHS), Name)); 3371 return wrap(unwrap(B)->CreateAShr(unwrap(LHS), unwrap(RHS), Name)); 3376 return wrap(unwrap(B)->CreateAnd(unwrap(LHS), unwrap(RHS), Name)); 3381 return wrap(unwrap(B)->CreateOr(unwrap(LHS), unwrap(RHS), Name)); 3386 return wrap(unwrap(B)->CreateXor(unwrap(LHS), unwrap(RHS), Name)); 3392 return wrap(unwrap(B)->CreateBinOp(Instruction::BinaryOps(map_from_llvmopcode(Op)), unwrap(LHS), 3397 return wrap(unwrap(B)->CreateNeg(unwrap(V), Name)); 3402 return wrap(unwrap(B)->CreateNSWNeg(unwrap(V), Name)); 3407 return wrap(unwrap(B)->CreateNUWNeg(unwrap(V), Name)); 3411 return wrap(unwrap(B)->CreateFNeg(unwrap(V), Name)); 3415 return wrap(unwrap(B)->CreateNot(unwrap(V), Name)); 3422 Type* ITy = Type::getInt32Ty(unwrap(B)->GetInsertBlock()->getContext()); 3425 Instruction* Malloc = CallInst::CreateMalloc(unwrap(B)->GetInsertBlock(), 3428 return wrap(unwrap(B)->Insert(Malloc, Twine(Name))); 3433 Type* ITy = Type::getInt32Ty(unwrap(B)->GetInsertBlock()->getContext()); 3436 Instruction* Malloc = CallInst::CreateMalloc(unwrap(B)->GetInsertBlock(), 3439 return wrap(unwrap(B)->Insert(Malloc, Twine(Name))); 3445 return wrap(unwrap(B)->CreateMemSet(unwrap(Ptr), unwrap(Val), unwrap(Len), Align)); 3452 return wrap(unwrap(B)->CreateMemCpy(unwrap(Dst), DstAlign, 3461 return wrap(unwrap(B)->CreateMemMove(unwrap(Dst), DstAlign, 3468 return wrap(unwrap(B)->CreateAlloca(unwrap(Ty), nullptr, Name)); 3473 return wrap(unwrap(B)->CreateAlloca(unwrap(Ty), unwrap(Val), Name)); 3477 return wrap(unwrap(B)->Insert( 3478 CallInst::CreateFree(unwrap(PointerVal), unwrap(B)->GetInsertBlock()))); 3486 return wrap(unwrap(B)->CreateLoad(Ty->getElementType(), V, Name)); 3491 return wrap(unwrap(B)->CreateLoad(unwrap(Ty), unwrap(PointerVal), Name)); 3496 return wrap(unwrap(B)->CreateStore(unwrap(Val), unwrap(PointerVal))); 3577 unwrap(B)->CreateFence(mapFromLLVMOrdering(Ordering), 3590 return wrap(unwrap(B)->CreateGEP(Ty, Val, IdxList, Name)); 3597 return wrap(unwrap(B)->CreateGEP(unwrap(Ty), unwrap(Pointer), IdxList, Name)); 3607 return wrap(unwrap(B)->CreateInBoundsGEP(Ty, Val, IdxList, Name)); 3615 unwrap(B)->CreateInBoundsGEP(unwrap(Ty), unwrap(Pointer), IdxList, Name)); 3623 return wrap(unwrap(B)->CreateStructGEP(Ty, Val, Idx, Name)); 3630 unwrap(B)->CreateStructGEP(unwrap(Ty), unwrap(Pointer), Idx, Name)); 3635 return wrap(unwrap(B)->CreateGlobalString(Str, Name)); 3640 return wrap(unwrap(B)->CreateGlobalStringPtr(Str, Name)); 3706 return wrap(unwrap(B)->CreateTrunc(unwrap(Val), unwrap(DestTy), Name)); 3711 return wrap(unwrap(B)->CreateZExt(unwrap(Val), unwrap(DestTy), Name)); 3716 return wrap(unwrap(B)->CreateSExt(unwrap(Val), unwrap(DestTy), Name)); 3721 return wrap(unwrap(B)->CreateFPToUI(unwrap(Val), unwrap(DestTy), Name)); 3726 return wrap(unwrap(B)->CreateFPToSI(unwrap(Val), unwrap(DestTy), Name)); 3731 return wrap(unwrap(B)->CreateUIToFP(unwrap(Val), unwrap(DestTy), Name)); 3736 return wrap(unwrap(B)->CreateSIToFP(unwrap(Val), unwrap(DestTy), Name)); 3741 return wrap(unwrap(B)->CreateFPTrunc(unwrap(Val), unwrap(DestTy), Name)); 3746 return wrap(unwrap(B)->CreateFPExt(unwrap(Val), unwrap(DestTy), Name)); 3751 return wrap(unwrap(B)->CreatePtrToInt(unwrap(Val), unwrap(DestTy), Name)); 3756 return wrap(unwrap(B)->CreateIntToPtr(unwrap(Val), unwrap(DestTy), Name)); 3761 return wrap(unwrap(B)->CreateBitCast(unwrap(Val), unwrap(DestTy), Name)); 3766 return wrap(unwrap(B)->CreateAddrSpaceCast(unwrap(Val), unwrap(DestTy), Name)); 3771 return wrap(unwrap(B)->CreateZExtOrBitCast(unwrap(Val), unwrap(DestTy), 3777 return wrap(unwrap(B)->CreateSExtOrBitCast(unwrap(Val), unwrap(DestTy), 3783 return wrap(unwrap(B)->CreateTruncOrBitCast(unwrap(Val), unwrap(DestTy), 3789 return wrap(unwrap(B)->CreateCast(Instruction::CastOps(map_from_llvmopcode(Op)), unwrap(Val), 3795 return wrap(unwrap(B)->CreatePointerCast(unwrap(Val), unwrap(DestTy), Name)); 3802 unwrap(B)->CreateIntCast(unwrap(Val), unwrap(DestTy), IsSigned, Name)); 3807 return wrap(unwrap(B)->CreateIntCast(unwrap(Val), unwrap(DestTy), 3813 return wrap(unwrap(B)->CreateFPCast(unwrap(Val), unwrap(DestTy), Name)); 3821 return wrap(unwrap(B)->CreateICmp(static_cast<ICmpInst::Predicate>(Op), 3828 return wrap(unwrap(B)->CreateFCmp(static_cast<FCmpInst::Predicate>(Op), 3835 return wrap(unwrap(B)->CreatePHI(unwrap(Ty), 0, Name)); 3845 return wrap(unwrap(B)->CreateCall(FnT, unwrap(Fn), 3853 return wrap(unwrap(B)->CreateCall(FTy, unwrap(Fn), 3860 return wrap(unwrap(B)->CreateSelect(unwrap(If), unwrap(Then), unwrap(Else), 3866 return wrap(unwrap(B)->CreateVAArg(unwrap(List), unwrap(Ty), Name)); 3871 return wrap(unwrap(B)->CreateExtractElement(unwrap(VecVal), unwrap(Index), 3878 return wrap(unwrap(B)->CreateInsertElement(unwrap(VecVal), unwrap(EltVal), 3885 return wrap(unwrap(B)->CreateShuffleVector(unwrap(V1), unwrap(V2), 3891 return wrap(unwrap(B)->CreateExtractValue(unwrap(AggVal), Index, Name)); 3897 return wrap(unwrap(B)->CreateInsertValue(unwrap(AggVal), unwrap(EltVal), 3903 return wrap(unwrap(B)->CreateIsNull(unwrap(Val), Name)); 3908 return wrap(unwrap(B)->CreateIsNotNull(unwrap(Val), Name)); 3913 return wrap(unwrap(B)->CreatePtrDiff(unwrap(LHS), unwrap(RHS), Name)); 3921 return wrap(unwrap(B)->CreateAtomicRMW(intop, unwrap(PTR), unwrap(Val), 3932 return wrap(unwrap(B)->CreateAtomicCmpXchg(unwrap(Ptr), unwrap(Cmp),