15 #ifndef LLVM_LIB_TARGET_AMDGPU_AMDGPUTARGETMACHINE_H 16 #define LLVM_LIB_TARGET_AMDGPU_AMDGPUTARGETMACHINE_H 36 std::unique_ptr<TargetLoweringObjectFile>
TLOF;
118 return &IntrinsicInfo;
128 #endif // LLVM_LIB_TARGET_AMDGPU_AMDGPUTARGETMACHINE_H const AMDGPUIntrinsicInfo * getIntrinsicInfo() const override
If intrinsic information is available, return it. If not, return null.
PassManagerBuilder - This class is used to set up a standard optimization sequence for languages like...
AMDGPU specific subclass of TargetSubtarget.
Compute iterated dominance frontiers using a linear time algorithm.
bool useIPRA() const override
True if the target wants to use interprocedural register allocation by default.
AMDGPUAS getAMDGPUAS() const
Address space for local memory.
virtual TargetPassConfig * createPassConfig(PassManagerBase &PM)
Create a pass configuration object to be used by addPassToEmitX methods for generating a pipeline of ...
StringRef getFeatureString(const Function &F) const
OpenCL uses address spaces to differentiate between various memory regions on the hardware...
TargetTransformInfo getTargetTransformInfo(const Function &F) override
Get a TargetTransformInfo implementation for the target.
static bool EnableLateStructurizeCFG
Target-Independent Code Generator Pass Configuration Options.
std::unique_ptr< TargetLoweringObjectFile > TLOF
StringRef getGPUName(const Function &F) const
static bool EnableFunctionCalls
void adjustPassManager(PassManagerBuilder &) override
Allow the target to modify the pass manager, e.g.
This class describes a target machine that is implemented with the LLVM target-independent code gener...
const TargetSubtargetInfo * getSubtargetImpl() const
unsigned REGION_ADDRESS
Address space for region memory.
AMDGPUTargetMachine(const Target &T, const Triple &TT, StringRef CPU, StringRef FS, TargetOptions Options, Optional< Reloc::Model > RM, Optional< CodeModel::Model > CM, CodeGenOpt::Level OL)
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.
uint64_t getNullPointerValue(unsigned AddrSpace) const
Get the integer value of a null pointer in the given address space.
PassManagerBase - An abstract interface to allow code to add passes to a pass manager without having ...
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.
TargetSubtargetInfo - Generic base class for all target subtargets.
TargetLoweringObjectFile * getObjFileLowering() const override
~AMDGPUTargetMachine() override
StringRef - Represent a constant reference to a string, i.e.