projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement Regression/TableGen/DagDefSubst.ll
[oota-llvm.git]
/
utils
/
TableGen
/
CodeGenTarget.h
diff --git
a/utils/TableGen/CodeGenTarget.h
b/utils/TableGen/CodeGenTarget.h
index 8a4367ad1dd54df83fb47cd184fc8314786501c7..bedf1bb736f5f40a6f865c3cd6326c588bd7acfb 100644
(file)
--- a/
utils/TableGen/CodeGenTarget.h
+++ b/
utils/TableGen/CodeGenTarget.h
@@
-27,10
+27,11
@@
namespace llvm {
class Record;
class RecordKeeper;
struct CodeGenRegister;
class Record;
class RecordKeeper;
struct CodeGenRegister;
+class CodeGenTarget;
/// getValueType - Return the MVT::ValueType that the specified TableGen record
/// corresponds to.
/// 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);
std::ostream &operator<<(std::ostream &OS, MVT::ValueType T);
std::string getName(MVT::ValueType T);