Searched refs:TrapBB (Results 1 – 8 of 8) sorted by relevance
/external/llvm/lib/Transforms/Instrumentation/ |
D | BoundsChecking.cpp | 60 BasicBlock *TrapBB; member 76 if (TrapBB && SingleTrapBB) in getTrapBB() 77 return TrapBB; in getTrapBB() 81 TrapBB = BasicBlock::Create(Fn->getContext(), "trap", Fn); in getTrapBB() 82 Builder->SetInsertPoint(TrapBB); in getTrapBB() 91 return TrapBB; in getTrapBB() 170 TrapBB = nullptr; in runOnFunction()
|
/external/llvm/lib/Transforms/IPO/ |
D | CrossDSOCFI.cpp | 116 BasicBlock *TrapBB = BasicBlock::Create(Ctx, "fail", F); in buildCFICheck() local 117 IRBuilder<> IRBFail(TrapBB); in buildCFICheck() 128 SwitchInst *SI = IRB.CreateSwitch(&CallSiteTypeId, TrapBB, TypeIds.size()); in buildCFICheck() 138 BranchInst *BI = IRBTest.CreateCondBr(Test, ExitBB, TrapBB); in buildCFICheck()
|
/external/clang/lib/CodeGen/ |
D | CGExpr.cpp | 2737 if (!CGM.getCodeGenOpts().OptimizationLevel || !TrapBB) { in EmitTrapCheck() 2738 TrapBB = createBasicBlock("trap"); in EmitTrapCheck() 2739 Builder.CreateCondBr(Checked, Cont, TrapBB); in EmitTrapCheck() 2740 EmitBlock(TrapBB); in EmitTrapCheck() 2746 Builder.CreateCondBr(Checked, Cont, TrapBB); in EmitTrapCheck()
|
D | CodeGenFunction.cpp | 62 TerminateHandler(nullptr), TrapBB(nullptr) { in CodeGenFunction()
|
D | CodeGenFunction.h | 1176 llvm::BasicBlock *TrapBB; variable
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 7466 MachineBasicBlock *TrapBB = MF->CreateMachineBasicBlock(); in EmitSjLjDispatchBlock() local 7473 BuildMI(TrapBB, dl, TII->get(trap_opcode)); in EmitSjLjDispatchBlock() 7474 DispatchBB->addSuccessor(TrapBB); in EmitSjLjDispatchBlock() 7482 MF->insert(MF->end(), TrapBB); in EmitSjLjDispatchBlock() 7534 .addMBB(TrapBB) in EmitSjLjDispatchBlock() 7586 .addMBB(TrapBB) in EmitSjLjDispatchBlock() 7676 .addMBB(TrapBB) in EmitSjLjDispatchBlock() 8210 MachineBasicBlock *TrapBB = MF->CreateMachineBasicBlock(); in EmitLowered__dbzchk() local 8211 MF->push_back(TrapBB); in EmitLowered__dbzchk() 8212 BuildMI(TrapBB, DL, TII->get(ARM::t2UDF)).addImm(249); in EmitLowered__dbzchk() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 5737 MachineBasicBlock *TrapBB = MF->CreateMachineBasicBlock(); in EmitSjLjDispatchBlock() local 5738 BuildMI(TrapBB, dl, TII->get(Subtarget->isThumb() ? ARM::tTRAP : ARM::TRAP)); in EmitSjLjDispatchBlock() 5739 DispatchBB->addSuccessor(TrapBB); in EmitSjLjDispatchBlock() 5748 MF->insert(MF->end(), TrapBB); in EmitSjLjDispatchBlock() 5770 .addMBB(TrapBB) in EmitSjLjDispatchBlock() 5803 .addMBB(TrapBB) in EmitSjLjDispatchBlock() 5854 .addMBB(TrapBB) in EmitSjLjDispatchBlock()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 24049 MachineBasicBlock *TrapBB = MF->CreateMachineBasicBlock(); in EmitSjLjDispatchBlock() local 24050 BuildMI(TrapBB, DL, TII->get(X86::TRAP)); in EmitSjLjDispatchBlock() 24051 DispatchBB->addSuccessor(TrapBB); in EmitSjLjDispatchBlock() 24059 MF->push_back(TrapBB); in EmitSjLjDispatchBlock() 24098 BuildMI(DispatchBB, DL, TII->get(X86::JA_1)).addMBB(TrapBB); in EmitSjLjDispatchBlock()
|