/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | ShadowCallStack.cpp | 73 MachineInstr &MI, MachineBasicBlock &TrapBB); 75 MachineInstr &MI, MachineBasicBlock &TrapBB, 79 MachineInstr &MI, MachineBasicBlock &TrapBB); 127 MachineInstr &MI, MachineBasicBlock &TrapBB) { in addEpilog() argument 150 BuildMI(MBB, MI, DL, TII->get(X86::JNE_1)).addMBB(&TrapBB); in addEpilog() 151 MBB.addSuccessor(&TrapBB); in addEpilog() 155 MachineInstr &MI, MachineBasicBlock &TrapBB, in addEpilogLeaf() argument 163 BuildMI(MBB, MI, DL, TII->get(X86::JNE_1)).addMBB(&TrapBB); in addEpilogLeaf() 164 MBB.addSuccessor(&TrapBB); in addEpilogLeaf() 168 MachineInstr &MI, MachineBasicBlock &TrapBB) { in addEpilogOnlyR10() argument [all …]
|
D | X86ISelLowering.cpp | 28363 MachineBasicBlock *TrapBB = MF->CreateMachineBasicBlock(); in EmitSjLjDispatchBlock() local 28364 BuildMI(TrapBB, DL, TII->get(X86::TRAP)); in EmitSjLjDispatchBlock() 28365 DispatchBB->addSuccessor(TrapBB); in EmitSjLjDispatchBlock() 28373 MF->push_back(TrapBB); in EmitSjLjDispatchBlock() 28411 BuildMI(DispatchBB, DL, TII->get(X86::JAE_1)).addMBB(TrapBB); in EmitSjLjDispatchBlock()
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | BoundsChecking.cpp | 175 BasicBlock *TrapBB = nullptr; in addBoundsChecking() local 176 auto GetTrapBB = [&TrapBB](BuilderTy &IRB) { in addBoundsChecking() 177 if (TrapBB && SingleTrapBB) in addBoundsChecking() 178 return TrapBB; in addBoundsChecking() 185 TrapBB = BasicBlock::Create(Fn->getContext(), "trap", Fn); in addBoundsChecking() 186 IRB.SetInsertPoint(TrapBB); in addBoundsChecking() 195 return TrapBB; in addBoundsChecking()
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | CrossDSOCFI.cpp | 134 BasicBlock *TrapBB = BasicBlock::Create(Ctx, "fail", F); in buildCFICheck() local 135 IRBuilder<> IRBFail(TrapBB); in buildCFICheck() 146 SwitchInst *SI = IRB.CreateSwitch(&CallSiteTypeId, TrapBB, TypeIds.size()); in buildCFICheck() 156 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-7.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 8424 MachineBasicBlock *TrapBB = MF->CreateMachineBasicBlock(); in EmitSjLjDispatchBlock() local 8431 BuildMI(TrapBB, dl, TII->get(trap_opcode)); in EmitSjLjDispatchBlock() 8432 DispatchBB->addSuccessor(TrapBB); in EmitSjLjDispatchBlock() 8440 MF->insert(MF->end(), TrapBB); in EmitSjLjDispatchBlock() 8499 .addMBB(TrapBB) in EmitSjLjDispatchBlock() 8556 .addMBB(TrapBB) in EmitSjLjDispatchBlock() 8658 .addMBB(TrapBB) in EmitSjLjDispatchBlock() 9229 MachineBasicBlock *TrapBB = MF->CreateMachineBasicBlock(); in EmitLowered__dbzchk() local 9230 BuildMI(TrapBB, DL, TII->get(ARM::t__brkdiv0)); in EmitLowered__dbzchk() 9231 MF->push_back(TrapBB); in EmitLowered__dbzchk() [all …]
|
/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()
|