1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

MIRFormatter.h - remove MachineInstr.h include. NFC.

Use forward declarations and include the inner dependencies directly.
This commit is contained in:
Simon Pilgrim 2020-09-04 11:17:02 +01:00
parent eb861517a5
commit 8b766631fa

View File

@ -14,11 +14,15 @@
#ifndef LLVM_CODEGEN_MIRFORMATTER_H
#define LLVM_CODEGEN_MIRFORMATTER_H
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/ADT/Optional.h"
#include "llvm/CodeGen/PseudoSourceValue.h"
#include "llvm/Support/raw_ostream.h"
#include <cstdint>
namespace llvm {
class MachineFunction;
class MachineInstr;
struct PerFunctionMIParsingState;
struct SlotMapping;