Replace ValueTypes.h with MachineValueType.h if possible.
authorPatrik Hagglund <patrik.h.hagglund@ericsson.com>
Sat, 15 Mar 2014 09:11:41 +0000 (09:11 +0000)
committerPatrik Hagglund <patrik.h.hagglund@ericsson.com>
Sat, 15 Mar 2014 09:11:41 +0000 (09:11 +0000)
Utilize the previous move of MVT to a separate header for all trivial
cases (that don't need any further restructuring).

Reviewed By: Tim Northover

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204003 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Hexagon/HexagonInstrInfo.h
lib/Target/X86/InstPrinter/X86InstComments.cpp
lib/Target/X86/Utils/X86ShuffleDecode.cpp
lib/Target/X86/X86RegisterInfo.cpp
utils/TableGen/CodeGenInstruction.h
utils/TableGen/CodeGenIntrinsics.h
utils/TableGen/CodeGenRegisters.h
utils/TableGen/DAGISelMatcher.h

index 6b8a6f09e193669319c9e7bd45d3e9a4bc3806da..5da23cbfbf5f9b971eec83f3757a2f43f08c4e42 100644 (file)
@@ -25,6 +25,8 @@
 
 namespace llvm {
 
+struct EVT;
+
 class HexagonInstrInfo : public HexagonGenInstrInfo {
   virtual void anchor();
   const HexagonRegisterInfo RI;
index f81624e5dd547501c89967e1e43af64a21551f20..db61fb03d4c98f0bbee747912ee60b64e827d341 100644 (file)
@@ -16,7 +16,7 @@
 #include "MCTargetDesc/X86MCTargetDesc.h"
 #include "Utils/X86ShuffleDecode.h"
 #include "llvm/MC/MCInst.h"
-#include "llvm/CodeGen/ValueTypes.h"
+#include "llvm/CodeGen/MachineValueType.h"
 #include "llvm/Support/raw_ostream.h"
 
 using namespace llvm;
index 5d903e657adcb3e55894efba91e5e663b266c017..5f2441c017f5710e9e83a857bf0ac3dd8020f37b 100644 (file)
@@ -13,7 +13,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "X86ShuffleDecode.h"
-#include "llvm/CodeGen/ValueTypes.h"
+#include "llvm/CodeGen/MachineValueType.h"
 
 //===----------------------------------------------------------------------===//
 //  Vector Mask Decoding
index 7f94735301256bcaf4f7fc0186a9f0305f7a301c..5b54c3e833e768ce36dce3c9926d84fd3573b75b 100644 (file)
@@ -27,7 +27,7 @@
 #include "llvm/CodeGen/MachineInstrBuilder.h"
 #include "llvm/CodeGen/MachineModuleInfo.h"
 #include "llvm/CodeGen/MachineRegisterInfo.h"
-#include "llvm/CodeGen/ValueTypes.h"
+#include "llvm/CodeGen/MachineValueType.h"
 #include "llvm/IR/Constants.h"
 #include "llvm/IR/Function.h"
 #include "llvm/IR/Type.h"
index bc578136c6a535ebced08764105b4e24ad33fd0d..00d89bf1037438adfd09e06e154aac03bfa133c7 100644 (file)
@@ -15,7 +15,7 @@
 #define CODEGEN_INSTRUCTION_H
 
 #include "llvm/ADT/StringRef.h"
-#include "llvm/CodeGen/ValueTypes.h"
+#include "llvm/CodeGen/MachineValueType.h"
 #include "llvm/Support/SourceMgr.h"
 #include <string>
 #include <utility>
index ababfa4e7e77af10e30b4fb6ba2e6f6fad5aba3a..edbb18bbcf50141250ed619abed744a2f23896d8 100644 (file)
@@ -14,7 +14,7 @@
 #ifndef CODEGEN_INTRINSIC_H
 #define CODEGEN_INTRINSIC_H
 
-#include "llvm/CodeGen/ValueTypes.h"
+#include "llvm/CodeGen/MachineValueType.h"
 #include <string>
 #include <vector>
 
index da52c164a0b2fce35f8a0fd9b657cb2fcddf67c0..03ffb43a12afe404b678e755c3270007f3c64135 100644 (file)
@@ -20,7 +20,7 @@
 #include "llvm/ADT/BitVector.h"
 #include "llvm/ADT/DenseMap.h"
 #include "llvm/ADT/SetVector.h"
-#include "llvm/CodeGen/ValueTypes.h"
+#include "llvm/CodeGen/MachineValueType.h"
 #include "llvm/Support/ErrorHandling.h"
 #include "llvm/TableGen/Record.h"
 #include <cstdlib>
index 2fb4359e8c20bfa3b00cd49a714ac9698033160a..56a571f3f60b624aede169921e182e3b987fa20f 100644 (file)
@@ -13,7 +13,7 @@
 #include "llvm/ADT/ArrayRef.h"
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/ADT/StringRef.h"
-#include "llvm/CodeGen/ValueTypes.h"
+#include "llvm/CodeGen/MachineValueType.h"
 #include "llvm/Support/Casting.h"
 
 namespace llvm {