LLVM  8.0.1
Functions | Variables
LLVMTargetMachine.cpp File Reference
#include "llvm/Analysis/Passes.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/CodeGen/BasicTTIImpl.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/TargetPassConfig.h"
#include "llvm/IR/LegacyPassManager.h"
#include "llvm/MC/MCAsmBackend.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCCodeEmitter.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCObjectWriter.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/FormattedStream.h"
#include "llvm/Support/TargetRegistry.h"
#include "llvm/Target/TargetLoweringObjectFile.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetOptions.h"
Include dependency graph for LLVMTargetMachine.cpp:

Go to the source code of this file.

Functions

static TargetPassConfigaddPassesToGenerateCode (LLVMTargetMachine &TM, PassManagerBase &PM, bool DisableVerify, MachineModuleInfo &MMI)
 addPassesToX helper drives creation and initialization of TargetPassConfig. More...
 

Variables

static cl::opt< boolEnableTrapUnreachable ("trap-unreachable", cl::Hidden, cl::ZeroOrMore, cl::init(false), cl::desc("Enable generating trap for unreachable"))
 

Function Documentation

◆ addPassesToGenerateCode()

static TargetPassConfig* addPassesToGenerateCode ( LLVMTargetMachine TM,
PassManagerBase PM,
bool  DisableVerify,
MachineModuleInfo MMI 
)
static

Variable Documentation

◆ EnableTrapUnreachable

cl::opt<bool> EnableTrapUnreachable("trap-unreachable", cl::Hidden, cl::ZeroOrMore, cl::init(false), cl::desc("Enable generating trap for unreachable"))
static