Skip to content

Commit

Permalink
Replace ValueTypes.h with MachineValueType.h if possible.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Patrik Hagglund committed Mar 15, 2014
1 parent c0a42c2 commit 8a8f5c3
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions lib/Target/Hexagon/HexagonInstrInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@

namespace llvm {

struct EVT;

class HexagonInstrInfo : public HexagonGenInstrInfo {
virtual void anchor();
const HexagonRegisterInfo RI;
Expand Down
2 changes: 1 addition & 1 deletion lib/Target/X86/InstPrinter/X86InstComments.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion lib/Target/X86/Utils/X86ShuffleDecode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//===----------------------------------------------------------------------===//

#include "X86ShuffleDecode.h"
#include "llvm/CodeGen/ValueTypes.h"
#include "llvm/CodeGen/MachineValueType.h"

//===----------------------------------------------------------------------===//
// Vector Mask Decoding
Expand Down
2 changes: 1 addition & 1 deletion lib/Target/X86/X86RegisterInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion utils/TableGen/CodeGenInstruction.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion utils/TableGen/CodeGenIntrinsics.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
2 changes: 1 addition & 1 deletion utils/TableGen/CodeGenRegisters.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion utils/TableGen/DAGISelMatcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8a8f5c3

Please sign in to comment.