LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Macros | Functions | Variables
TargetMachine.cpp File Reference
#include "llvm/Target/TargetMachine.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/GlobalAlias.h"
#include "llvm/IR/GlobalValue.h"
#include "llvm/IR/GlobalVariable.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCCodeGenInfo.h"
#include "llvm/Support/CommandLine.h"
Include dependency graph for TargetMachine.cpp:

Go to the source code of this file.

Namespaces

 llvm
 List of target independent CodeGen pass IDs.
 

Macros

#define RESET_OPTION(X, Y)
 

Functions

bool llvm::AsmVerbosityDefault (false)
 
static TLSModel::Model getSelectedTLSModel (const GlobalVariable *Var)
 Get the IR-specified TLS model for Var. More...
 

Variables

bool llvm::HasDivModLibcall
 
static cl::opt< boolDataSections ("fdata-sections", cl::desc("Emit data into separate sections"), cl::init(false))
 
static cl::opt< boolFunctionSections ("ffunction-sections", cl::desc("Emit functions into separate sections"), cl::init(false))
 

Macro Definition Documentation

#define RESET_OPTION (   X,
  Y 
)
Value:
do { \
if (F->hasFnAttribute(Y)) \
TO.X = \
(F->getAttributes(). \
getAttribute(AttributeSet::FunctionIndex, \
Y).getValueAsString() == "true"); \
} while (0)
F(f)
* if(!EatIfPresent(lltok::kw_thread_local)) return false
static GCMetadataPrinterRegistry::Add< OcamlGCMetadataPrinter > Y("ocaml","ocaml 3.10-compatible collector")

Referenced by llvm::TargetMachine::resetTargetOptions().

Function Documentation

static TLSModel::Model getSelectedTLSModel ( const GlobalVariable Var)
static

Variable Documentation

cl::opt<bool> DataSections("fdata-sections", cl::desc("Emit data into separate sections"), cl::init(false))
static
cl::opt<bool> FunctionSections("ffunction-sections", cl::desc("Emit functions into separate sections"), cl::init(false))
static