1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

PseudoSourceValue.h - reduce GlobalValue.h include to forward declaration. NFC.

Fix MachineMemOperand.h implicit dependency on Type.h via PseudoSourceValue.h
This commit is contained in:
Simon Pilgrim 2020-04-29 15:05:59 +01:00
parent 162d21ce94
commit 1cc5d35f4d
3 changed files with 4 additions and 2 deletions

View File

@ -18,9 +18,10 @@
#include "llvm/ADT/BitmaskEnum.h"
#include "llvm/ADT/PointerUnion.h"
#include "llvm/CodeGen/PseudoSourceValue.h"
#include "llvm/IR/Type.h"
#include "llvm/IR/Value.h" // PointerLikeTypeTraits<Value*>
#include "llvm/Support/AtomicOrdering.h"
#include "llvm/Support/DataTypes.h"
#include <cstdint>
namespace llvm {

View File

@ -14,12 +14,12 @@
#define LLVM_CODEGEN_PSEUDOSOURCEVALUE_H
#include "llvm/ADT/StringMap.h"
#include "llvm/IR/GlobalValue.h"
#include "llvm/IR/ValueMap.h"
#include <map>
namespace llvm {
class GlobalValue;
class MachineFrameInfo;
class MachineMemOperand;
class MIRFormatter;

View File

@ -15,6 +15,7 @@
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/GlobalValue.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"