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,
This class describes a target machine that is implemented with the LLVM target-independent code gener...
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.