LLVM 24.0.0git
CommandFlags.cpp File Reference
#include "llvm/CodeGen/CommandFlags.h"
#include "llvm/ADT/FloatingPointMode.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/Intrinsics.h"
#include "llvm/IR/Module.h"
#include "llvm/MC/MCTargetOptionsCommandFlags.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Option/LibraryOptions.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/WithColor.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/TargetParser/Host.h"
#include "llvm/TargetParser/SubtargetFeature.h"
#include "llvm/TargetParser/Triple.h"
#include <cassert>
#include <memory>
#include <optional>
#include <system_error>
#include "CodeGenToolOptions.inc"

Go to the source code of this file.

Macros

#define OPTIONS_STRUCT_DECL
#define OPTIONS_STRUCT_DEFS

Functions

static const CodeGenToolOptions & getCodeGenToolOptions (const LLVMContext &C)
static BasicBlockSection getBBSectionsMode (const CodeGenToolOptions &Opts, TargetOptions &Options)

Macro Definition Documentation

◆ OPTIONS_STRUCT_DECL

#define OPTIONS_STRUCT_DECL

Definition at line 45 of file CommandFlags.cpp.

◆ OPTIONS_STRUCT_DEFS

#define OPTIONS_STRUCT_DEFS

Definition at line 48 of file CommandFlags.cpp.

Function Documentation

◆ getBBSectionsMode()

BasicBlockSection getBBSectionsMode ( const CodeGenToolOptions & Opts,
TargetOptions & Options )
static

◆ getCodeGenToolOptions()

const CodeGenToolOptions & getCodeGenToolOptions ( const LLVMContext & C)
static

Definition at line 51 of file CommandFlags.cpp.

References C().

Referenced by llvm::codegen::setFunctionAttributes(), and llvm::codegen::setFunctionAttributes().