clang API Documentation

Public Member Functions
clang::CodeGenOptionsBase Class Reference

Bitfields of CodeGenOptions, split out from CodeGenOptions to ensure that this large collection of bitfields is a trivial class type. More...

#include <CodeGenOptions.h>

Inheritance diagram for clang::CodeGenOptionsBase:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

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.


Member Function Documentation

clang::CodeGenOptionsBase::CODEGENOPT ( DisableIntegratedAS  ,
,
 
)

Reimplemented in clang::CodeGenOptions.

clang::CodeGenOptionsBase::CODEGENOPT ( Autolink  ,
,
 
)

< -Wa,-compress-debug-sections

Reimplemented in clang::CodeGenOptions.

clang::CodeGenOptionsBase::CODEGENOPT ( ObjCAutoRefCountExceptions  ,
,
 
)

< -dA, -fverbose-asm.

Reimplemented in clang::CodeGenOptions.

clang::CodeGenOptionsBase::CODEGENOPT ( CoverageNoFunctionNamesInData  ,
,
 
)

< Whether we need a second checksum for functions in GCNO files.

Reimplemented in clang::CodeGenOptions.

clang::CodeGenOptionsBase::CODEGENOPT ( CXAAtExit  ,
,
 
)

< Set when compiling for CUDA device.

Reimplemented in clang::CodeGenOptions.

clang::CodeGenOptionsBase::CODEGENOPT ( DataSections  ,
,
 
)

< Emit complete ctors/dtors as linker aliases to base ctors when possible.

Reimplemented in clang::CodeGenOptions.

clang::CodeGenOptionsBase::CODEGENOPT ( DisableFree  ,
,
 
)

< Set when -fomit-frame-pointer is enabled.

Reimplemented in clang::CodeGenOptions.

clang::CodeGenOptionsBase::CODEGENOPT ( DisableLLVMOpts  ,
,
 
)

< Don't run the GCov pass, for testing.

Reimplemented in clang::CodeGenOptions.

clang::CodeGenOptionsBase::CODEGENOPT ( DisableTailCalls  ,
,
 
)

< Set when -mno-red-zone is enabled.

Reimplemented in clang::CodeGenOptions.

clang::CodeGenOptionsBase::CODEGENOPT ( EmitGcovArcs  ,
,
 
)

< 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  ,
,
 
)

< Emit coverage "notes" files, aka GCNO.

FP_CONTRACT mode (on/off/fast).

Reimplemented in clang::CodeGenOptions.

clang::CodeGenOptionsBase::CODEGENOPT ( FunctionSections  ,
,
 
)

< Issue errors if C++ guard variables are required.

Reimplemented in clang::CodeGenOptions.

clang::CodeGenOptionsBase::CODEGENOPT ( InstrumentForProfiling  ,
,
 
)

< Set when -finstrument-functions is enabled.

Reimplemented in clang::CodeGenOptions.

clang::CodeGenOptionsBase::CODEGENOPT ( MergeAllConstants  ,
,
 
)

< Enable less precise MAD instructions to be generated.

Reimplemented in clang::CodeGenOptions.

clang::CodeGenOptionsBase::CODEGENOPT ( NoCommon  ,
,
 
)

< Set when -fmerge-functions is enabled.

Reimplemented in clang::CodeGenOptions.

clang::CodeGenOptionsBase::CODEGENOPT ( NoExecStack  ,
,
 
)

< Set when -fno-dwarf-directory-asm is enabled.

Reimplemented in clang::CodeGenOptions.

clang::CodeGenOptionsBase::CODEGENOPT ( EnableSegmentedStacks  ,
,
 
)

< Set when -Wa,--fatal-warnings is enabled.

Reimplemented in clang::CodeGenOptions.

clang::CodeGenOptionsBase::CODEGENOPT ( NoImplicitFloat  ,
,
 
)

< Set when -mno-global-merge is enabled.

Reimplemented in clang::CodeGenOptions.

clang::CodeGenOptionsBase::CODEGENOPT ( NoInline  ,
,
 
)

< Assume FP arguments, results not +-Inf.

Reimplemented in clang::CodeGenOptions.

clang::CodeGenOptionsBase::CODEGENOPT ( NoZeroInitializedInBSS  ,
,
 
)

< Assume FP arguments, results not NaN.

Method of Objective-C dispatch to use.

Reimplemented in clang::CodeGenOptions.

clang::CodeGenOptionsBase::CODEGENOPT ( ProfileInstrGenerate  ,
,
 
)

< If -Os (==1) or -Oz (==2) is specified.

Reimplemented in clang::CodeGenOptions.

clang::CodeGenOptionsBase::CODEGENOPT ( DumpCoverageMapping  ,
,
 
)

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  ,
,
 
)

< Relax all machine code instructions.

Reimplemented in clang::CodeGenOptions.

clang::CodeGenOptionsBase::CODEGENOPT ( SaveTempLabels  ,
,
 
)

< Whether or not to use struct-path TBAA.

Reimplemented in clang::CodeGenOptions.

clang::CodeGenOptionsBase::CODEGENOPT ( SanitizeMemoryTrackOrigins  ,
,
 
)

< Map shadow memory at zero offset in AddressSanitizer.

Reimplemented in clang::CodeGenOptions.

clang::CodeGenOptionsBase::CODEGENOPT ( SanitizeUndefinedTrapOnError  ,
,
 
)

< Enable sanitizer coverage instrumentation.

Reimplemented in clang::CodeGenOptions.

clang::CodeGenOptionsBase::CODEGENOPT ( SoftFloat  ,
,
 
)

< Set when -fbuiltin is enabled.

Reimplemented in clang::CodeGenOptions.

clang::CodeGenOptionsBase::CODEGENOPT ( TimePasses  ,
,
 
)

< Optimize based on strict enum definition.

Reimplemented in clang::CodeGenOptions.

clang::CodeGenOptionsBase::CODEGENOPT ( UnrollLoops  ,
,
 
)

< Unused. For mirroring GCC optimization selection.

Reimplemented in clang::CodeGenOptions.

clang::CodeGenOptionsBase::CODEGENOPT ( UnsafeFPMath  ,
,
 
)

< Control whether loops are rerolled.

Reimplemented in clang::CodeGenOptions.

clang::CodeGenOptionsBase::CODEGENOPT ( VectorizeBB  ,
,
 
)

< Emit unwind tables.

Reimplemented in clang::CodeGenOptions.

clang::CodeGenOptionsBase::CODEGENOPT ( VectorizeSLP  ,
,
 
)

< Run loop vectorizer.

Attempt to use register sized accesses to bit-fields in structures, when possible.

Reimplemented in clang::CodeGenOptions.

clang::CodeGenOptionsBase::CODEGENOPT ( StackRealignment  ,
,
 
)

< Control whether the module should be run through the LLVM Verifier.

Reimplemented in clang::CodeGenOptions.

clang::CodeGenOptionsBase::VALUE_CODEGENOPT ( OptimizationLevel  ,
,
 
)

< Set when -momit-leaf-frame-pointer is enabled.

Reimplemented in clang::CodeGenOptions.

clang::CodeGenOptionsBase::VALUE_CODEGENOPT ( StackAlignment  ,
32  ,
 
)

< Control whether to use .init_array or .ctors.

Reimplemented in clang::CodeGenOptions.


The documentation for this class was generated from the following files: