14 #ifndef LLVM_LIB_TARGET_NVPTX_NVPTXTARGETMACHINE_H 15 #define LLVM_LIB_TARGET_NVPTX_NVPTXTARGETMACHINE_H 30 bool UseShortPointers;
31 std::unique_ptr<TargetLoweringObjectFile> TLOF;
60 bool =
true)
override {
77 virtual void anchor();
86 virtual void anchor();
PassManagerBuilder - This class is used to set up a standard optimization sequence for languages like...
This class represents lattice values for constants.
ManagedStringPool - The strings allocated from a managed string pool are owned by the string pool and...
bool isMachineVerifierClean() const override
Returns true if the target is expected to pass all machine verifier checks.
Target-Independent Code Generator Pass Configuration Options.
Context object for machine code objects.
ManagedStringPool * getManagedStrPool() const
TargetPassConfig * createPassConfig(PassManagerBase &PM) override
Create a pass configuration object to be used by addPassToEmitX methods for generating a pipeline of ...
const NVPTXSubtarget * getSubtargetImpl(const Function &) const override
Virtual method implemented by subclasses that returns a reference to that target's TargetSubtargetInf...
TargetTransformInfo getTargetTransformInfo(const Function &F) override
Get a TargetTransformInfo implementation for the target.
TargetLoweringObjectFile * getObjFileLowering() const override
NVPTXTargetMachine(const Target &T, const Triple &TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Optional< Reloc::Model > RM, Optional< CodeModel::Model > CM, CodeGenOpt::Level OP, bool is64bit)
This class describes a target machine that is implemented with the LLVM target-independent code gener...
NVPTX::DrvInterface getDrvInterface() const
bool useShortPointers() const
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 ...
Target - Wrapper for Target specific information.
~NVPTXTargetMachine() override
bool addPassesToEmitMC(PassManagerBase &, MCContext *&, raw_pwrite_stream &, bool=true) override
Add passes to the specified pass manager to get machine code emitted with the MCJIT.
void adjustPassManager(PassManagerBuilder &) override
Allow the target to modify the pass manager, e.g.
An abstract base class for streams implementations that also support a pwrite operation.
const NVPTXSubtarget * getSubtargetImpl() const
StringRef - Represent a constant reference to a string, i.e.