15 #ifndef LLVM_LIB_TARGET_AMDGPU_AMDGPUTARGETMACHINE_H
16 #define LLVM_LIB_TARGET_AMDGPU_AMDGPUTARGETMACHINE_H
36 std::unique_ptr<TargetLoweringObjectFile>
TLOF;
118 #endif // LLVM_LIB_TARGET_AMDGPU_AMDGPUTARGETMACHINE_H
PassManagerBuilder - This class is used to set up a standard optimization sequence for languages like...
AMDGPU specific subclass of TargetSubtarget.
const AMDGPUSubtarget * getSubtargetImpl() const
Analysis pass providing the TargetTransformInfo.
uint64_t getNullPointerValue(unsigned AddrSpace) const
Get the integer value of a null pointer in the given address space.
static const unsigned LOCAL_ADDRESS
Address space for local memory.
OpenCL uses address spaces to differentiate between various memory regions on the hardware...
GCNTargetMachine(const Target &T, const Triple &TT, StringRef CPU, StringRef FS, TargetOptions Options, Optional< Reloc::Model > RM, CodeModel::Model CM, CodeGenOpt::Level OL)
R600TargetMachine(const Target &T, const Triple &TT, StringRef CPU, StringRef FS, TargetOptions Options, Optional< Reloc::Model > RM, CodeModel::Model CM, CodeGenOpt::Level OL)
Target-Independent Code Generator Pass Configuration Options.
std::unique_ptr< TargetLoweringObjectFile > TLOF
AMDGPUIntrinsicInfo IntrinsicInfo
void adjustPassManager(PassManagerBuilder &) override
Allow the target to modify the pass manager, e.g.
TargetPassConfig * createPassConfig(PassManagerBase &PM) override
Create a pass configuration object to be used by addPassToEmitX methods for generating a pipeline of ...
This class describes a target machine that is implemented with the LLVM target-independent code gener...
AMDGPUTargetMachine(const Target &T, const Triple &TT, StringRef CPU, StringRef FS, TargetOptions Options, Optional< Reloc::Model > RM, CodeModel::Model CM, CodeGenOpt::Level OL)
unsigned REGION_ADDRESS
Address space for region memory.
Triple - Helper class for working with autoconf configuration names.
bool isMachineVerifierClean() const override
Returns true if the target is expected to pass all machine verifier checks.
StringRef getFeatureString(const Function &F) const
StringMap - This is an unconventional map that is specialized for handling keys that are "strings"...
Target - Wrapper for Target specific information.
Interface for the AMDGPU Implementation of the Intrinsic Info class.
TargetLoweringObjectFile * getObjFileLowering() const override
StringRef getGPUName(const Function &F) const
TargetIRAnalysis getTargetIRAnalysis() override
Get a TargetIRAnalysis implementation for the target.
AMDGPUAS getAMDGPUAS() const
const AMDGPUIntrinsicInfo * getIntrinsicInfo() const override
If intrinsic information is available, return it. If not, return null.
~AMDGPUTargetMachine() override
StringRef - Represent a constant reference to a string, i.e.
TargetPassConfig * createPassConfig(PassManagerBase &PM) override
Create a pass configuration object to be used by addPassToEmitX methods for generating a pipeline of ...