13#ifndef LLVM_LIB_TARGET_NVPTX_NVPTXTARGETMACHINE_H
14#define LLVM_LIB_TARGET_NVPTX_NVPTXTARGETMACHINE_H
27 std::unique_ptr<TargetLoweringObjectFile> TLOF;
38 std::optional<Reloc::Model>
RM,
56 bool =
true)
override {
77 std::pair<const Value *, unsigned>
82 virtual void anchor();
87 std::optional<Reloc::Model>
RM,
93 virtual void anchor();
98 std::optional<Reloc::Model>
RM,
PassBuilder PB(Machine, PassOpts->PTO, std::nullopt, &PIC)
A manager for alias analyses.
Allocate memory in an ever growing pool, as if by bump-pointer.
This class describes a target machine that is implemented with the LLVM target-independent code gener...
Context object for machine code objects.
TargetLoweringObjectFile * getObjFileLowering() const override
TargetTransformInfo getTargetTransformInfo(const Function &F) const override
Get a TargetTransformInfo implementation for the target.
void registerDefaultAliasAnalyses(AAManager &AAM) override
Allow the target to register alias analyses with the AAManager for use with the new pass manager.
std::pair< const Value *, unsigned > getPredicatedAddrSpace(const Value *V) const override
If the specified predicate checks whether a generic pointer falls within a specified address space,...
void registerPassBuilderCallbacks(PassBuilder &PB) override
Allow the target to modify the pass pipeline.
const NVPTXSubtarget * getSubtargetImpl() const
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.
~NVPTXTargetMachine() override
NVPTX::DrvInterface getDrvInterface() const
bool isMachineVerifierClean() const override
Returns true if the target is expected to pass all machine verifier checks.
MachineFunctionInfo * createMachineFunctionInfo(BumpPtrAllocator &Allocator, const Function &F, const TargetSubtargetInfo *STI) const override
Create the target's instance of MachineFunctionInfo.
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...
UniqueStringSaver & getStrPool() const
This class provides access to building LLVM's passes.
StringRef - Represent a constant reference to a string, i.e.
std::unique_ptr< const MCSubtargetInfo > STI
Target-Independent Code Generator Pass Configuration Options.
TargetSubtargetInfo - Generic base class for all target subtargets.
Target - Wrapper for Target specific information.
Triple - Helper class for working with autoconf configuration names.
Saves strings in the provided stable storage and returns a StringRef with a stable character pointer.
LLVM Value Representation.
PassManagerBase - An abstract interface to allow code to add passes to a pass manager without having ...
An abstract base class for streams implementations that also support a pwrite operation.
This is an optimization pass for GlobalISel generic memory operations.
CodeGenOptLevel
Code generation optimization level.
MachineFunctionInfo - This class can be derived from and used by targets to hold private target-speci...