LLVM 19.0.0git
WindowsMachineFlag.h
Go to the documentation of this file.
1//===- WindowsMachineFlag.h -------------------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// Functions for implementing the /machine: flag.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef LLVM_OBJECT_WINDOWSMACHINEFLAG_H
14#define LLVM_OBJECT_WINDOWSMACHINEFLAG_H
15
16namespace llvm {
17
18class StringRef;
19namespace COFF {
21}
22
23// Returns a user-readable string for ARMNT, ARM64, AMD64, I386.
24// Other MachineTypes values must not be passed in.
26
27// Maps /machine: arguments to a MachineTypes value.
28// Only returns ARMNT, ARM64, AMD64, I386, or IMAGE_FILE_MACHINE_UNKNOWN.
30
31}
32
33#endif
MachineTypes
Definition: COFF.h:92
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
COFF::MachineTypes getMachineType(StringRef S)
StringRef machineToStr(COFF::MachineTypes MT)