22class X86CodeGenPassBuilder
34void X86CodeGenPassBuilder::addPreISel(AddIRPass &addPass)
const {
38void X86CodeGenPassBuilder::addAsmPrinter(AddMachinePass &addPass,
39 CreateMCStreamer)
const {
43Error X86CodeGenPassBuilder::addInstSelector(AddMachinePass &)
const {
54 auto CGPB = X86CodeGenPassBuilder(*
this, Opt,
PIC);
55 return CGPB.buildPipeline(
MPM, Out, DwoOut, FileType);
Interfaces for producing common pass manager configurations.
const char LLVMTargetMachineRef TM
PassInstrumentationCallbacks PIC
This class provides access to building LLVM's passes.
Error addInstSelector(AddMachinePass &) const
addInstSelector - This method should install an instruction selector pass, which converts from LLVM c...
void addPreISel(AddIRPass &) const
{{@ For GlobalISel
void addAsmPrinter(AddMachinePass &, CreateMCStreamer) const
Lightweight error class with error context and mandatory checking.
static ErrorSuccess success()
Create a success value.
This class manages callbacks registration, as well as provides a way for PassInstrumentation to pass ...
Error buildCodeGenPipeline(ModulePassManager &, raw_pwrite_stream &, raw_pwrite_stream *, CodeGenFileType, const CGPassBuilderOption &, PassInstrumentationCallbacks *) override
An abstract base class for streams implementations that also support a pwrite operation.
This is an optimization pass for GlobalISel generic memory operations.
CodeGenFileType
These enums are meant to be passed into addPassesToEmitFile to indicate what type of file to emit,...