LLVM: include/llvm/TextAPI/Architecture.h Source File (original) (raw)
1
2
3
4
5
6
7
8
9
10
11
12
13#ifndef LLVM_TEXTAPI_ARCHITECTURE_H
14#define LLVM_TEXTAPI_ARCHITECTURE_H
15
17#include
18#include
19
20namespace llvm {
24
26
27
29#define ARCHINFO(Arch, Name, Type, SubType, NumBits) AK_##Arch,
30#include "llvm/TextAPI/Architecture.def"
31#undef ARCHINFO
33};
34
35
38
39
41
42
44
45
46LLVM_ABI std::pair<uint32_t, uint32_t>
48
49
51
52
54
56
57}
58}
59
60#endif
StringRef - Represent a constant reference to a string, i.e.
Target - Wrapper for Target specific information.
Triple - Helper class for working with autoconf configuration names.
This class implements an extremely fast bulk output stream that can only output to a stream.
LLVM_ABI Architecture getArchitectureFromName(StringRef Name)
Convert a name to an architecture slice.
LLVM_ABI StringRef getArchitectureName(Architecture Arch)
Convert an architecture slice to a string.
LLVM_ABI std::pair< uint32_t, uint32_t > getCPUTypeFromArchitecture(Architecture Arch)
Convert an architecture slice to a CPU Type and Subtype pair.
LLVM_ABI bool is64Bit(Architecture)
Check if architecture is 64 bit.
Architecture
Defines the architecture slices that are supported by Text-based Stub files.
Definition Architecture.h:28
@ AK_unknown
Definition Architecture.h:32
LLVM_ABI raw_ostream & operator<<(raw_ostream &OS, Architecture Arch)
LLVM_ABI Architecture mapToArchitecture(const llvm::Triple &Target)
Convert a target to an architecture slice.
LLVM_ABI Architecture getArchitectureFromCpuType(uint32_t CPUType, uint32_t CPUSubType)
Convert a CPU Type and Subtype pair to an architecture slice.
This is an optimization pass for GlobalISel generic memory operations.