LLVM API Documentation
#include "llvm/Target/TargetMachine.h"
#include "llvm/Analysis/Passes.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/CodeGen/JumpInstrTables.h"
#include "llvm/CodeGen/MachineFunctionAnalysis.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/IR/IRPrintingPasses.h"
#include "llvm/IR/Verifier.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"
Go to the source code of this file.
Functions | |
static MCContext * | addPassesToGenerateCode (LLVMTargetMachine *TM, PassManagerBase &PM, bool DisableVerify, AnalysisID StartAfter, AnalysisID StopAfter) |
addPassesToX helper drives creation and initialization of TargetPassConfig. | |
Variables | |
static cl::opt< cl::boolOrDefault > | EnableFastISelOption ("fast-isel", cl::Hidden, cl::desc("Enable the \"fast\" instruction selector")) |
static MCContext* addPassesToGenerateCode | ( | LLVMTargetMachine * | TM, |
PassManagerBase & | PM, | ||
bool | DisableVerify, | ||
AnalysisID | StartAfter, | ||
AnalysisID | StopAfter | ||
) | [static] |
addPassesToX helper drives creation and initialization of TargetPassConfig.
Definition at line 84 of file LLVMTargetMachine.cpp.
References llvm::LLVMTargetMachine::addAnalysisPasses(), llvm::TargetPassConfig::addCodeGenPrepare(), llvm::TargetPassConfig::addInstSelector(), llvm::TargetPassConfig::addIRPasses(), llvm::TargetPassConfig::addISelPrepare(), llvm::TargetPassConfig::addMachinePasses(), llvm::TargetPassConfig::addPassesToHandleExceptions(), llvm::cl::BOU_FALSE, llvm::cl::BOU_TRUE, llvm::LLVMTargetMachine::createPassConfig(), EnableFastISelOption, llvm::MachineModuleInfo::getContext(), llvm::TargetMachine::getMCAsmInfo(), llvm::TargetLoweringBase::getObjFileLowering(), llvm::TargetMachine::getOptLevel(), llvm::TargetSubtargetInfo::getRegisterInfo(), llvm::TargetMachine::getSubtargetImpl(), llvm::TargetSubtargetInfo::getTargetLowering(), llvm::CodeGenOpt::None, llvm::TargetPassConfig::setDisableVerify(), llvm::TargetMachine::setFastISel(), llvm::TargetPassConfig::setInitialized(), and llvm::TargetPassConfig::setStartStopPasses().
Referenced by llvm::LLVMTargetMachine::addPassesToEmitFile(), and llvm::LLVMTargetMachine::addPassesToEmitMC().
cl::opt<cl::boolOrDefault> EnableFastISelOption("fast-isel", cl::Hidden, cl::desc("Enable the \"fast\" instruction selector")) [static] |
Referenced by addPassesToGenerateCode().