Lines Matching refs:IRB
137 IRBuilder<> IRB(M.getContext()); in doInitialization() local
138 LPadContextTy = StructType::get(IRB.getInt32Ty(), // lpad_index in doInitialization()
139 IRB.getInt8PtrTy(), // lsda in doInitialization()
140 IRB.getInt32Ty() // selector in doInitialization()
168 IRBuilder<> IRB(F.getContext()); in prepareThrows() local
187 IRB.SetInsertPoint(BB); in prepareThrows()
188 IRB.CreateUnreachable(); in prepareThrows()
197 IRBuilder<> IRB(F.getContext()); in prepareEHPads() local
224 LPadIndexField = IRB.CreateConstGEP2_32(LPadContextTy, LPadContextGV, 0, 0, in prepareEHPads()
227 IRB.CreateConstGEP2_32(LPadContextTy, LPadContextGV, 0, 1, "lsda_gep"); in prepareEHPads()
228 SelectorField = IRB.CreateConstGEP2_32(LPadContextTy, LPadContextGV, 0, 2, in prepareEHPads()
247 "_Unwind_CallPersonality", IRB.getInt32Ty(), IRB.getInt8PtrTy()); in prepareEHPads()
275 IRBuilder<> IRB(BB->getContext()); in prepareEHPad() local
276 IRB.SetInsertPoint(&*BB->getFirstInsertionPt()); in prepareEHPad()
302 IRB.CreateCall(CatchF, {IRB.getInt32(WebAssembly::CPP_EXCEPTION)}, "exn"); in prepareEHPad()
316 IRB.SetInsertPoint(CatchCI->getNextNode()); in prepareEHPad()
321 IRB.CreateCall(LPadIndexF, {FPI, IRB.getInt32(Index)}); in prepareEHPad()
324 IRB.CreateStore(IRB.getInt32(Index), LPadIndexField); in prepareEHPad()
331 IRB.CreateStore(IRB.CreateCall(LSDAF), LSDAField); in prepareEHPad()
334 CallInst *PersCI = IRB.CreateCall(CallPersonalityF, CatchCI, in prepareEHPad()
340 IRB.CreateLoad(IRB.getInt32Ty(), SelectorField, "selector"); in prepareEHPad()