summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/CodeGenTarget.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-01-04 20:31:55 +0000
committerDan Gohman <gohman@apple.com>2010-01-04 20:31:55 +0000
commitb91411c9b9be13f1c99fbfc4da2529d154c6673c (patch)
tree751d3956d9f712c9fa8d9f9e757838153795c310 /llvm/utils/TableGen/CodeGenTarget.h
parentaf5b9a2d6256ea14cd0200aac27a80bf1db99b5e (diff)
downloadbcm5719-llvm-b91411c9b9be13f1c99fbfc4da2529d154c6673c.tar.gz
bcm5719-llvm-b91411c9b9be13f1c99fbfc4da2529d154c6673c.zip
Remove the CPAttrParentAsRoot code, which is unused, and inconvenient
for a refactoring I'm working on. llvm-svn: 92503
Diffstat (limited to 'llvm/utils/TableGen/CodeGenTarget.h')
-rw-r--r--llvm/utils/TableGen/CodeGenTarget.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/utils/TableGen/CodeGenTarget.h b/llvm/utils/TableGen/CodeGenTarget.h
index da4b1cc20e5..07bc54d28da 100644
--- a/llvm/utils/TableGen/CodeGenTarget.h
+++ b/llvm/utils/TableGen/CodeGenTarget.h
@@ -46,9 +46,6 @@ enum SDNP {
SDNPMemOperand
};
-// ComplexPattern attributes.
-enum CPAttr { CPAttrParentAsRoot };
-
/// getValueType - Return the MVT::SimpleValueType that the specified TableGen
/// record corresponds to.
MVT::SimpleValueType getValueType(Record *Rec);
@@ -227,7 +224,6 @@ class ComplexPattern {
std::string SelectFunc;
std::vector<Record*> RootNodes;
unsigned Properties; // Node properties
- unsigned Attributes; // Pattern attributes
public:
ComplexPattern() : NumOperands(0) {}
ComplexPattern(Record *R);
@@ -239,7 +235,6 @@ public:
return RootNodes;
}
bool hasProperty(enum SDNP Prop) const { return Properties & (1 << Prop); }
- bool hasAttribute(enum CPAttr Attr) const { return Attributes & (1 << Attr); }
};
} // End llvm namespace
OpenPOWER on IntegriCloud