|
LLVM 24.0.0git
|
#include "llvm/Passes/RunCodeGen.h"#include "llvm/Analysis/CGSCCPassManager.h"#include "llvm/Analysis/LoopAnalysisManager.h"#include "llvm/Analysis/RuntimeLibcallInfo.h"#include "llvm/Analysis/TargetLibraryInfo.h"#include "llvm/Analysis/TargetTransformInfo.h"#include "llvm/CodeGen/MachineFunctionAnalysisManager.h"#include "llvm/CodeGen/MachineModuleInfo.h"#include "llvm/IR/LegacyPassManager.h"#include "llvm/IR/PassManager.h"#include "llvm/Passes/PassBuilder.h"#include "llvm/Support/CodeGen.h"#include "llvm/Support/Error.h"#include "llvm/Support/ToolOutputFile.h"#include "llvm/Support/raw_ostream.h"#include "llvm/Target/CGPassBuilderOption.h"Go to the source code of this file.
Functions | |
| static Error | runCodeGenPipelineLegacy (TargetMachine &TM, Module &M, raw_pwrite_stream &OS, std::unique_ptr< ToolOutputFile > &DwoOS, CodeGenFileType CGFT, bool PrintPipelinePasses, bool DisableVerify) |
| static Error | runCodeGenPipelineNewPM (TargetMachine &TM, Module &M, raw_pwrite_stream &OS, std::unique_ptr< ToolOutputFile > &DwoOS, CodeGenFileType CGFT, bool DisableVerify, IntrusiveRefCntPtr< vfs::FileSystem > VFS) |
Variables | |
| static cl::opt< cl::boolOrDefault > | ForceNewPM ("force-new-pm-codegen", cl::desc("Whether to force the NewPM on/off. Not setting the " "option will default to what the target prefers."), cl::init(cl::boolOrDefault::BOU_UNSET)) |
|
static |
Definition at line 34 of file RunCodeGen.cpp.
References llvm::legacy::PassManager::add(), llvm::TargetMachine::addPassesToEmitFile(), llvm::createStringError(), llvm::createTargetTransformInfoWrapperPass(), llvm::TargetMachine::getTargetIRAnalysis(), llvm::TargetMachine::getTargetTriple(), llvm::TargetMachine::Options, Options, llvm::PrintPipelinePasses, llvm::legacy::PassManager::run(), llvm::Error::success(), and llvm::TargetOptions::VecLib.
Referenced by llvm::runCodeGenPipeline().
|
static |
Definition at line 60 of file RunCodeGen.cpp.
References llvm::TargetMachine::buildCodeGenPipeline(), CGAM, llvm::CGPassBuilderOption::DisableVerify, FAM, llvm::getCGPassBuilderOption(), llvm::MachineModuleInfo::getContext(), LAM, MAM, PB(), PIC, llvm::PassManager< IRUnitT, AnalysisManagerT, ExtraArgTs >::run(), and llvm::Error::success().
Referenced by llvm::runCodeGenPipeline().
|
static |
Referenced by llvm::runCodeGenPipeline().