diff options
author | Clement Courbet <courbet@google.com> | 2019-02-04 09:30:43 +0000 |
---|---|---|
committer | Clement Courbet <courbet@google.com> | 2019-02-04 09:30:43 +0000 |
commit | cc98a273f0631b0e909c44d6f613d24190c9e4f4 (patch) | |
tree | 6ca90735b26c70a7f9a48c19b69d4e87ee137a4a /include/llvm/CodeGen | |
parent | e77d577c45260fecbf50a80c305ae8ac7b8fdc89 (diff) | |
download | llvm-cc98a273f0631b0e909c44d6f613d24190c9e4f4.tar.gz |
[SelectionDAG] Add a BaseIndexOffset::print() method for debugging.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353028 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r-- | include/llvm/CodeGen/SelectionDAGAddressAnalysis.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGAddressAnalysis.h b/include/llvm/CodeGen/SelectionDAGAddressAnalysis.h index 19033d6112a..f168b846fda 100644 --- a/include/llvm/CodeGen/SelectionDAGAddressAnalysis.h +++ b/include/llvm/CodeGen/SelectionDAGAddressAnalysis.h @@ -59,6 +59,9 @@ public: /// Parses tree in Ptr for base, index, offset addresses. static BaseIndexOffset match(const LSBaseSDNode *N, const SelectionDAG &DAG); + + void print(raw_ostream& OS) const; + void dump() const; }; } // end namespace llvm |