mirror of
https://github.com/RPCS3/llvm.git
synced 2025-04-16 21:10:31 +00:00
constize
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96199 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4766132036
commit
751d5aa1ea
@ -848,7 +848,7 @@ TreePatternNode::getComplexPatternInfo(const CodeGenDAGPatterns &CGP) const {
|
|||||||
|
|
||||||
/// NodeHasProperty - Return true if this node has the specified property.
|
/// NodeHasProperty - Return true if this node has the specified property.
|
||||||
bool TreePatternNode::NodeHasProperty(SDNP Property,
|
bool TreePatternNode::NodeHasProperty(SDNP Property,
|
||||||
CodeGenDAGPatterns &CGP) const {
|
const CodeGenDAGPatterns &CGP) const {
|
||||||
if (isLeaf()) {
|
if (isLeaf()) {
|
||||||
if (const ComplexPattern *CP = getComplexPatternInfo(CGP))
|
if (const ComplexPattern *CP = getComplexPatternInfo(CGP))
|
||||||
return CP->hasProperty(Property);
|
return CP->hasProperty(Property);
|
||||||
@ -867,7 +867,7 @@ bool TreePatternNode::NodeHasProperty(SDNP Property,
|
|||||||
/// TreeHasProperty - Return true if any node in this tree has the specified
|
/// TreeHasProperty - Return true if any node in this tree has the specified
|
||||||
/// property.
|
/// property.
|
||||||
bool TreePatternNode::TreeHasProperty(SDNP Property,
|
bool TreePatternNode::TreeHasProperty(SDNP Property,
|
||||||
CodeGenDAGPatterns &CGP) const {
|
const CodeGenDAGPatterns &CGP) const {
|
||||||
if (NodeHasProperty(Property, CGP))
|
if (NodeHasProperty(Property, CGP))
|
||||||
return true;
|
return true;
|
||||||
for (unsigned i = 0, e = getNumChildren(); i != e; ++i)
|
for (unsigned i = 0, e = getNumChildren(); i != e; ++i)
|
||||||
|
@ -243,11 +243,11 @@ public:
|
|||||||
getComplexPatternInfo(const CodeGenDAGPatterns &CGP) const;
|
getComplexPatternInfo(const CodeGenDAGPatterns &CGP) const;
|
||||||
|
|
||||||
/// NodeHasProperty - Return true if this node has the specified property.
|
/// NodeHasProperty - Return true if this node has the specified property.
|
||||||
bool NodeHasProperty(SDNP Property, CodeGenDAGPatterns &CGP) const;
|
bool NodeHasProperty(SDNP Property, const CodeGenDAGPatterns &CGP) const;
|
||||||
|
|
||||||
/// TreeHasProperty - Return true if any node in this tree has the specified
|
/// TreeHasProperty - Return true if any node in this tree has the specified
|
||||||
/// property.
|
/// property.
|
||||||
bool TreeHasProperty(SDNP Property, CodeGenDAGPatterns &CGP) const;
|
bool TreeHasProperty(SDNP Property, const CodeGenDAGPatterns &CGP) const;
|
||||||
|
|
||||||
/// isCommutativeIntrinsic - Return true if the node is an intrinsic which is
|
/// isCommutativeIntrinsic - Return true if the node is an intrinsic which is
|
||||||
/// marked isCommutative.
|
/// marked isCommutative.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user