Lines Matching full:architecture
1 //===- llvm/TextAPI/Architecture.h - Architecture ---------------*- C++ -*-===//
9 // Defines the architecture enum and helper methods.
26 /// Defines the architecture slices that are supported by Text-based Stub files.
27 enum Architecture : uint8_t { enum
29 #include "llvm/TextAPI/Architecture.def"
34 /// Convert a CPU Type and Subtype pair to an architecture slice.
35 Architecture getArchitectureFromCpuType(uint32_t CPUType, uint32_t CPUSubType);
37 /// Convert a name to an architecture slice.
38 Architecture getArchitectureFromName(StringRef Name);
40 /// Convert an architecture slice to a string.
41 StringRef getArchitectureName(Architecture Arch);
43 /// Convert an architecture slice to a CPU Type and Subtype pair.
44 std::pair<uint32_t, uint32_t> getCPUTypeFromArchitecture(Architecture Arch);
46 /// Convert a target to an architecture slice.
47 Architecture mapToArchitecture(const llvm::Triple &Target);
49 /// Check if architecture is 64 bit.
50 bool is64Bit(Architecture);
52 raw_ostream &operator<<(raw_ostream &OS, Architecture Arch);