Home
last modified time | relevance | path

Searched refs:NoReturn (Results 1 – 25 of 31) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetFrameLoweringImpl.cpp34 assert(MF.getFunction().hasFnAttribute(Attribute::NoReturn) && in enableCalleeSaveSkip()
113 if (MF.getFunction().hasFnAttribute(Attribute::NoReturn) && in determineCalleeSaves()
H A DMachineRegisterInfo.cpp566 return !(Called == nullptr || !Called->hasFnAttribute(Attribute::NoReturn) || in isNoReturnDef()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DPruneEH.cpp150 if (!SCCMightReturn && !F->hasFnAttribute(Attribute::NoReturn)) { in runImpl()
151 F->addFnAttr(Attribute::NoReturn); in runImpl()
H A DHotColdSplitting.cpp137 if (CI->hasFnAttr(Attribute::NoReturn)) in unlikelyExecuted()
228 if (F.hasFnAttribute(Attribute::NoReturn)) in shouldOutlineFrom()
H A DFunctionAttrs.cpp1402 return CB->hasFnAttr(Attribute::NoReturn); in instructionDoesNotReturn()
H A DAttributor.cpp1678 bool NormalBBIsDead = II->hasFnAttr(Attribute::NoReturn); in cleanupIR()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h574 unsigned NoReturn : 1; variable
665 bool isNoReturn() const { return NoReturn; } in isNoReturn()
738 ID.AddBoolean(NoReturn); in Profile()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfoFlags.def52 HANDLE_DI_FLAG((1 << 20), NoReturn)
H A DFunction.h599 return hasFnAttribute(Attribute::NoReturn); in doesNotReturn()
602 addFnAttr(Attribute::NoReturn); in setDoesNotReturn()
H A DAttributes.td161 def NoReturn : EnumAttr<"noreturn", [FnAttr]>;
H A DInstrTypes.h1836 bool doesNotReturn() const { return hasFnAttr(Attribute::NoReturn); }
1838 addAttribute(AttributeList::FunctionIndex, Attribute::NoReturn);
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DCalledOnceCheck.cpp149 NoReturn = 0x0, /* 0000 */ enumerator
1492 PS = ParameterStatus::NoReturn; in markNoReturn()
H A DCFG.cpp2612 bool NoReturn = getFunctionExtInfo(*calleeType).getNoReturn(); in VisitCallExpr() local
2635 NoReturn = true; in VisitCallExpr()
2647 assert(!NoReturn && "noreturn calls with unevaluated args not implemented"); in VisitCallExpr()
2654 if (!NoReturn && !AddEHEdge) { in VisitCallExpr()
2667 if (NoReturn) in VisitCallExpr()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp423 F->removeFnAttr(Attribute::NoReturn); in wrapInvoke()
424 CI->removeAttribute(AttributeList::FunctionIndex, Attribute::NoReturn); in wrapInvoke()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp823 FI->NoReturn = info.getNoReturn(); in create()
1999 FuncAttrs.addAttribute(llvm::Attribute::NoReturn); in ConstructAttributeList()
2022 FuncAttrs.addAttribute(llvm::Attribute::NoReturn); in ConstructAttributeList()
2048 FuncAttrs.addAttribute(llvm::Attribute::NoReturn); in ConstructAttributeList()
5323 F->removeFnAttr(llvm::Attribute::NoReturn); in EmitCall()
5325 llvm::Attribute::NoReturn); in EmitCall()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp1570 F.removeFnAttr(Attribute::NoReturn); in splitAsyncCoroutine()
1669 F.removeFnAttr(Attribute::NoReturn); in splitRetconCoroutine()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp720 if (CI->hasFnAttr(Attribute::NoReturn)) in getInitialEstimatedBlockWeight()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonFrameLowering.cpp560 assert(F.hasFnAttribute(Attribute::NoReturn) && in enableCalleeSaveSkip()
580 return F.hasFnAttribute(Attribute::NoReturn) && in enableAllocFrameElim()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp4246 bool NoReturn = FunctionTypeP->getNoReturnAttr(); in adjustCCAndNoReturn() local
4247 if (EPI.ExtInfo.getNoReturn() != NoReturn) { in adjustCCAndNoReturn()
4248 EPI.ExtInfo = EPI.ExtInfo.withNoReturn(NoReturn); in adjustCCAndNoReturn()
H A DSemaExpr.cpp15576 bool NoReturn = BD->hasAttr<NoReturnAttr>(); in ActOnBlockStmtExpr() local
15584 if (NoReturn && !Ext.getNoReturn()) Ext = Ext.withNoReturn(true); in ActOnBlockStmtExpr()
15595 (!NoReturn || FTy->getNoReturnAttr())) { in ActOnBlockStmtExpr()
15610 EPI.ExtInfo = FunctionType::ExtInfo().withNoReturn(NoReturn); in ActOnBlockStmtExpr()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp917 case Attribute::NoReturn: in constructFunction()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp9517 bool NoReturn = lbaseInfo.getNoReturn() || rbaseInfo.getNoReturn(); in mergeFunctionTypes() local
9519 if (lbaseInfo.getNoReturn() != NoReturn) in mergeFunctionTypes()
9521 if (rbaseInfo.getNoReturn() != NoReturn) in mergeFunctionTypes()
9524 FunctionType::ExtInfo einfo = lbaseInfo.withNoReturn(NoReturn); in mergeFunctionTypes()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMFrameLowering.cpp188 assert(MF.getFunction().hasFnAttribute(Attribute::NoReturn) && in enableCalleeSaveSkip()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DAttributor.h3105 : public IRAttribute<Attribute::NoReturn,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1205 case Attribute::NoReturn: return 1 << 2; in getRawAttributeMask()
1442 return Attribute::NoReturn; in getAttrFromCode()

12