clang API Documentation
Bitfields of CodeGenOptions, split out from CodeGenOptions to ensure that this large collection of bitfields is a trivial class type. More...
#include <CodeGenOptions.h>
Public Member Functions | |
CODEGENOPT (DisableIntegratedAS, 1, 0) CODEGENOPT(CompressDebugSections | |
CODEGENOPT (Autolink, 1, 1) CODEGENOPT(AsmVerbose | |
< -Wa,-compress-debug-sections | |
CODEGENOPT (ObjCAutoRefCountExceptions, 1, 0) CODEGENOPT(CoverageExtraChecksum | |
< -dA, -fverbose-asm. | |
CODEGENOPT (CoverageNoFunctionNamesInData, 1, 0) CODEGENOPT(CUDAIsDevice | |
< Whether we need a second checksum for functions in GCNO files. | |
CODEGENOPT (CXAAtExit, 1, 1) CODEGENOPT(CXXCtorDtorAliases | |
< Set when compiling for CUDA device. | |
CODEGENOPT (DataSections, 1, 0) CODEGENOPT(DisableFPElim | |
CODEGENOPT (DisableFree, 1, 0) CODEGENOPT(DisableGCov | |
< Set when -fomit-frame-pointer is enabled. | |
CODEGENOPT (DisableLLVMOpts, 1, 0) CODEGENOPT(DisableRedZone | |
< Don't run the GCov pass, for testing. | |
CODEGENOPT (DisableTailCalls, 1, 0) CODEGENOPT(EmitDeclMetadata | |
< Set when -mno-red-zone is enabled. | |
CODEGENOPT (EmitGcovArcs, 1, 0) CODEGENOPT(EmitGcovNotes | |
CODEGENOPT (EmitOpenCLArgMetadata, 1, 0) CODEGENOPT(ForbidGuardVariables | |
< Emit coverage "notes" files, aka GCNO. | |
CODEGENOPT (FunctionSections, 1, 0) CODEGENOPT(InstrumentFunctions | |
CODEGENOPT (InstrumentForProfiling, 1, 0) CODEGENOPT(LessPreciseFPMAD | |
CODEGENOPT (MergeAllConstants, 1, 1) CODEGENOPT(MergeFunctions | |
CODEGENOPT (NoCommon, 1, 0) CODEGENOPT(NoDwarfDirectoryAsm | |
< Set when -fmerge-functions is enabled. | |
CODEGENOPT (NoExecStack, 1, 0) CODEGENOPT(FatalWarnings | |
CODEGENOPT (EnableSegmentedStacks, 1, 0) CODEGENOPT(NoGlobalMerge | |
CODEGENOPT (NoImplicitFloat, 1, 0) CODEGENOPT(NoInfsFPMath | |
< Set when -mno-global-merge is enabled. | |
CODEGENOPT (NoInline, 1, 0) CODEGENOPT(NoNaNsFPMath | |
< Assume FP arguments, results not +-Inf. | |
CODEGENOPT (NoZeroInitializedInBSS, 1, 0) CODEGENOPT(OmitLeafFramePointer | |
< Assume FP arguments, results not NaN. | |
VALUE_CODEGENOPT (OptimizationLevel, 3, 0) VALUE_CODEGENOPT(OptimizeSize | |
CODEGENOPT (ProfileInstrGenerate, 1, 0) CODEGENOPT(CoverageMapping | |
< If -Os (==1) or -Oz (==2) is specified. | |
CODEGENOPT (DumpCoverageMapping, 1, 0) CODEGENOPT(RelaxAll | |
If -fpcc-struct-return or -freg-struct-return is specified. | |
CODEGENOPT (RelaxedAliasing, 1, 0) CODEGENOPT(StructPathTBAA | |
< Relax all machine code instructions. | |
CODEGENOPT (SaveTempLabels, 1, 0) CODEGENOPT(SanitizeAddressZeroBaseShadow | |
< Whether or not to use struct-path TBAA. | |
CODEGENOPT (SanitizeMemoryTrackOrigins, 2, 0) CODEGENOPT(SanitizeCoverage | |
CODEGENOPT (SanitizeUndefinedTrapOnError, 1, 0) CODEGENOPT(SimplifyLibCalls | |
< Enable sanitizer coverage instrumentation. | |
CODEGENOPT (SoftFloat, 1, 0) CODEGENOPT(StrictEnums | |
< Set when -fbuiltin is enabled. | |
CODEGENOPT (TimePasses, 1, 0) CODEGENOPT(UnitAtATime | |
< Optimize based on strict enum definition. | |
CODEGENOPT (UnrollLoops, 1, 0) CODEGENOPT(RerollLoops | |
CODEGENOPT (UnsafeFPMath, 1, 0) CODEGENOPT(UnwindTables | |
< Control whether loops are rerolled. | |
CODEGENOPT (VectorizeBB, 1, 0) CODEGENOPT(VectorizeLoop | |
< Emit unwind tables. | |
CODEGENOPT (VectorizeSLP, 1, 0) CODEGENOPT(VerifyModule | |
< Run loop vectorizer. | |
CODEGENOPT (StackRealignment, 1, 0) CODEGENOPT(UseInitArray | |
VALUE_CODEGENOPT (StackAlignment, 32, 0) CODEGENOPT(DebugColumnInfo |
Bitfields of CodeGenOptions, split out from CodeGenOptions to ensure that this large collection of bitfields is a trivial class type.
Definition at line 26 of file CodeGenOptions.h.
clang::CodeGenOptionsBase::CODEGENOPT | ( | DisableIntegratedAS | , |
1 | , | ||
0 | |||
) |
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::CODEGENOPT | ( | Autolink | , |
1 | , | ||
1 | |||
) |
< -Wa,-compress-debug-sections
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::CODEGENOPT | ( | ObjCAutoRefCountExceptions | , |
1 | , | ||
0 | |||
) |
< -dA, -fverbose-asm.
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::CODEGENOPT | ( | CoverageNoFunctionNamesInData | , |
1 | , | ||
0 | |||
) |
< Whether we need a second checksum for functions in GCNO files.
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::CODEGENOPT | ( | CXAAtExit | , |
1 | , | ||
1 | |||
) |
< Set when compiling for CUDA device.
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::CODEGENOPT | ( | DataSections | , |
1 | , | ||
0 | |||
) |
< Emit complete ctors/dtors as linker aliases to base ctors when possible.
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::CODEGENOPT | ( | DisableFree | , |
1 | , | ||
0 | |||
) |
< Set when -fomit-frame-pointer is enabled.
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::CODEGENOPT | ( | DisableLLVMOpts | , |
1 | , | ||
0 | |||
) |
< Don't run the GCov pass, for testing.
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::CODEGENOPT | ( | DisableTailCalls | , |
1 | , | ||
0 | |||
) |
< Set when -mno-red-zone is enabled.
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::CODEGENOPT | ( | EmitGcovArcs | , |
1 | , | ||
0 | |||
) |
< Emit special metadata indicating what Decl* various IR entities came from. Only useful when running CodeGen as a subroutine.
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::CODEGENOPT | ( | EmitOpenCLArgMetadata | , |
1 | , | ||
0 | |||
) |
< Emit coverage "notes" files, aka GCNO.
FP_CONTRACT mode (on/off/fast).
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::CODEGENOPT | ( | FunctionSections | , |
1 | , | ||
0 | |||
) |
< Issue errors if C++ guard variables are required.
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::CODEGENOPT | ( | InstrumentForProfiling | , |
1 | , | ||
0 | |||
) |
< Set when -finstrument-functions is enabled.
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::CODEGENOPT | ( | MergeAllConstants | , |
1 | , | ||
1 | |||
) |
< Enable less precise MAD instructions to be generated.
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::CODEGENOPT | ( | NoCommon | , |
1 | , | ||
0 | |||
) |
< Set when -fmerge-functions is enabled.
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::CODEGENOPT | ( | NoExecStack | , |
1 | , | ||
0 | |||
) |
< Set when -fno-dwarf-directory-asm is enabled.
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::CODEGENOPT | ( | EnableSegmentedStacks | , |
1 | , | ||
0 | |||
) |
< Set when -Wa,--fatal-warnings is enabled.
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::CODEGENOPT | ( | NoImplicitFloat | , |
1 | , | ||
0 | |||
) |
< Set when -mno-global-merge is enabled.
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::CODEGENOPT | ( | NoInline | , |
1 | , | ||
0 | |||
) |
< Assume FP arguments, results not +-Inf.
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::CODEGENOPT | ( | NoZeroInitializedInBSS | , |
1 | , | ||
0 | |||
) |
< Assume FP arguments, results not NaN.
Method of Objective-C dispatch to use.
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::CODEGENOPT | ( | ProfileInstrGenerate | , |
1 | , | ||
0 | |||
) |
< If -Os (==1) or -Oz (==2) is specified.
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::CODEGENOPT | ( | DumpCoverageMapping | , |
1 | , | ||
0 | |||
) |
If -fpcc-struct-return or -freg-struct-return is specified.
< Generate coverage mapping regions to enable code coverage analysis.
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::CODEGENOPT | ( | RelaxedAliasing | , |
1 | , | ||
0 | |||
) |
< Relax all machine code instructions.
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::CODEGENOPT | ( | SaveTempLabels | , |
1 | , | ||
0 | |||
) |
< Whether or not to use struct-path TBAA.
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::CODEGENOPT | ( | SanitizeMemoryTrackOrigins | , |
2 | , | ||
0 | |||
) |
< Map shadow memory at zero offset in AddressSanitizer.
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::CODEGENOPT | ( | SanitizeUndefinedTrapOnError | , |
1 | , | ||
0 | |||
) |
< Enable sanitizer coverage instrumentation.
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::CODEGENOPT | ( | SoftFloat | , |
1 | , | ||
0 | |||
) |
< Set when -fbuiltin is enabled.
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::CODEGENOPT | ( | TimePasses | , |
1 | , | ||
0 | |||
) |
< Optimize based on strict enum definition.
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::CODEGENOPT | ( | UnrollLoops | , |
1 | , | ||
0 | |||
) |
< Unused. For mirroring GCC optimization selection.
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::CODEGENOPT | ( | UnsafeFPMath | , |
1 | , | ||
0 | |||
) |
< Control whether loops are rerolled.
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::CODEGENOPT | ( | VectorizeBB | , |
1 | , | ||
0 | |||
) |
< Emit unwind tables.
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::CODEGENOPT | ( | VectorizeSLP | , |
1 | , | ||
0 | |||
) |
< Run loop vectorizer.
Attempt to use register sized accesses to bit-fields in structures, when possible.
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::CODEGENOPT | ( | StackRealignment | , |
1 | , | ||
0 | |||
) |
< Control whether the module should be run through the LLVM Verifier.
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::VALUE_CODEGENOPT | ( | OptimizationLevel | , |
3 | , | ||
0 | |||
) |
< Set when -momit-leaf-frame-pointer is enabled.
Reimplemented in clang::CodeGenOptions.
clang::CodeGenOptionsBase::VALUE_CODEGENOPT | ( | StackAlignment | , |
32 | , | ||
0 | |||
) |
< Control whether to use .init_array or .ctors.
Reimplemented in clang::CodeGenOptions.