Go to the documentation of this file.
11 #ifndef LLVM_DIRECTX_DIRECTXTARGETMACHINE_H
12 #define LLVM_DIRECTX_DIRECTXTARGETMACHINE_H
20 std::unique_ptr<TargetLoweringObjectFile> TLOF;
21 std::unique_ptr<DirectXSubtarget> Subtarget;
51 #endif // LLVM_DIRECTX_DIRECTXTARGETMACHINE_H
TargetTransformInfo getTargetTransformInfo(const Function &F) const override
Get a TargetTransformInfo implementation for the target.
This is an optimization pass for GlobalISel generic memory operations.
Context object for machine code objects.
Target - Wrapper for Target specific information.
Triple - Helper class for working with autoconf configuration names.
DirectXTargetMachine(const Target &T, const Triple &TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Optional< Reloc::Model > RM, Optional< CodeModel::Model > CM, CodeGenOpt::Level OL, bool JIT)
~DirectXTargetMachine() override
FileType
Defines the file type this file represents.
Target-Independent Code Generator Pass Configuration Options.
An abstract base class for streams implementations that also support a pwrite operation.
TargetLoweringObjectFile * getObjFileLowering() const override
CodeGenFileType
These enums are meant to be passed into addPassesToEmitFile to indicate what type of file to emit,...
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 ...
const DirectXSubtarget * getSubtargetImpl(const Function &) const override
Virtual method implemented by subclasses that returns a reference to that target's TargetSubtargetInf...
This class describes a target machine that is implemented with the LLVM target-independent code gener...
bool addPassesToEmitMC(PassManagerBase &PM, MCContext *&Ctx, raw_pwrite_stream &Out, bool DisableVerify) override
Add passes to the specified pass manager to get machine code emitted with the MCJIT.
PassManagerBase - An abstract interface to allow code to add passes to a pass manager without having ...
bool addPassesToEmitFile(PassManagerBase &PM, raw_pwrite_stream &Out, raw_pwrite_stream *DwoOut, CodeGenFileType FileType, bool DisableVerify, MachineModuleInfoWrapperPass *MMIWP) override
Add passes to the specified pass manager to get the specified file emitted.