LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions | Variables
LLVMTargetMachine.cpp File Reference
#include "llvm/Target/TargetMachine.h"
#include "llvm/ADT/OwningPtr.h"
#include "llvm/Assembly/PrintModulePass.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/CodeGen/MachineFunctionAnalysis.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/PassManager.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/FormattedStream.h"
#include "llvm/Support/TargetRegistry.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetLowering.h"
#include "llvm/Target/TargetLoweringObjectFile.h"
#include "llvm/Target/TargetOptions.h"
#include "llvm/Target/TargetRegisterInfo.h"
#include "llvm/Target/TargetSubtargetInfo.h"
#include "llvm/Transforms/Scalar.h"
Include dependency graph for LLVMTargetMachine.cpp:

Go to the source code of this file.

Functions

static bool getVerboseAsm ()
 
static MCContextaddPassesToGenerateCode (LLVMTargetMachine *TM, PassManagerBase &PM, bool DisableVerify, AnalysisID StartAfter, AnalysisID StopAfter)
 addPassesToX helper drives creation and initialization of TargetPassConfig. More...
 

Variables

static cl::opt< cl::boolOrDefaultEnableFastISelOption ("fast-isel", cl::Hidden, cl::desc("Enable the \"fast\" instruction selector"))
 
static cl::opt< boolShowMCEncoding ("show-mc-encoding", cl::Hidden, cl::desc("Show encoding in .s output"))
 
static cl::opt< boolShowMCInst ("show-mc-inst", cl::Hidden, cl::desc("Show instruction structure in .s output"))
 
static cl::opt< cl::boolOrDefaultAsmVerbose ("asm-verbose", cl::desc("Add comments to directives."), cl::init(cl::BOU_UNSET))
 

Function Documentation

static MCContext* addPassesToGenerateCode ( LLVMTargetMachine TM,
PassManagerBase &  PM,
bool  DisableVerify,
AnalysisID  StartAfter,
AnalysisID  StopAfter 
)
static
static bool getVerboseAsm ( )
static

Variable Documentation

cl::opt<cl::boolOrDefault> AsmVerbose("asm-verbose", cl::desc("Add comments to directives."), cl::init(cl::BOU_UNSET))
static

Referenced by getVerboseAsm().

cl::opt<cl::boolOrDefault> EnableFastISelOption("fast-isel", cl::Hidden, cl::desc("Enable the \"fast\" instruction selector"))
static

Referenced by addPassesToGenerateCode().

cl::opt<bool> ShowMCEncoding("show-mc-encoding", cl::Hidden, cl::desc("Show encoding in .s output"))
static
cl::opt<bool> ShowMCInst("show-mc-inst", cl::Hidden, cl::desc("Show instruction structure in .s output"))
static