reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/include/clang/Basic/CodeGenOptions.def
   30 CODEGENOPT(DisableIntegratedAS, 1, 0) ///< -no-integrated-as
   33 CODEGENOPT(RelaxELFRelocations, 1, 0) ///< -Wa,--mrelax-relocations
   34 CODEGENOPT(AsmVerbose        , 1, 0) ///< -dA, -fverbose-asm.
   35 CODEGENOPT(PreserveAsmComments, 1, 1) ///< -dA, -fno-preserve-as-comments.
   36 CODEGENOPT(AssumeSaneOperatorNew , 1, 1) ///< implicit __attribute__((malloc)) operator new
   37 CODEGENOPT(Autolink          , 1, 1) ///< -fno-autolink
   38 CODEGENOPT(ObjCAutoRefCountExceptions , 1, 0) ///< Whether ARC should be EH-safe.
   39 CODEGENOPT(Backchain         , 1, 0) ///< -mbackchain
   40 CODEGENOPT(ControlFlowGuardNoChecks  , 1, 0) ///< -cfguard-no-checks
   41 CODEGENOPT(ControlFlowGuard  , 1, 0) ///< -cfguard
   42 CODEGENOPT(CoverageExtraChecksum, 1, 0) ///< Whether we need a second checksum for functions in GCNO files.
   43 CODEGENOPT(CoverageNoFunctionNamesInData, 1, 0) ///< Do not include function names in GCDA files.
   44 CODEGENOPT(CoverageExitBlockBeforeBody, 1, 0) ///< Whether to emit the exit block before the body blocks in GCNO files.
   45 CODEGENOPT(CXAAtExit         , 1, 1) ///< Use __cxa_atexit for calling destructors.
   46 CODEGENOPT(RegisterGlobalDtorsWithAtExit, 1, 1) ///< Use atexit or __cxa_atexit to register global destructors.
   47 CODEGENOPT(CXXCtorDtorAliases, 1, 0) ///< Emit complete ctors/dtors as linker
   49 CODEGENOPT(DataSections      , 1, 0) ///< Set when -fdata-sections is enabled.
   50 CODEGENOPT(UniqueSectionNames, 1, 1) ///< Set for -funique-section-names.
   53 CODEGENOPT(DisableFree       , 1, 0) ///< Don't free memory.
   54 CODEGENOPT(DiscardValueNames , 1, 0) ///< Discard Value Names from the IR (LLVMContext flag)
   55 CODEGENOPT(DisableGCov       , 1, 0) ///< Don't run the GCov pass, for testing.
   56 CODEGENOPT(DisableLLVMPasses , 1, 0) ///< Don't run any LLVM IR passes to get
   59 CODEGENOPT(DisableLifetimeMarkers, 1, 0) ///< Don't emit any lifetime markers
   60 CODEGENOPT(DisableO0ImplyOptNone , 1, 0) ///< Don't annonate function with optnone at O0
   61 CODEGENOPT(ExperimentalNewPassManager, 1, 0) ///< Enables the new, experimental
   63 CODEGENOPT(DebugPassManager, 1, 0) ///< Prints debug information for the new
   65 CODEGENOPT(DisableRedZone    , 1, 0) ///< Set when -mno-red-zone is enabled.
   66 CODEGENOPT(EnableDebugEntryValues, 1, 0) ///< Emit call site parameter dbg info
   67 CODEGENOPT(IndirectTlsSegRefs, 1, 0) ///< Set when -mno-tls-direct-seg-refs
   69 CODEGENOPT(DisableTailCalls  , 1, 0) ///< Do not emit tail calls.
   70 CODEGENOPT(NoEscapingBlockTailCalls, 1, 0) ///< Do not emit tail calls from
   72 CODEGENOPT(EmitDeclMetadata  , 1, 0) ///< Emit special metadata indicating what
   76 CODEGENOPT(EmitVersionIdentMetadata , 1, 1) ///< Emit compiler version metadata.
   77 CODEGENOPT(EmitGcovArcs      , 1, 0) ///< Emit coverage data files, aka. GCDA.
   78 CODEGENOPT(EmitGcovNotes     , 1, 0) ///< Emit coverage "notes" files, aka GCNO.
   79 CODEGENOPT(EmitOpenCLArgMetadata , 1, 0) ///< Emit OpenCL kernel arg metadata.
   80 CODEGENOPT(EmulatedTLS       , 1, 0) ///< Set by default or -f[no-]emulated-tls.
   81 CODEGENOPT(ExplicitEmulatedTLS , 1, 0) ///< Set if -f[no-]emulated-tls is used.
   84 CODEGENOPT(ForbidGuardVariables , 1, 0) ///< Issue errors if C++ guard variables
   86 CODEGENOPT(FunctionSections  , 1, 0) ///< Set when -ffunction-sections is enabled.
   87 CODEGENOPT(InstrumentFunctions , 1, 0) ///< Set when -finstrument-functions is
   89 CODEGENOPT(InstrumentFunctionsAfterInlining , 1, 0) ///< Set when
   91 CODEGENOPT(InstrumentFunctionEntryBare , 1, 0) ///< Set when
   93 CODEGENOPT(CFProtectionReturn , 1, 0) ///< if -fcf-protection is
   95 CODEGENOPT(CFProtectionBranch , 1, 0) ///< if -fcf-protection is
   97 CODEGENOPT(XRayInstrumentFunctions , 1, 0) ///< Set when -fxray-instrument is
   99 CODEGENOPT(StackSizeSection  , 1, 0) ///< Set when -fstack-size-section is enabled.
  102 CODEGENOPT(XRayAlwaysEmitCustomEvents , 1, 0)
  105 CODEGENOPT(XRayAlwaysEmitTypedEvents , 1, 0)
  111 CODEGENOPT(InstrumentForProfiling , 1, 0) ///< Set when -pg is enabled.
  112 CODEGENOPT(CallFEntry , 1, 0) ///< Set when -mfentry is enabled.
  113 CODEGENOPT(LessPreciseFPMAD  , 1, 0) ///< Enable less precise MAD instructions to
  115 CODEGENOPT(PrepareForLTO     , 1, 0) ///< Set when -flto is enabled on the
  117 CODEGENOPT(PrepareForThinLTO , 1, 0) ///< Set when -flto=thin is enabled on the
  119 CODEGENOPT(LTOUnit, 1, 0) ///< Emit IR to support LTO unit features (CFI, whole
  121 CODEGENOPT(EnableSplitLTOUnit, 1, 0) ///< Enable LTO unit splitting to support
  125 CODEGENOPT(IncrementalLinkerCompatible, 1, 0) ///< Emit an object file which can
  128 CODEGENOPT(MergeAllConstants , 1, 1) ///< Merge identical constants.
  129 CODEGENOPT(MergeFunctions    , 1, 0) ///< Set when -fmerge-functions is enabled.
  130 CODEGENOPT(MSVolatile        , 1, 0) ///< Set when /volatile:ms is enabled.
  131 CODEGENOPT(NoCommon          , 1, 0) ///< Set when -fno-common or C++ is enabled.
  132 CODEGENOPT(NoDwarfDirectoryAsm , 1, 0) ///< Set when -fno-dwarf-directory-asm is
  134 CODEGENOPT(NoExecStack       , 1, 0) ///< Set when -Wa,--noexecstack is enabled.
  135 CODEGENOPT(FatalWarnings     , 1, 0) ///< Set when -Wa,--fatal-warnings is
  137 CODEGENOPT(NoWarn            , 1, 0) ///< Set when -Wa,--no-warn is enabled.
  138 CODEGENOPT(EnableSegmentedStacks , 1, 0) ///< Set when -fsplit-stack is enabled.
  139 CODEGENOPT(NoImplicitFloat   , 1, 0) ///< Set when -mno-implicit-float is enabled.
  140 CODEGENOPT(NoInfsFPMath      , 1, 0) ///< Assume FP arguments, results not +-Inf.
  141 CODEGENOPT(NoSignedZeros     , 1, 0) ///< Allow ignoring the signedness of FP zero
  142 CODEGENOPT(NullPointerIsValid , 1, 0) ///< Assume Null pointer deference is defined.
  143 CODEGENOPT(Reassociate       , 1, 0) ///< Allow reassociation of FP math ops
  144 CODEGENOPT(ReciprocalMath    , 1, 0) ///< Allow FP divisions to be reassociated.
  145 CODEGENOPT(NoTrappingMath    , 1, 0) ///< Set when -fno-trapping-math is enabled.
  146 CODEGENOPT(NoNaNsFPMath      , 1, 0) ///< Assume FP arguments, results not NaN.
  147 CODEGENOPT(FlushDenorm       , 1, 0) ///< Allow FP denorm numbers to be flushed to zero
  148 CODEGENOPT(CorrectlyRoundedDivSqrt, 1, 0) ///< -cl-fp32-correctly-rounded-divide-sqrt
  153 CODEGENOPT(StrictFloatCastOverflow, 1, 1)
  155 CODEGENOPT(UniformWGSize     , 1, 0) ///< -cl-uniform-work-group-size
  156 CODEGENOPT(NoZeroInitializedInBSS , 1, 0) ///< -fno-zero-initialized-in-bss.
  160 CODEGENOPT(ObjCConvertMessagesToRuntimeCalls , 1, 1)
  169 CODEGENOPT(CoverageMapping , 1, 0) ///< Generate coverage mapping regions to
  171 CODEGENOPT(DumpCoverageMapping , 1, 0) ///< Dump the generated coverage mapping
  177 CODEGENOPT(RelaxAll          , 1, 0) ///< Relax all machine code instructions.
  178 CODEGENOPT(RelaxedAliasing   , 1, 0) ///< Set when -fno-strict-aliasing is enabled.
  179 CODEGENOPT(StructPathTBAA    , 1, 0) ///< Whether or not to use struct-path TBAA.
  180 CODEGENOPT(NewStructPathTBAA , 1, 0) ///< Whether or not to use enhanced struct-path TBAA.
  181 CODEGENOPT(SaveTempLabels    , 1, 0) ///< Save temporary labels.
  182 CODEGENOPT(SanitizeAddressUseAfterScope , 1, 0) ///< Enable use-after-scope detection
  184 CODEGENOPT(SanitizeAddressPoisonCustomArrayCookie, 1,
  187 CODEGENOPT(SanitizeAddressGlobalsDeadStripping, 1, 0) ///< Enable linker dead stripping
  189 CODEGENOPT(SanitizeAddressUseOdrIndicator, 1, 0) ///< Enable ODR indicator globals
  190 CODEGENOPT(SanitizeMemoryTrackOrigins, 2, 0) ///< Enable tracking origins in
  192 CODEGENOPT(SanitizeMemoryUseAfterDtor, 1, 0) ///< Enable use-after-delete detection
  194 CODEGENOPT(SanitizeCfiCrossDso, 1, 0) ///< Enable cross-dso support in CFI.
  195 CODEGENOPT(SanitizeMinimalRuntime, 1, 0) ///< Use "_minimal" sanitizer runtime for
  197 CODEGENOPT(SanitizeCfiICallGeneralizePointers, 1, 0) ///< Generalize pointer types in
  199 CODEGENOPT(SanitizeCfiCanonicalJumpTables, 1, 0) ///< Make jump table symbols canonical
  201 CODEGENOPT(SanitizeCoverageType, 2, 0) ///< Type of sanitizer coverage
  203 CODEGENOPT(SanitizeCoverageIndirectCalls, 1, 0) ///< Enable sanitizer coverage
  205 CODEGENOPT(SanitizeCoverageTraceBB, 1, 0) ///< Enable basic block tracing in
  207 CODEGENOPT(SanitizeCoverageTraceCmp, 1, 0) ///< Enable cmp instruction tracing
  209 CODEGENOPT(SanitizeCoverageTraceDiv, 1, 0) ///< Enable div instruction tracing
  211 CODEGENOPT(SanitizeCoverageTraceGep, 1, 0) ///< Enable GEP instruction tracing
  213 CODEGENOPT(SanitizeCoverage8bitCounters, 1, 0) ///< Use 8-bit frequency counters
  215 CODEGENOPT(SanitizeCoverageTracePC, 1, 0) ///< Enable PC tracing
  217 CODEGENOPT(SanitizeCoverageTracePCGuard, 1, 0) ///< Enable PC tracing with guard
  219 CODEGENOPT(SanitizeCoverageInline8bitCounters, 1, 0) ///< Use inline 8bit counters.
  220 CODEGENOPT(SanitizeCoveragePCTable, 1, 0) ///< Create a PC Table.
  221 CODEGENOPT(SanitizeCoverageNoPrune, 1, 0) ///< Disable coverage pruning.
  222 CODEGENOPT(SanitizeCoverageStackDepth, 1, 0) ///< Enable max stack depth tracing
  223 CODEGENOPT(SanitizeStats     , 1, 0) ///< Collect statistics for sanitizers.
  224 CODEGENOPT(SimplifyLibCalls  , 1, 1) ///< Set when -fbuiltin is enabled.
  225 CODEGENOPT(SoftFloat         , 1, 0) ///< -soft-float.
  226 CODEGENOPT(SpeculativeLoadHardening, 1, 0) ///< Enable speculative load hardening.
  227 CODEGENOPT(FineGrainedBitfieldAccesses, 1, 0) ///< Enable fine-grained bitfield accesses.
  228 CODEGENOPT(StrictEnums       , 1, 0) ///< Optimize based on strict enum definition.
  229 CODEGENOPT(StrictVTablePointers, 1, 0) ///< Optimize based on the strict vtable pointers
  230 CODEGENOPT(TimePasses        , 1, 0) ///< Set when -ftime-report is enabled.
  231 CODEGENOPT(TimeTrace         , 1, 0) ///< Set when -ftime-trace is enabled.
  234 CODEGENOPT(UnrollLoops       , 1, 0) ///< Control whether loops are unrolled.
  235 CODEGENOPT(RerollLoops       , 1, 0) ///< Control whether loops are rerolled.
  236 CODEGENOPT(NoUseJumpTables   , 1, 0) ///< Set when -fno-jump-tables is enabled.
  237 CODEGENOPT(UnsafeFPMath      , 1, 0) ///< Allow unsafe floating point optzns.
  238 CODEGENOPT(UnwindTables      , 1, 0) ///< Emit unwind tables.
  239 CODEGENOPT(VectorizeLoop     , 1, 0) ///< Run loop vectorizer.
  240 CODEGENOPT(VectorizeSLP      , 1, 0) ///< Run SLP vectorizer.
  241 CODEGENOPT(ProfileSampleAccurate, 1, 0) ///< Sample profile is accurate.
  245 CODEGENOPT(UseRegisterSizedBitfieldAccess , 1, 0)
  247 CODEGENOPT(VerifyModule      , 1, 1) ///< Control whether the module should be run
  250 CODEGENOPT(StackRealignment  , 1, 0) ///< Control whether to force stack
  252 CODEGENOPT(UseInitArray      , 1, 0) ///< Control whether to use .init_array or
  258 CODEGENOPT(NoStackArgProbe, 1, 0) ///< Set when -mno-stack-arg-probe is used
  259 CODEGENOPT(DebugColumnInfo, 1, 0) ///< Whether or not to use column information
  262 CODEGENOPT(DebugTypeExtRefs, 1, 0) ///< Whether or not debug info should contain
  265 CODEGENOPT(DebugExplicitImport, 1, 0)  ///< Whether or not debug info should
  269 CODEGENOPT(SplitDwarfInlining, 1, 1) ///< Whether to include inlining info in the
  272 CODEGENOPT(DebugFwdTemplateParams, 1, 0) ///< Whether to emit complete
  277 CODEGENOPT(EmitLLVMUseLists, 1, 0) ///< Control whether to serialize use-lists.
  279 CODEGENOPT(WholeProgramVTables, 1, 0) ///< Whether to apply whole-program
  282 CODEGENOPT(VirtualFunctionElimination, 1, 0) ///< Whether to apply the dead
  288 CODEGENOPT(LTOVisibilityPublicStd, 1, 0)
  301 CODEGENOPT(MacroDebugInfo, 1, 0)
  313 CODEGENOPT(EmitCodeView, 1, 0)
  316 CODEGENOPT(CodeViewGHash, 1, 0)
  332 CODEGENOPT(DiagnosticsWithHotness, 1, 0)
  339 CODEGENOPT(PIECopyRelocations, 1, 0)
  343 CODEGENOPT(StrictReturn, 1, 1)
  346 CODEGENOPT(DebugInfoForProfiling, 1, 0)
  349 CODEGENOPT(PreserveVec3Type, 1, 0)
  352 CODEGENOPT(DebugNameTable, 2, 0)
  355 CODEGENOPT(DebugRangesBaseAddress, 1, 0)
  357 CODEGENOPT(NoPLT, 1, 0)
  360 CODEGENOPT(EmbedSource, 1, 0)
  363 CODEGENOPT(ForceEmitVTables, 1, 0)
  366 CODEGENOPT(Addrsig, 1, 0)
  370 CODEGENOPT(BranchTargetEnforcement, 1, 0)
  373 CODEGENOPT(KeepStaticConsts, 1, 0)