summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/CodeGenDAGPatterns.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/utils/TableGen/CodeGenDAGPatterns.h')
-rw-r--r--llvm/utils/TableGen/CodeGenDAGPatterns.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/CodeGenDAGPatterns.h b/llvm/utils/TableGen/CodeGenDAGPatterns.h
index 3033986fdd4..5918e901a3d 100644
--- a/llvm/utils/TableGen/CodeGenDAGPatterns.h
+++ b/llvm/utils/TableGen/CodeGenDAGPatterns.h
@@ -478,6 +478,10 @@ public:
/// Get the data type of the argument to getImmediatePredicateCode().
std::string getImmType() const;
+ /// Get a string that describes the type returned by getImmType() but is
+ /// usable as part of an identifier.
+ std::string getImmTypeIdentifier() const;
+
private:
std::string getPredCode() const;
std::string getImmCode() const;
OpenPOWER on IntegriCloud