LLVM: lib/Target/ARC/ARCSubtarget.cpp Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12

17

18using namespace llvm;

19

20#define DEBUG_TYPE "arc-subtarget"

21

22#define GET_SUBTARGETINFO_TARGET_DESC

23#define GET_SUBTARGETINFO_CTOR

24#include "ARCGenSubtargetInfo.inc"

25

26void ARCSubtarget::anchor() {}

27

31 FrameLowering(*this), TLInfo(TM, *this) {

32 TSInfo = std::make_unique();

33}

34

36

38 return TSInfo.get();

39}

const SelectionDAGTargetInfo * getSelectionDAGInfo() const override

Definition ARCSubtarget.cpp:37

ARCSubtarget(const Triple &TT, const std::string &CPU, const std::string &FS, const TargetMachine &TM)

This constructor initializes the data members to match that of the specified triple.

Definition ARCSubtarget.cpp:28

Targets can subclass this to parameterize the SelectionDAG lowering and instruction selection process...

Primary interface to the complete machine description for the target machine.

Triple - Helper class for working with autoconf configuration names.

This is an optimization pass for GlobalISel generic memory operations.