Searched refs:TrapCall (Results 1 – 3 of 3) sorted by relevance
85 CallInst *TrapCall = Builder->CreateCall(F, {}); in getTrapBB() local86 TrapCall->setDoesNotReturn(); in getTrapBB()87 TrapCall->setDoesNotThrow(); in getTrapBB()88 TrapCall->setDebugLoc(Inst->getDebugLoc()); in getTrapBB()
189 CallInst *TrapCall = IRB.CreateCall(F, {}); in addBoundsChecking() local190 TrapCall->setDoesNotReturn(); in addBoundsChecking()191 TrapCall->setDoesNotThrow(); in addBoundsChecking()192 TrapCall->setDebugLoc(DebugLoc); in addBoundsChecking()
2741 llvm::CallInst *TrapCall = EmitTrapCall(llvm::Intrinsic::trap); in EmitTrapCheck() local2742 TrapCall->setDoesNotReturn(); in EmitTrapCheck()2743 TrapCall->setDoesNotThrow(); in EmitTrapCheck()2753 llvm::CallInst *TrapCall = Builder.CreateCall(CGM.getIntrinsic(IntrID)); in EmitTrapCall() local2756 TrapCall->addAttribute(llvm::AttributeSet::FunctionIndex, in EmitTrapCall()2760 return TrapCall; in EmitTrapCall()