Implement Regression/TableGen/DagDefSubst.ll
[oota-llvm.git] / utils / TableGen / CodeGenTarget.h
index 8a4367ad1dd54df83fb47cd184fc8314786501c7..bedf1bb736f5f40a6f865c3cd6326c588bd7acfb 100644 (file)
@@ -27,10 +27,11 @@ namespace llvm {
 class Record;
 class RecordKeeper;
 struct CodeGenRegister;
+class CodeGenTarget;
 
 /// getValueType - Return the MVT::ValueType that the specified TableGen record
 /// corresponds to.
-MVT::ValueType getValueType(Record *Rec);
+MVT::ValueType getValueType(Record *Rec, const CodeGenTarget *CGT = 0);
 
 std::ostream &operator<<(std::ostream &OS, MVT::ValueType T);
 std::string getName(MVT::ValueType T);