LLVM: lib/Target/AVR/AVRSubtarget.cpp Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12

14

17

20

21#define DEBUG_TYPE "avr-subtarget"

22

23#define GET_SUBTARGETINFO_TARGET_DESC

24#define GET_SUBTARGETINFO_CTOR

25#include "AVRGenSubtargetInfo.inc"

26

27namespace llvm {

28

36

44

45}

A specific AVR target MCU.

void ParseSubtargetFeatures(StringRef CPU, StringRef TuneCPU, StringRef FS)

Parses a subtarget feature string, setting appropriate options.

AVRSubtarget(const Triple &TT, const std::string &CPU, const std::string &FS, const AVRTargetMachine &TM)

Creates an AVR subtarget.

Definition AVRSubtarget.cpp:29

AVRSubtarget & initializeSubtargetDependencies(StringRef CPU, StringRef FS, const TargetMachine &TM)

Definition AVRSubtarget.cpp:38

A generic AVR implementation.

StringRef - Represent a constant reference to a string, i.e.

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.