14 #ifndef LLVM_CLANG_FRONTEND_CODEGENOPTIONS_H
15 #define LLVM_CLANG_FRONTEND_CODEGENOPTIONS_H
18 #include "llvm/Support/Regex.h"
29 #define CODEGENOPT(Name, Bits, Default) unsigned Name : Bits;
30 #define ENUM_CODEGENOPT(Name, Type, Bits, Default)
31 #include "clang/Frontend/CodeGenOptions.def"
34 #define CODEGENOPT(Name, Bits, Default)
35 #define ENUM_CODEGENOPT(Name, Type, Bits, Default) unsigned Name : Bits;
36 #include "clang/Frontend/CodeGenOptions.def"
206 #define CODEGENOPT(Name, Bits, Default)
207 #define ENUM_CODEGENOPT(Name, Type, Bits, Default) \
208 Type get##Name() const { return static_cast<Type>(Name); } \
209 void set##Name(Type Value) { Name = static_cast<unsigned>(Value); }
210 #include "clang/Frontend/CodeGenOptions.def"
std::string DwarfDebugFlags
std::shared_ptr< llvm::Regex > OptimizationRemarkMissedPattern
std::string SampleProfileFile
Name of the profile file to use with -fprofile-sample-use.
std::vector< std::string > RewriteMapFiles
Set of files definining the rules for the symbol rewriting.
Bitfields of CodeGenOptions, split out from CodeGenOptions to ensure that this large collection of bi...
std::string SplitDwarfFile
std::string DebugPass
Enable additional debugging information.
SanitizerSet SanitizeRecover
std::vector< std::string > CudaGpuBinaryFileNames
Defines the clang::SanitizerKind enum.
Don't generate debug info.
std::string CodeModel
The code model to use (-mcmodel).
std::string FloatABI
The ABI to use for passing floating point arguments.
std::string ThreadModel
The thread model to use.
std::vector< std::string > DependentLibraries
A list of dependent libraries.
char CoverageVersion[4]
The version string to put into coverage files.
std::string LimitFloatPrecision
The float precision limit to use, if non-empty.
std::string RelocationModel
The name of the relocation model to use.
std::shared_ptr< llvm::Regex > OptimizationRemarkPattern
std::string InstrProfileInput
Name of the profile file to use as input for -fprofile-instr-use.
SanitizerSet SanitizeTrap
Set of sanitizer checks that trap rather than diagnose.
std::string LinkBitcodeFile
The name of the bitcode file to link before optzns.
std::shared_ptr< llvm::Regex > OptimizationRemarkAnalysisPattern
StructReturnConventionKind
std::string DebugCompilationDir
The string to embed in debug information as the current working directory.
std::string InstrProfileOutput
Generate complete debug info.
std::vector< std::string > BackendOptions
A list of command-line options to forward to the LLVM backend.