LLVM: lib/Target/VE/VETargetMachine.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

13#ifndef LLVM_LIB_TARGET_VE_VETARGETMACHINE_H

14#define LLVM_LIB_TARGET_VE_VETARGETMACHINE_H

15

19#include

20

21namespace llvm {

22

24 std::unique_ptr TLOF;

26

27

28 std::liststd::string StrList;

29

30public:

33 std::optionalReloc::Model RM,

35 bool JIT);

37

40 return &Subtarget;

41 }

43 return const_cast<std::liststd::string *>(&StrList);

44 }

45

46

49 return TLOF.get();

50 }

51

55

57

59

61};

62

63}

64

65#endif

CodeGenTargetMachineImpl(const Target &T, StringRef DataLayoutString, const Triple &TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Reloc::Model RM, CodeModel::Model CM, CodeGenOptLevel OL)

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.

~VETargetMachine() override

VETargetMachine(const Target &T, const Triple &TT, StringRef CPU, StringRef FS, const TargetOptions &Options, std::optional< Reloc::Model > RM, std::optional< CodeModel::Model > CM, CodeGenOptLevel OL, bool JIT)

Create an Aurora VE architecture model.

bool isMachineVerifierClean() const override

Returns true if the target is expected to pass all machine verifier checks.

Definition VETargetMachine.h:56

const VESubtarget * getSubtargetImpl() const

Definition VETargetMachine.h:38

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

unsigned getSjLjDataSize() const override

Definition VETargetMachine.h:60

TargetLoweringObjectFile * getObjFileLowering() const override

Definition VETargetMachine.h:48

std::list< std::string > * getStrList() const

Definition VETargetMachine.h:42

const VESubtarget * getSubtargetImpl(const Function &) const override

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

Definition VETargetMachine.h:39

TargetTransformInfo getTargetTransformInfo(const Function &F) const override

Get a TargetTransformInfo implementation for the target.

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.

BumpPtrAllocatorImpl<> BumpPtrAllocator

The standard BumpPtrAllocator which just uses the default template parameters.

MachineFunctionInfo - This class can be derived from and used by targets to hold private target-speci...