LLVM: include/llvm/Support/RISCVISAUtils.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12

13#ifndef LLVM_SUPPORT_RISCVISAUTILS_H

14#define LLVM_SUPPORT_RISCVISAUTILS_H

15

18#include

19#include

20

21namespace llvm {

22

25

26

31

33

34

40

41

42

44 std::map<std::string, ExtensionVersion, ExtensionComparator>;

45

46}

47

48}

49

50#endif

A wrapper around a string literal that serves as a proxy for constructing global tables of StringRefs...

Definition RISCVISAUtils.h:23

constexpr StringLiteral AllStdExts

Definition RISCVISAUtils.h:24

LLVM_ABI bool compareExtension(const std::string &LHS, const std::string &RHS)

std::map< std::string, ExtensionVersion, ExtensionComparator > OrderedExtensionMap

OrderedExtensionMap is std::map, it's specialized to keep entries in canonical order of extension.

Definition RISCVISAUtils.h:43

This is an optimization pass for GlobalISel generic memory operations.

Helper class for OrderedExtensionMap.

Definition RISCVISAUtils.h:35

bool operator()(const std::string &LHS, const std::string &RHS) const

Definition RISCVISAUtils.h:36

Represents the major and version number components of a RISC-V extension.

Definition RISCVISAUtils.h:27

unsigned Minor

Definition RISCVISAUtils.h:29

unsigned Major

Definition RISCVISAUtils.h:28