Lines Matching refs:Builder
104 IRBuilder<> Builder(I);
112 Builder.CreateGEP(FunctionContextTy, FuncCtx, Idxs, "call_site");
117 Builder.CreateStore(CallSiteNoC, CallSite, true /*volatile*/);
159 IRBuilder<> Builder(SelI->getParent(), std::next(SelI->getIterator()));
160 LPadVal = Builder.CreateInsertValue(LPadVal, ExnVal, 0, "lpad.val");
161 LPadVal = Builder.CreateInsertValue(LPadVal, SelVal, 1, "lpad.val");
182 IRBuilder<> Builder(LPI->getParent(),
187 Builder.CreateConstGEP2_32(FunctionContextTy, FuncCtx, 0, 2, "__data");
190 Value *ExceptionAddr = Builder.CreateConstGEP2_32(doubleUnderDataTy, FCData,
192 Value *ExnVal = Builder.CreateLoad(ExceptionAddr, true, "exn_val");
193 ExnVal = Builder.CreateIntToPtr(ExnVal, Builder.getInt8PtrTy());
195 Value *SelectorAddr = Builder.CreateConstGEP2_32(doubleUnderDataTy, FCData,
197 Value *SelVal = Builder.CreateLoad(SelectorAddr, true, "exn_selector_val");
203 IRBuilder<> Builder(EntryBB->getTerminator());
205 Value *PersonalityFieldPtr = Builder.CreateConstGEP2_32(
207 Builder.CreateStore(
208 Builder.CreateBitCast(PersonalityFn, Builder.getInt8PtrTy()),
212 Value *LSDA = Builder.CreateCall(LSDAAddrFn, {}, "lsda_addr");
214 Builder.CreateConstGEP2_32(FunctionContextTy, FuncCtx, 0, 4, "lsda_gep");
215 Builder.CreateStore(LSDA, LSDAFieldPtr, /*isVolatile=*/true);
375 IRBuilder<> Builder(EntryBB->getTerminator());
379 Builder.CreateConstGEP2_32(FunctionContextTy, FuncCtx, 0, 5, "jbuf_gep");
382 Value *FramePtr = Builder.CreateConstGEP2_32(doubleUnderJBufTy, JBufPtr, 0, 0,
385 Value *Val = Builder.CreateCall(FrameAddrFn, Builder.getInt32(0), "fp");
386 Builder.CreateStore(Val, FramePtr, /*isVolatile=*/true);
389 Value *StackPtr = Builder.CreateConstGEP2_32(doubleUnderJBufTy, JBufPtr, 0, 2,
392 Val = Builder.CreateCall(StackAddrFn, {}, "sp");
393 Builder.CreateStore(Val, StackPtr, /*isVolatile=*/true);
396 Builder.CreateCall(BuiltinSetupDispatchFn, {});
400 Value *FuncCtxArg = Builder.CreateBitCast(FuncCtx, Builder.getInt8PtrTy());
401 Builder.CreateCall(FuncCtxFn, FuncCtxArg);