|
LLVM
3.7.0
|
#include "llvm/Target/TargetMachine.h"#include "llvm/Analysis/Passes.h"#include "llvm/CodeGen/AsmPrinter.h"#include "llvm/CodeGen/BasicTTIImpl.h"#include "llvm/CodeGen/MachineFunctionAnalysis.h"#include "llvm/CodeGen/MachineModuleInfo.h"#include "llvm/CodeGen/Passes.h"#include "llvm/IR/IRPrintingPasses.h"#include "llvm/IR/LegacyPassManager.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/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/TargetOptions.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 StartBefore, AnalysisID StartAfter, AnalysisID StopAfter, MachineFunctionInitializer *MFInitializer=nullptr) |
| addPassesToX helper drives creation and initialization of TargetPassConfig. More... | |
Variables | |
| static cl::opt< cl::boolOrDefault > | EnableFastISelOption ("fast-isel", cl::Hidden, cl::desc("Enable the \"fast\" instruction selector")) |
|
static |
addPassesToX helper drives creation and initialization of TargetPassConfig.
Definition at line 92 of file LLVMTargetMachine.cpp.
References 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(), llvm::createTargetTransformInfoWrapperPass(), EnableFastISelOption, llvm::MachineModuleInfo::getContext(), llvm::TargetMachine::getMCAsmInfo(), llvm::TargetMachine::getMCRegisterInfo(), llvm::TargetMachine::getObjFileLowering(), llvm::TargetMachine::getOptLevel(), llvm::LLVMTargetMachine::getTargetIRAnalysis(), 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().
|
static |
Referenced by addPassesToGenerateCode().
1.8.6