clang 18.0.0git
Classes | Namespaces | Macros
CodeGenOptions.h File Reference
#include "clang/Basic/Sanitizers.h"
#include "clang/Basic/XRayInstr.h"
#include "llvm/ADT/FloatingPointMode.h"
#include "llvm/Frontend/Debug/Options.h"
#include "llvm/Frontend/Driver/CodeGenOptions.h"
#include "llvm/Support/CodeGen.h"
#include "llvm/Support/Regex.h"
#include "llvm/Target/TargetOptions.h"
#include "llvm/Transforms/Instrumentation/AddressSanitizerOptions.h"
#include <map>
#include <memory>
#include <string>
#include <vector>
#include "clang/Basic/CodeGenOptions.def"

Go to the source code of this file.

Classes

class  clang::CodeGenOptionsBase
 Bitfields of CodeGenOptions, split out from CodeGenOptions to ensure that this large collection of bitfields is a trivial class type. More...
 
class  clang::CodeGenOptions
 CodeGenOptions - Track various options which control how the code is optimized and passed to the backend. More...
 
struct  clang::CodeGenOptions::BitcodeFileToLink
 
struct  clang::CodeGenOptions::OptRemark
 Optimization remark with an optional regular expression pattern. More...
 

Namespaces

namespace  llvm
 YAML serialization mapping.
 
namespace  clang
 

Macros

#define CODEGENOPT(Name, Bits, Default)   unsigned Name : Bits;
 
#define ENUM_CODEGENOPT(Name, Type, Bits, Default)
 
#define CODEGENOPT(Name, Bits, Default)
 
#define ENUM_CODEGENOPT(Name, Type, Bits, Default)   unsigned Name : Bits;
 
#define CODEGENOPT(Name, Bits, Default)
 
#define ENUM_CODEGENOPT(Name, Type, Bits, Default)
 

Macro Definition Documentation

◆ CODEGENOPT [1/3]

#define CODEGENOPT (   Name,
  Bits,
  Default 
)    unsigned Name : Bits;

Definition at line 470 of file CodeGenOptions.h.

◆ CODEGENOPT [2/3]

#define CODEGENOPT (   Name,
  Bits,
  Default 
)

Definition at line 470 of file CodeGenOptions.h.

◆ CODEGENOPT [3/3]

#define CODEGENOPT (   Name,
  Bits,
  Default 
)

Definition at line 470 of file CodeGenOptions.h.

◆ ENUM_CODEGENOPT [1/3]

#define ENUM_CODEGENOPT (   Name,
  Type,
  Bits,
  Default 
)

Definition at line 471 of file CodeGenOptions.h.

◆ ENUM_CODEGENOPT [2/3]

#define ENUM_CODEGENOPT (   Name,
  Type,
  Bits,
  Default 
)    unsigned Name : Bits;

Definition at line 471 of file CodeGenOptions.h.

◆ ENUM_CODEGENOPT [3/3]

#define ENUM_CODEGENOPT (   Name,
  Type,
  Bits,
  Default 
)
Value:
Type get##Name() const { return static_cast<Type>(Name); } \
void set##Name(Type Value) { Name = static_cast<unsigned>(Value); }
MatchType Type

Definition at line 471 of file CodeGenOptions.h.