Home
last modified time | relevance | path

Searched refs:FramePointerKind (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DCodeGenOptions.h130 enum class FramePointerKind { enum
137 static StringRef getFramePointerKindName(FramePointerKind Kind) { in getFramePointerKindName()
139 case FramePointerKind::None: in getFramePointerKindName()
141 case FramePointerKind::Reserved: in getFramePointerKindName()
143 case FramePointerKind::NonLeaf: in getFramePointerKindName()
145 case FramePointerKind::All: in getFramePointerKindName()
H A DCodeGenOptions.def66 ENUM_CODEGENOPT(FramePointer, FramePointerKind, 2, FramePointerKind::None) /// frame-pointer: all,n…
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCommandFlags.cpp66 CGOPT(FramePointerKind, FramePointerUsage) in CGOPT()
205 static cl::opt<FramePointerKind> FramePointerUsage( in CGOPT()
208 cl::init(FramePointerKind::None), in CGOPT()
210 clEnumValN(FramePointerKind::All, "all", in CGOPT()
212 clEnumValN(FramePointerKind::NonLeaf, "non-leaf", in CGOPT()
214 clEnumValN(FramePointerKind::Reserved, "reserved", in CGOPT()
217 clEnumValN(FramePointerKind::None, "none", in CGOPT()
689 if (getFramePointerUsage() == FramePointerKind::All) in setFunctionAttributes()
691 else if (getFramePointerUsage() == FramePointerKind::NonLeaf) in setFunctionAttributes()
693 else if (getFramePointerUsage() == FramePointerKind::Reserved) in setFunctionAttributes()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DFlang.cpp818 CodeGenOptions::FramePointerKind FPKeepKind = in ConstructJob()
823 case CodeGenOptions::FramePointerKind::None: in ConstructJob()
826 case CodeGenOptions::FramePointerKind::Reserved: in ConstructJob()
829 case CodeGenOptions::FramePointerKind::NonLeaf: in ConstructJob()
832 case CodeGenOptions::FramePointerKind::All: in ConstructJob()
H A DCommonArgs.h235 clang::CodeGenOptions::FramePointerKind
H A DCommonArgs.cpp210 clang::CodeGenOptions::FramePointerKind
256 return clang::CodeGenOptions::FramePointerKind::All; in getFramePointerKind()
257 return clang::CodeGenOptions::FramePointerKind::NonLeaf; in getFramePointerKind()
260 return clang::CodeGenOptions::FramePointerKind::Reserved; in getFramePointerKind()
261 return clang::CodeGenOptions::FramePointerKind::None; in getFramePointerKind()
H A DClang.cpp5770 CodeGenOptions::FramePointerKind FPKeepKind = in ConstructJob()
5774 case CodeGenOptions::FramePointerKind::None: in ConstructJob()
5777 case CodeGenOptions::FramePointerKind::Reserved: in ConstructJob()
5780 case CodeGenOptions::FramePointerKind::NonLeaf: in ConstructJob()
5783 case CodeGenOptions::FramePointerKind::All: in ConstructJob()
7986 if (FPKeepKind == CodeGenOptions::FramePointerKind::None && in ConstructJob()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DCodeGen.h90 enum class FramePointerKind { None, NonLeaf, All, Reserved }; enum
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DCommandFlags.h58 FramePointerKind getFramePointerUsage();
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DModule.cpp731 FramePointerKind Module::getFramePointer() const { in getFramePointer()
733 return static_cast<FramePointerKind>( in getFramePointer()
737 void Module::setFramePointer(FramePointerKind Kind) { in setFramePointer()
H A DFunction.cpp389 case FramePointerKind::None: in createWithDefaultAttr()
392 case FramePointerKind::Reserved: in createWithDefaultAttr()
395 case FramePointerKind::NonLeaf: in createWithDefaultAttr()
398 case FramePointerKind::All: in createWithDefaultAttr()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DModule.h1004 FramePointerKind getFramePointer() const;
1005 void setFramePointer(FramePointerKind Kind);
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp1339 case CodeGenOptions::FramePointerKind::None: in Release()
1342 case CodeGenOptions::FramePointerKind::Reserved: in Release()
1343 getModule().setFramePointer(llvm::FramePointerKind::Reserved); in Release()
1345 case CodeGenOptions::FramePointerKind::NonLeaf: in Release()
1346 getModule().setFramePointer(llvm::FramePointerKind::NonLeaf); in Release()
1348 case CodeGenOptions::FramePointerKind::All: in Release()
1349 getModule().setFramePointer(llvm::FramePointerKind::All); in Release()
H A DCGCall.cpp1891 case CodeGenOptions::FramePointerKind::None: in getTrivialDefaultFunctionAttributes()
1894 case CodeGenOptions::FramePointerKind::Reserved: in getTrivialDefaultFunctionAttributes()
1895 case CodeGenOptions::FramePointerKind::NonLeaf: in getTrivialDefaultFunctionAttributes()
1896 case CodeGenOptions::FramePointerKind::All: in getTrivialDefaultFunctionAttributes()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionParser.cpp623 CodeGenOptions::FramePointerKind::All); in ClangExpressionParser()
/freebsd/contrib/llvm-project/clang/include/clang/Driver/
H A DOptions.td7824 …NormalizedValuesScope<"CodeGenOptions::FramePointerKind">, NormalizedValues<["All", "NonLeaf", "Re…