Lines Matching refs:IRB
163 IRBuilder<> IRB(M.getContext()); in doInitialization() local
164 P.LPadContextTy = StructType::get(IRB.getInt32Ty(), // lpad_index in doInitialization()
165 IRB.getPtrTy(), // lsda in doInitialization()
166 IRB.getInt32Ty() // selector in doInitialization()
194 IRBuilder<> IRB(F.getContext()); in prepareThrows() local
212 IRB.SetInsertPoint(BB); in prepareThrows()
213 IRB.CreateUnreachable(); in prepareThrows()
222 IRBuilder<> IRB(F.getContext()); in prepareEHPads() local
255 LPadIndexField = IRB.CreateConstGEP2_32(LPadContextTy, LPadContextGV, 0, 0, in prepareEHPads()
258 IRB.CreateConstGEP2_32(LPadContextTy, LPadContextGV, 0, 1, "lsda_gep"); in prepareEHPads()
259 SelectorField = IRB.CreateConstGEP2_32(LPadContextTy, LPadContextGV, 0, 2, in prepareEHPads()
278 IRB.getInt32Ty(), IRB.getPtrTy()); in prepareEHPads()
306 IRBuilder<> IRB(BB->getContext()); in prepareEHPad() local
307 IRB.SetInsertPoint(BB, BB->getFirstInsertionPt()); in prepareEHPad()
333 IRB.CreateCall(CatchF, {IRB.getInt32(WebAssembly::CPP_EXCEPTION)}, "exn"); in prepareEHPad()
347 IRB.SetInsertPoint(CatchCI->getNextNode()); in prepareEHPad()
352 IRB.CreateCall(LPadIndexF, {FPI, IRB.getInt32(Index)}); in prepareEHPad()
355 IRB.CreateStore(IRB.getInt32(Index), LPadIndexField); in prepareEHPad()
362 IRB.CreateStore(IRB.CreateCall(LSDAF), LSDAField); in prepareEHPad()
365 CallInst *PersCI = IRB.CreateCall(CallPersonalityF, CatchCI, in prepareEHPad()
371 IRB.CreateLoad(IRB.getInt32Ty(), SelectorField, "selector"); in prepareEHPad()