LLVM: lib/Object/WindowsMachineFlag.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

19

20using namespace llvm;

21

22

35

37 switch (MT) {

39 return "arm";

41 return "arm64";

43 return "arm64ec";

45 return "arm64x";

47 return "x64";

49 return "x86";

50 default:

52 }

53}

This file implements the StringSwitch template, which mimics a switch() statement whose cases are str...

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

LLVM_ABI std::string lower() const

A switch()-like statement whose cases are string literals.

StringSwitch & Case(StringLiteral S, T Value)

StringSwitch & Cases(std::initializer_list< StringLiteral > CaseStrings, T Value)

#define llvm_unreachable(msg)

Marks that the current location is not supposed to be reachable.

@ IMAGE_FILE_MACHINE_ARM64

@ IMAGE_FILE_MACHINE_UNKNOWN

@ IMAGE_FILE_MACHINE_AMD64

@ IMAGE_FILE_MACHINE_ARM64EC

@ IMAGE_FILE_MACHINE_R4000

@ IMAGE_FILE_MACHINE_I386

@ IMAGE_FILE_MACHINE_ARM64X

@ IMAGE_FILE_MACHINE_ARMNT

This is an optimization pass for GlobalISel generic memory operations.

LLVM_ABI COFF::MachineTypes getMachineType(StringRef S)

Definition WindowsMachineFlag.cpp:23

LLVM_ABI StringRef machineToStr(COFF::MachineTypes MT)

Definition WindowsMachineFlag.cpp:36