Home
last modified time | relevance | path

Searched refs:TrapCall (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp85 CallInst *TrapCall = Builder->CreateCall(F, {}); in getTrapBB() local
86 TrapCall->setDoesNotReturn(); in getTrapBB()
87 TrapCall->setDoesNotThrow(); in getTrapBB()
88 TrapCall->setDebugLoc(Inst->getDebugLoc()); in getTrapBB()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp189 CallInst *TrapCall = IRB.CreateCall(F, {}); in addBoundsChecking() local
190 TrapCall->setDoesNotReturn(); in addBoundsChecking()
191 TrapCall->setDoesNotThrow(); in addBoundsChecking()
192 TrapCall->setDebugLoc(DebugLoc); in addBoundsChecking()
/external/clang/lib/CodeGen/
DCGExpr.cpp2741 llvm::CallInst *TrapCall = EmitTrapCall(llvm::Intrinsic::trap); in EmitTrapCheck() local
2742 TrapCall->setDoesNotReturn(); in EmitTrapCheck()
2743 TrapCall->setDoesNotThrow(); in EmitTrapCheck()
2753 llvm::CallInst *TrapCall = Builder.CreateCall(CGM.getIntrinsic(IntrID)); in EmitTrapCall() local
2756 TrapCall->addAttribute(llvm::AttributeSet::FunctionIndex, in EmitTrapCall()
2760 return TrapCall; in EmitTrapCall()