LLVM: lib/Target/ARC/ARCTargetMachine.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

13#ifndef LLVM_LIB_TARGET_ARC_ARCTARGETMACHINE_H

14#define LLVM_LIB_TARGET_ARC_ARCTARGETMACHINE_H

15

18#include

19

20namespace llvm {

21

22class TargetPassConfig;

23

25 std::unique_ptr TLOF;

27

28public:

31 std::optionalReloc::Model RM,

33 bool JIT);

35

38 return &Subtarget;

39 }

40

41

43

46 return TLOF.get();

47 }

48

52};

53

54}

55

56#endif

TargetLoweringObjectFile * getObjFileLowering() const override

const ARCSubtarget * getSubtargetImpl(const Function &) const override

Virtual method implemented by subclasses that returns a reference to that target's TargetSubtargetInf...

MachineFunctionInfo * createMachineFunctionInfo(BumpPtrAllocator &Allocator, const Function &F, const TargetSubtargetInfo *STI) const override

Create the target's instance of MachineFunctionInfo.

~ARCTargetMachine() override

const ARCSubtarget * getSubtargetImpl() const

TargetTransformInfo getTargetTransformInfo(const Function &F) const override

Get a TargetTransformInfo implementation for the target.

TargetPassConfig * createPassConfig(PassManagerBase &PM) override

Create a pass configuration object to be used by addPassToEmitX methods for generating a pipeline of ...

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...

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.

This pass provides access to the codegen interfaces that are needed for IR-level transformations.

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...