1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

TypeMetadataUtils.h - reduce Instructions.h include to forward declaration. NFC.

Move implicit include dependencies down to source file.
This commit is contained in:
Simon Pilgrim 2020-06-05 17:27:55 +01:00
parent 1483c5f9fd
commit 08333317ef
2 changed files with 7 additions and 1 deletions

View File

@ -15,11 +15,16 @@
#define LLVM_ANALYSIS_TYPEMETADATAUTILS_H
#include "llvm/ADT/SmallVector.h"
#include "llvm/IR/Instructions.h"
#include <cstdint>
namespace llvm {
class CallBase;
class CallInst;
class Constant;
class DominatorTree;
class Instruction;
class Module;
/// The type of CFI jumptable needed for a function.
enum CfiFunctionLinkage {

View File

@ -14,6 +14,7 @@
#include "llvm/Analysis/TypeMetadataUtils.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/Intrinsics.h"
#include "llvm/IR/Module.h"