CodeGenOptions - Track various options which control how the code is optimized and passed to the backend. More...
#include "clang/Basic/CodeGenOptions.h"
Debugify
for original debug info.
.secure_log_unique directives.
CodeGenOptions - Track various options which control how the code is optimized and passed to the backend.
Definition at line 56 of file CodeGenOptions.h.
◆ AssignmentTrackingOpts ◆ DebugSrcHashKind ◆ EmbedBitcodeKind Enumerator Embed_Off Embed_All Embed_Bitcode Embed_MarkerDefinition at line 91 of file CodeGenOptions.h.
◆ ExtendVariableLivenessKind ◆ FiniteLoopsKind ◆ FramePointerKind ◆ InlineAsmDialectKind ◆ InliningMethod Enumerator NormalInlining OnlyHintInlining OnlyAlwaysInliningDefinition at line 58 of file CodeGenOptions.h.
◆ ObjCDispatchMethodKind ◆ ProfileInstrKind Enumerator ProfileNone ProfileClangInstr ProfileIRInstr ProfileCSIRInstrDefinition at line 83 of file CodeGenOptions.h.
◆ RemarkKind Enumerator RK_Missing RK_Enabled RK_EnabledEverything RK_Disabled RK_DisabledEverything RK_WithPatternDefinition at line 335 of file CodeGenOptions.h.
◆ StructReturnConventionKind Enumerator SRCK_Default SRCK_OnStack SRCK_InRegsDefinition at line 77 of file CodeGenOptions.h.
◆ SwiftAsyncFramePointerKind ◆ TLSModel Enumerator GeneralDynamicTLSModel LocalDynamicTLSModel InitialExecTLSModel LocalExecTLSModelDefinition at line 70 of file CodeGenOptions.h.
◆ CodeGenOptions() clang::CodeGenOptions::CodeGenOptions ( ) ◆ getFramePointerKindName() static StringRef clang::CodeGenOptions::getFramePointerKindName ( FramePointerKind Kind ) inlinestatic ◆ getNoBuiltinFuncs() const std::vector< std::string > & clang::CodeGenOptions::getNoBuiltinFuncs ( ) const inline ◆ hasMaybeUnusedDebugInfo() bool clang::CodeGenOptions::hasMaybeUnusedDebugInfo ( ) const inline ◆ hasProfileClangInstr() bool clang::CodeGenOptions::hasProfileClangInstr ( ) const inline ◆ hasProfileClangUse() bool clang::CodeGenOptions::hasProfileClangUse ( ) const inline ◆ hasProfileCSIRInstr() bool clang::CodeGenOptions::hasProfileCSIRInstr ( ) const inline ◆ hasProfileCSIRUse() bool clang::CodeGenOptions::hasProfileCSIRUse ( ) const inline ◆ hasProfileInstr() bool clang::CodeGenOptions::hasProfileInstr ( ) const inline ◆ hasProfileIRInstr() bool clang::CodeGenOptions::hasProfileIRInstr ( ) const inline ◆ hasProfileIRUse() bool clang::CodeGenOptions::hasProfileIRUse ( ) const inline ◆ hasReducedDebugInfo() bool clang::CodeGenOptions::hasReducedDebugInfo ( ) const inlineCheck if type and variable info should be emitted.
Definition at line 539 of file CodeGenOptions.h.
Referenced by clang::CodeGen::CGDebugInfo::EmitDeclareOfArgVariable(), clang::CodeGen::CGDebugInfo::EmitDeclareOfAutoVariable(), clang::CodeGen::CGDebugInfo::EmitDeclareOfBlockDeclRefVariable(), clang::CodeGen::CGDebugInfo::EmitDeclareOfBlockLiteralArgVariable(), clang::CodeGen::CGDebugInfo::EmitExplicitCastType(), clang::CodeGen::CGDebugInfo::EmitExternalVariable(), clang::CodeGen::CGDebugInfo::EmitGlobalAlias(), clang::CodeGen::CGDebugInfo::EmitGlobalVariable(), clang::CodeGen::CGDebugInfo::EmitLabel(), clang::CodeGen::CGDebugInfo::EmitNamespaceAlias(), clang::CodeGen::CGDebugInfo::EmitUsingDecl(), clang::CodeGen::CGDebugInfo::EmitUsingDirective(), clang::CodeGen::CGDebugInfo::EmitUsingEnumDecl(), clang::CodeGen::CGDebugInfo::getOrCreateRecordType(), and clang::CodeGen::CGDebugInfo::getOrCreateStandaloneType().
◆ hasSanitizeBinaryMetadata() bool clang::CodeGenOptions::hasSanitizeBinaryMetadata ( ) const inline ◆ hasSanitizeCoverage() bool clang::CodeGenOptions::hasSanitizeCoverage ( ) const inline ◆ resetNonModularOptions() void clang::CodeGenOptions::resetNonModularOptions ( StringRef ModuleFormat ) ◆ Argv0 const char* clang::CodeGenOptions::Argv0 = nullptr ◆ AsSecureLogFile std::string clang::CodeGenOptions::AsSecureLogFile ◆ BBSections std::string clang::CodeGenOptions::BBSections ◆ BinutilsVersion std::string clang::CodeGenOptions::BinutilsVersion ◆ CmdArgs std::vector<uint8_t> clang::CodeGenOptions::CmdArgs ◆ CodeModel std::string clang::CodeGenOptions::CodeModel ◆ CommandLineArgs std::vector<std::string> clang::CodeGenOptions::CommandLineArgs ◆ CoverageCompilationDir std::string clang::CodeGenOptions::CoverageCompilationDir ◆ CoverageDataFile std::string clang::CodeGenOptions::CoverageDataFile ◆ CoverageNotesFile std::string clang::CodeGenOptions::CoverageNotesFile ◆ CoveragePrefixMap llvm::SmallVector<std::pair<std::string, std::string>, 0> clang::CodeGenOptions::CoveragePrefixMapPrefix replacement map for source-based code coverage to remap source file paths in coverage mapping.
Definition at line 218 of file CodeGenOptions.h.
◆ CoverageVersion char clang::CodeGenOptions::CoverageVersion[4] = {'0', '0', '0', '0'} ◆ CudaGpuBinaryFileName std::string clang::CodeGenOptions::CudaGpuBinaryFileName ◆ DebugCompilationDir std::string clang::CodeGenOptions::DebugCompilationDir ◆ DebugPass std::string clang::CodeGenOptions::DebugPass ◆ DebugPrefixMap llvm::SmallVector<std::pair<std::string, std::string>, 0> clang::CodeGenOptions::DebugPrefixMap ◆ DefaultFunctionAttrs std::vector<std::string> clang::CodeGenOptions::DefaultFunctionAttrs ◆ DependentLibraries std::vector<std::string> clang::CodeGenOptions::DependentLibraries ◆ DiagnosticsHotnessThreshold std::optional<uint64_t> clang::CodeGenOptions::DiagnosticsHotnessThreshold = 0The minimum hotness value a diagnostic needs in order to be included in optimization diagnostics.
The threshold is an Optional value, which maps to one of the 3 states:
If threshold option is not specified, it is disabled by default.
Definition at line 483 of file CodeGenOptions.h.
Referenced by clang::BackendConsumer::HandleTranslationUnit().
◆ DiagnosticsMisExpectTolerance std::optional<uint32_t> clang::CodeGenOptions::DiagnosticsMisExpectTolerance = 0 ◆ DIBugsReportFilePath std::string clang::CodeGenOptions::DIBugsReportFilePathThe file to use for dumping bug report by Debugify
for original debug info.
Definition at line 225 of file CodeGenOptions.h.
◆ DwarfDebugFlags std::string clang::CodeGenOptions::DwarfDebugFlags ◆ FloatABI std::string clang::CodeGenOptions::FloatABI ◆ FP32DenormalMode llvm::DenormalMode clang::CodeGenOptions::FP32DenormalMode = llvm::DenormalMode::getIEEE() ◆ FPDenormalMode llvm::DenormalMode clang::CodeGenOptions::FPDenormalMode = llvm::DenormalMode::getIEEE() ◆ InstrProfileOutput std::string clang::CodeGenOptions::InstrProfileOutputName of the profile file to use as output for -fprofile-instr-generate, -fprofile-generate, and -fcs-profile-generate.
Definition at line 282 of file CodeGenOptions.h.
Referenced by getInstrProfOptions().
◆ LargeDataThreshold uint64_t clang::CodeGenOptions::LargeDataThreshold ◆ LimitFloatPrecision std::string clang::CodeGenOptions::LimitFloatPrecision ◆ LinkBitcodeFilesThe files specified here are linked in to the module before optimizations.
Definition at line 250 of file CodeGenOptions.h.
◆ LinkerOptions std::vector<std::string> clang::CodeGenOptions::LinkerOptionsA list of linker options to embed in the object file.
Definition at line 278 of file CodeGenOptions.h.
◆ MainFileName std::string clang::CodeGenOptions::MainFileName ◆ MemoryProfileOutput std::string clang::CodeGenOptions::MemoryProfileOutput ◆ MemoryProfileUsePath std::string clang::CodeGenOptions::MemoryProfileUsePathName of the profile file to use as input for -fmemory-profile-use.
Definition at line 291 of file CodeGenOptions.h.
◆ NoBuiltinFuncs std::vector<std::string> clang::CodeGenOptions::NoBuiltinFuncs ◆ NoTocDataVars std::vector<std::string> clang::CodeGenOptions::NoTocDataVarsList of global variables that over-ride the toc-data default.
Definition at line 429 of file CodeGenOptions.h.
◆ ObjectFilenameForDebug std::string clang::CodeGenOptions::ObjectFilenameForDebug ◆ OffloadObjects std::vector<std::string> clang::CodeGenOptions::OffloadObjectsList of filenames passed in using the -fembed-offload-object option.
These are offloading binaries containing device images and metadata.
Definition at line 318 of file CodeGenOptions.h.
Referenced by clang::EmbedObject().
◆ OptimizationRemark OptRemark clang::CodeGenOptions::OptimizationRemark ◆ OptimizationRemarkAnalysis OptRemark clang::CodeGenOptions::OptimizationRemarkAnalysis ◆ OptimizationRemarkMissed OptRemark clang::CodeGenOptions::OptimizationRemarkMissed ◆ OptRecordFile std::string clang::CodeGenOptions::OptRecordFile ◆ OptRecordFormat std::string clang::CodeGenOptions::OptRecordFormat ◆ OptRecordPasses std::string clang::CodeGenOptions::OptRecordPasses ◆ PassBuilderCallbacks std::vector<std::function<void(llvm::PassBuilder &)> > clang::CodeGenOptions::PassBuilderCallbacks ◆ PassPlugins std::vector<std::string> clang::CodeGenOptions::PassPluginsList of dynamic shared object files to be loaded as pass plugins.
Definition at line 420 of file CodeGenOptions.h.
◆ PointerAuth ◆ PreferVectorWidth std::string clang::CodeGenOptions::PreferVectorWidth ◆ ProfileExcludeFiles std::string clang::CodeGenOptions::ProfileExcludeFiles ◆ ProfileFilterFiles std::string clang::CodeGenOptions::ProfileFilterFiles ◆ ProfileInstrumentUsePath std::string clang::CodeGenOptions::ProfileInstrumentUsePath ◆ ProfileRemappingFile std::string clang::CodeGenOptions::ProfileRemappingFile ◆ Reciprocals std::vector<std::string> clang::CodeGenOptions::Reciprocals ◆ RecordCommandLine std::string clang::CodeGenOptions::RecordCommandLineThe string containing the commandline for the llvm.commandline metadata, if non-empty.
Definition at line 212 of file CodeGenOptions.h.
◆ RelocationModel llvm::Reloc::Model clang::CodeGenOptions::RelocationModel ◆ SampleProfileFile std::string clang::CodeGenOptions::SampleProfileFile ◆ SanitizeCoverageAllowlistFiles std::vector<std::string> clang::CodeGenOptions::SanitizeCoverageAllowlistFilesPath to allowlist file specifying which objects (files, functions) should exclusively be instrumented by sanitizer coverage pass.
Definition at line 434 of file CodeGenOptions.h.
Referenced by addSanitizers().
◆ SanitizeCoverageIgnorelistFiles std::vector<std::string> clang::CodeGenOptions::SanitizeCoverageIgnorelistFilesPath to ignorelist file specifying which objects (files, functions) listed for instrumentation by sanitizer coverage pass should actually not be instrumented.
Definition at line 453 of file CodeGenOptions.h.
Referenced by addSanitizers().
◆ SanitizeMergeHandlersSet of sanitizer checks that can merge handlers (smaller code size at the expense of debuggability).
Definition at line 391 of file CodeGenOptions.h.
◆ SanitizeMetadataIgnorelistFiles std::vector<std::string> clang::CodeGenOptions::SanitizeMetadataIgnorelistFilesPath to ignorelist file specifying which objects (files, functions) listed for instrumentation by sanitizer binary metadata pass should not be instrumented.
Definition at line 458 of file CodeGenOptions.h.
Referenced by addSanitizers().
◆ SanitizeRecoverSet of sanitizer checks that are non-fatal (i.e.
execution should be continued when possible).
Definition at line 384 of file CodeGenOptions.h.
Referenced by addSanitizers().
◆ SanitizeSkipHotCutoffsSet of thresholds in a range [0.0, 1.0]: the top hottest code responsible for the given fraction of PGO counters will be excluded from sanitization (0.0 [default] to skip none, 1.0 to skip all).
Definition at line 396 of file CodeGenOptions.h.
Referenced by addSanitizers().
◆ SanitizeTrap ◆ SaveTempsFilePrefix std::string clang::CodeGenOptions::SaveTempsFilePrefix ◆ SplitDwarfFile std::string clang::CodeGenOptions::SplitDwarfFile ◆ SplitDwarfOutput std::string clang::CodeGenOptions::SplitDwarfOutputOutput filename for the split debug info, not used in the skeleton CU.
Definition at line 262 of file CodeGenOptions.h.
◆ StackProtectorGuard std::string clang::CodeGenOptions::StackProtectorGuardThe guard style used for stack protector to get a initial value, this value usually be gotten from TLS or get from __stack_chk_guard, or some other styles we may implement in the future.
Definition at line 439 of file CodeGenOptions.h.
◆ StackProtectorGuardReg std::string clang::CodeGenOptions::StackProtectorGuardRegThe TLS base register when StackProtectorGuard is "tls", or register used to store the stack canary for "sysreg".
On x86 this can be "fs" or "gs". On AArch64 this can only be "sp_el0".
Definition at line 445 of file CodeGenOptions.h.
◆ StackProtectorGuardSymbol std::string clang::CodeGenOptions::StackProtectorGuardSymbol ◆ StackUsageOutput std::string clang::CodeGenOptions::StackUsageOutputName of the stack usage file (i.e., .su file) if user passes -fstack-usage.
If empty, it can be implied that -fstack-usage is not passed on the command line.
Definition at line 463 of file CodeGenOptions.h.
Referenced by initTargetOptions().
◆ SymbolPartition std::string clang::CodeGenOptions::SymbolPartition ◆ ThinLinkBitcodeFile std::string clang::CodeGenOptions::ThinLinkBitcodeFileName of a file that can optionally be written with minimized bitcode to be used as input for the ThinLTO thin link step, which only needs the summary and module symbol table (and not, e.g.
any debug metadata).
Definition at line 307 of file CodeGenOptions.h.
◆ ThinLTOIndexFile std::string clang::CodeGenOptions::ThinLTOIndexFile ◆ TocDataVarsUserSpecified std::vector<std::string> clang::CodeGenOptions::TocDataVarsUserSpecified ◆ TrapFuncName std::string clang::CodeGenOptions::TrapFuncName ◆ XRayInstrumentationBundle XRayInstrSet clang::CodeGenOptions::XRayInstrumentationBundleThe documentation for this class was generated from the following files:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4