LLVM: lib/Target/MSP430/MSP430TargetMachine.h Source File (original) (raw)
1
2
3
4
5
6
7
8
9
10
11
12
13
14#ifndef LLVM_LIB_TARGET_MSP430_MSP430TARGETMACHINE_H
15#define LLVM_LIB_TARGET_MSP430_MSP430TARGETMACHINE_H
16
19#include
20
21namespace llvm {
22class StringRef;
23
24
25
27 std::unique_ptr TLOF;
29
30public:
33 std::optionalReloc::Model RM,
35 bool JIT);
37
39 return &Subtarget;
40 }
42
44 return TLOF.get();
45 }
46
50};
51
52}
53
54#endif
Allocate memory in an ever growing pool, as if by bump-pointer.
implements a set of functionality in the TargetMachine class for targets that make use of the indepen...
MachineFunctionInfo * createMachineFunctionInfo(BumpPtrAllocator &Allocator, const Function &F, const TargetSubtargetInfo *STI) const override
Create the target's instance of MachineFunctionInfo.
~MSP430TargetMachine() override
const MSP430Subtarget * getSubtargetImpl(const Function &F) const override
Virtual method implemented by subclasses that returns a reference to that target's TargetSubtargetInf...
TargetLoweringObjectFile * getObjFileLowering() const override
TargetPassConfig * createPassConfig(PassManagerBase &PM) override
Create a pass configuration object to be used by addPassToEmitX methods for generating a pipeline of ...
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.
PassManagerBase - An abstract interface to allow code to add passes to a pass manager without having ...
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...