Mercurial > hg > truffle
comparison src/share/vm/opto/node.hpp @ 4970:33df1aeaebbf
Merge with http://hg.openjdk.java.net/hsx/hsx24/hotspot/
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Mon, 27 Feb 2012 13:10:13 +0100 |
parents | 35acf8f0a2e4 |
children | 8c92982cbbc4 |
comparison
equal
deleted
inserted
replaced
4703:2cfb7fb2dce7 | 4970:33df1aeaebbf |
---|---|
95 class MachSafePointNode; | 95 class MachSafePointNode; |
96 class MachSpillCopyNode; | 96 class MachSpillCopyNode; |
97 class MachTempNode; | 97 class MachTempNode; |
98 class Matcher; | 98 class Matcher; |
99 class MemBarNode; | 99 class MemBarNode; |
100 class MemBarStoreStoreNode; | |
100 class MemNode; | 101 class MemNode; |
101 class MergeMemNode; | 102 class MergeMemNode; |
102 class MultiNode; | 103 class MultiNode; |
103 class MultiBranchNode; | 104 class MultiBranchNode; |
104 class NeverBranchNode; | 105 class NeverBranchNode; |
426 // Reaffirm invariants for is_top. (Only from Compile::set_cached_top_node.) | 427 // Reaffirm invariants for is_top. (Only from Compile::set_cached_top_node.) |
427 void setup_is_top(); | 428 void setup_is_top(); |
428 | 429 |
429 // Strip away casting. (It is depth-limited.) | 430 // Strip away casting. (It is depth-limited.) |
430 Node* uncast() const; | 431 Node* uncast() const; |
432 // Return whether two Nodes are equivalent, after stripping casting. | |
433 bool eqv_uncast(const Node* n) const { | |
434 return (this->uncast() == n->uncast()); | |
435 } | |
431 | 436 |
432 private: | 437 private: |
433 static Node* uncast_helper(const Node* n); | 438 static Node* uncast_helper(const Node* n); |
434 | 439 |
435 // Add an output edge to the end of the list | 440 // Add an output edge to the end of the list |
562 DEFINE_CLASS_ID(If, MultiBranch, 1) | 567 DEFINE_CLASS_ID(If, MultiBranch, 1) |
563 DEFINE_CLASS_ID(CountedLoopEnd, If, 0) | 568 DEFINE_CLASS_ID(CountedLoopEnd, If, 0) |
564 DEFINE_CLASS_ID(NeverBranch, MultiBranch, 2) | 569 DEFINE_CLASS_ID(NeverBranch, MultiBranch, 2) |
565 DEFINE_CLASS_ID(Start, Multi, 2) | 570 DEFINE_CLASS_ID(Start, Multi, 2) |
566 DEFINE_CLASS_ID(MemBar, Multi, 3) | 571 DEFINE_CLASS_ID(MemBar, Multi, 3) |
567 DEFINE_CLASS_ID(Initialize, MemBar, 0) | 572 DEFINE_CLASS_ID(Initialize, MemBar, 0) |
573 DEFINE_CLASS_ID(MemBarStoreStore, MemBar, 1) | |
568 | 574 |
569 DEFINE_CLASS_ID(Mach, Node, 1) | 575 DEFINE_CLASS_ID(Mach, Node, 1) |
570 DEFINE_CLASS_ID(MachReturn, Mach, 0) | 576 DEFINE_CLASS_ID(MachReturn, Mach, 0) |
571 DEFINE_CLASS_ID(MachSafePoint, MachReturn, 0) | 577 DEFINE_CLASS_ID(MachSafePoint, MachReturn, 0) |
572 DEFINE_CLASS_ID(MachCall, MachSafePoint, 0) | 578 DEFINE_CLASS_ID(MachCall, MachSafePoint, 0) |
742 DEFINE_CLASS_QUERY(MachSafePoint) | 748 DEFINE_CLASS_QUERY(MachSafePoint) |
743 DEFINE_CLASS_QUERY(MachSpillCopy) | 749 DEFINE_CLASS_QUERY(MachSpillCopy) |
744 DEFINE_CLASS_QUERY(MachTemp) | 750 DEFINE_CLASS_QUERY(MachTemp) |
745 DEFINE_CLASS_QUERY(Mem) | 751 DEFINE_CLASS_QUERY(Mem) |
746 DEFINE_CLASS_QUERY(MemBar) | 752 DEFINE_CLASS_QUERY(MemBar) |
753 DEFINE_CLASS_QUERY(MemBarStoreStore) | |
747 DEFINE_CLASS_QUERY(MergeMem) | 754 DEFINE_CLASS_QUERY(MergeMem) |
748 DEFINE_CLASS_QUERY(Multi) | 755 DEFINE_CLASS_QUERY(Multi) |
749 DEFINE_CLASS_QUERY(MultiBranch) | 756 DEFINE_CLASS_QUERY(MultiBranch) |
750 DEFINE_CLASS_QUERY(Parm) | 757 DEFINE_CLASS_QUERY(Parm) |
751 DEFINE_CLASS_QUERY(PCTable) | 758 DEFINE_CLASS_QUERY(PCTable) |