mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
[TableGen] Remove isSafeToReorderWithPatternPredicate from DAGISelMatchers as its not used anymore.
llvm-svn: 268711
This commit is contained in:
parent
fb809b76c9
commit
8363434141
@ -106,12 +106,6 @@ public:
|
||||
return isEqualImpl(M);
|
||||
}
|
||||
|
||||
/// isSafeToReorderWithPatternPredicate - Return true if it is safe to sink a
|
||||
/// PatternPredicate node past this one.
|
||||
virtual bool isSafeToReorderWithPatternPredicate() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
/// isSimplePredicateNode - Return true if this is a simple predicate that
|
||||
/// operates on the node or its children without potential side effects or a
|
||||
/// change of the current node.
|
||||
@ -243,7 +237,6 @@ public:
|
||||
return N->getKind() == RecordNode;
|
||||
}
|
||||
|
||||
bool isSafeToReorderWithPatternPredicate() const override { return true; }
|
||||
private:
|
||||
void printImpl(raw_ostream &OS, unsigned indent) const override;
|
||||
bool isEqualImpl(const Matcher *M) const override { return true; }
|
||||
@ -276,8 +269,6 @@ public:
|
||||
return N->getKind() == RecordChild;
|
||||
}
|
||||
|
||||
bool isSafeToReorderWithPatternPredicate() const override { return true; }
|
||||
|
||||
private:
|
||||
void printImpl(raw_ostream &OS, unsigned indent) const override;
|
||||
bool isEqualImpl(const Matcher *M) const override {
|
||||
@ -294,8 +285,6 @@ public:
|
||||
return N->getKind() == RecordMemRef;
|
||||
}
|
||||
|
||||
bool isSafeToReorderWithPatternPredicate() const override { return true; }
|
||||
|
||||
private:
|
||||
void printImpl(raw_ostream &OS, unsigned indent) const override;
|
||||
bool isEqualImpl(const Matcher *M) const override { return true; }
|
||||
@ -312,8 +301,6 @@ public:
|
||||
return N->getKind() == CaptureGlueInput;
|
||||
}
|
||||
|
||||
bool isSafeToReorderWithPatternPredicate() const override { return true; }
|
||||
|
||||
private:
|
||||
void printImpl(raw_ostream &OS, unsigned indent) const override;
|
||||
bool isEqualImpl(const Matcher *M) const override { return true; }
|
||||
@ -332,8 +319,6 @@ public:
|
||||
return N->getKind() == MoveChild;
|
||||
}
|
||||
|
||||
bool isSafeToReorderWithPatternPredicate() const override { return true; }
|
||||
|
||||
private:
|
||||
void printImpl(raw_ostream &OS, unsigned indent) const override;
|
||||
bool isEqualImpl(const Matcher *M) const override {
|
||||
@ -351,8 +336,6 @@ public:
|
||||
return N->getKind() == MoveParent;
|
||||
}
|
||||
|
||||
bool isSafeToReorderWithPatternPredicate() const override { return true; }
|
||||
|
||||
private:
|
||||
void printImpl(raw_ostream &OS, unsigned indent) const override;
|
||||
bool isEqualImpl(const Matcher *M) const override { return true; }
|
||||
@ -373,8 +356,6 @@ public:
|
||||
return N->getKind() == CheckSame;
|
||||
}
|
||||
|
||||
bool isSafeToReorderWithPatternPredicate() const override { return true; }
|
||||
|
||||
private:
|
||||
void printImpl(raw_ostream &OS, unsigned indent) const override;
|
||||
bool isEqualImpl(const Matcher *M) const override {
|
||||
@ -399,8 +380,6 @@ public:
|
||||
return N->getKind() == CheckChildSame;
|
||||
}
|
||||
|
||||
bool isSafeToReorderWithPatternPredicate() const override { return true; }
|
||||
|
||||
private:
|
||||
void printImpl(raw_ostream &OS, unsigned indent) const override;
|
||||
bool isEqualImpl(const Matcher *M) const override {
|
||||
@ -424,8 +403,6 @@ public:
|
||||
return N->getKind() == CheckPatternPredicate;
|
||||
}
|
||||
|
||||
bool isSafeToReorderWithPatternPredicate() const override { return true; }
|
||||
|
||||
private:
|
||||
void printImpl(raw_ostream &OS, unsigned indent) const override;
|
||||
bool isEqualImpl(const Matcher *M) const override {
|
||||
@ -446,9 +423,6 @@ public:
|
||||
return N->getKind() == CheckPredicate;
|
||||
}
|
||||
|
||||
// TODO: Ok?
|
||||
//virtual bool isSafeToReorderWithPatternPredicate() const { return true; }
|
||||
|
||||
private:
|
||||
void printImpl(raw_ostream &OS, unsigned indent) const override;
|
||||
bool isEqualImpl(const Matcher *M) const override {
|
||||
@ -471,8 +445,6 @@ public:
|
||||
return N->getKind() == CheckOpcode;
|
||||
}
|
||||
|
||||
bool isSafeToReorderWithPatternPredicate() const override { return true; }
|
||||
|
||||
private:
|
||||
void printImpl(raw_ostream &OS, unsigned indent) const override;
|
||||
bool isEqualImpl(const Matcher *M) const override;
|
||||
@ -521,8 +493,6 @@ public:
|
||||
return N->getKind() == CheckType;
|
||||
}
|
||||
|
||||
bool isSafeToReorderWithPatternPredicate() const override { return true; }
|
||||
|
||||
private:
|
||||
void printImpl(raw_ostream &OS, unsigned indent) const override;
|
||||
bool isEqualImpl(const Matcher *M) const override {
|
||||
@ -574,8 +544,6 @@ public:
|
||||
return N->getKind() == CheckChildType;
|
||||
}
|
||||
|
||||
bool isSafeToReorderWithPatternPredicate() const override { return true; }
|
||||
|
||||
private:
|
||||
void printImpl(raw_ostream &OS, unsigned indent) const override;
|
||||
bool isEqualImpl(const Matcher *M) const override {
|
||||
@ -600,8 +568,6 @@ public:
|
||||
return N->getKind() == CheckInteger;
|
||||
}
|
||||
|
||||
bool isSafeToReorderWithPatternPredicate() const override { return true; }
|
||||
|
||||
private:
|
||||
void printImpl(raw_ostream &OS, unsigned indent) const override;
|
||||
bool isEqualImpl(const Matcher *M) const override {
|
||||
@ -626,8 +592,6 @@ public:
|
||||
return N->getKind() == CheckChildInteger;
|
||||
}
|
||||
|
||||
bool isSafeToReorderWithPatternPredicate() const override { return true; }
|
||||
|
||||
private:
|
||||
void printImpl(raw_ostream &OS, unsigned indent) const override;
|
||||
bool isEqualImpl(const Matcher *M) const override {
|
||||
@ -651,8 +615,6 @@ public:
|
||||
return N->getKind() == CheckCondCode;
|
||||
}
|
||||
|
||||
bool isSafeToReorderWithPatternPredicate() const override { return true; }
|
||||
|
||||
private:
|
||||
void printImpl(raw_ostream &OS, unsigned indent) const override;
|
||||
bool isEqualImpl(const Matcher *M) const override {
|
||||
@ -674,8 +636,6 @@ public:
|
||||
return N->getKind() == CheckValueType;
|
||||
}
|
||||
|
||||
bool isSafeToReorderWithPatternPredicate() const override { return true; }
|
||||
|
||||
private:
|
||||
void printImpl(raw_ostream &OS, unsigned indent) const override;
|
||||
bool isEqualImpl(const Matcher *M) const override {
|
||||
@ -717,9 +677,6 @@ public:
|
||||
return N->getKind() == CheckComplexPat;
|
||||
}
|
||||
|
||||
// Not safe to move a pattern predicate past a complex pattern.
|
||||
bool isSafeToReorderWithPatternPredicate() const override { return false; }
|
||||
|
||||
private:
|
||||
void printImpl(raw_ostream &OS, unsigned indent) const override;
|
||||
bool isEqualImpl(const Matcher *M) const override {
|
||||
@ -742,8 +699,6 @@ public:
|
||||
return N->getKind() == CheckAndImm;
|
||||
}
|
||||
|
||||
bool isSafeToReorderWithPatternPredicate() const override { return true; }
|
||||
|
||||
private:
|
||||
void printImpl(raw_ostream &OS, unsigned indent) const override;
|
||||
bool isEqualImpl(const Matcher *M) const override {
|
||||
@ -765,8 +720,6 @@ public:
|
||||
return N->getKind() == CheckOrImm;
|
||||
}
|
||||
|
||||
bool isSafeToReorderWithPatternPredicate() const override { return true; }
|
||||
|
||||
private:
|
||||
void printImpl(raw_ostream &OS, unsigned indent) const override;
|
||||
bool isEqualImpl(const Matcher *M) const override {
|
||||
@ -785,8 +738,6 @@ public:
|
||||
return N->getKind() == CheckFoldableChainNode;
|
||||
}
|
||||
|
||||
bool isSafeToReorderWithPatternPredicate() const override { return true; }
|
||||
|
||||
private:
|
||||
void printImpl(raw_ostream &OS, unsigned indent) const override;
|
||||
bool isEqualImpl(const Matcher *M) const override { return true; }
|
||||
|
Loading…
Reference in New Issue
Block a user