Home
last modified time | relevance | path

Searched refs:TrapCall (Results 1 – 7 of 7) 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-10.0/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp190 CallInst *TrapCall = IRB.CreateCall(F, {}); in addBoundsChecking() local
191 TrapCall->setDoesNotReturn(); in addBoundsChecking()
192 TrapCall->setDoesNotThrow(); in addBoundsChecking()
193 TrapCall->setDebugLoc(DebugLoc); in addBoundsChecking()
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp195 CallInst *TrapCall = IRB.CreateCall(F, {}); in addBoundsChecking() local
196 TrapCall->setDoesNotReturn(); in addBoundsChecking()
197 TrapCall->setDoesNotThrow(); in addBoundsChecking()
198 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()
/external/llvm-project/clang/lib/CodeGen/
DCodeGenFunction.cpp2491 llvm::CallInst *TrapCall = EmitTrapCall(llvm::Intrinsic::trap); in EmitMultiVersionResolver() local
2492 TrapCall->setDoesNotReturn(); in EmitMultiVersionResolver()
2493 TrapCall->setDoesNotThrow(); in EmitMultiVersionResolver()
DCGExpr.cpp3485 llvm::CallInst *TrapCall = in EmitTrapCheck() local
3492 TrapCall->addAttribute(llvm::AttributeList::FunctionIndex, A); in EmitTrapCheck()
3494 TrapCall->setDoesNotReturn(); in EmitTrapCheck()
3495 TrapCall->setDoesNotThrow(); in EmitTrapCheck()
3510 llvm::CallInst *TrapCall = in EmitTrapCall() local
3516 TrapCall->addAttribute(llvm::AttributeList::FunctionIndex, A); in EmitTrapCall()
3519 return TrapCall; in EmitTrapCall()
DCGClass.cpp1452 llvm::CallInst *TrapCall = EmitTrapCall(llvm::Intrinsic::trap); in EmitDestructorBody() local
1453 TrapCall->setDoesNotReturn(); in EmitDestructorBody()
1454 TrapCall->setDoesNotThrow(); in EmitDestructorBody()