13#ifndef LLVM_LIB_TARGET_SPIRV_SPIRVTARGETMACHINE_H
14#define LLVM_LIB_TARGET_SPIRV_SPIRVTARGETMACHINE_H
22 std::unique_ptr<TargetLoweringObjectFile> TLOF;
28 std::optional<Reloc::Model>
RM,
PassBuilder PB(Machine, PassOpts->PTO, std::nullopt, &PIC)
implements a set of functionality in the TargetMachine class for targets that make use of the indepen...
This class provides access to building LLVM's passes.
void registerPassBuilderCallbacks(PassBuilder &PB) override
Allow the target to modify the pass pipeline.
TargetLoweringObjectFile * getObjFileLowering() const override
const SPIRVSubtarget * getSubtargetImpl() const
TargetTransformInfo getTargetTransformInfo(const Function &F) const override
Get a TargetTransformInfo implementation for the target.
const SPIRVSubtarget * getSubtargetImpl(const Function &) const override
Virtual method implemented by subclasses that returns a reference to that target's TargetSubtargetInf...
TargetPassConfig * createPassConfig(PassManagerBase &PM) override
Create a pass configuration object to be used by addPassToEmitX methods for generating a pipeline of ...
bool usesPhysRegsForValues() const override
True if the target uses physical regs (as nearly all targets do).
StringRef - Represent a constant reference to a string, i.e.
Target-Independent Code Generator Pass Configuration Options.
Target - Wrapper for Target specific information.
Triple - Helper class for working with autoconf configuration names.
PassManagerBase - An abstract interface to allow code to add passes to a pass manager without having ...
This is an optimization pass for GlobalISel generic memory operations.
CodeGenOptLevel
Code generation optimization level.