]> git.ipfire.org Git - thirdparty/gcc.git/commit
Introduce rtx_sequence subclass of rtx_def
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Aug 2014 19:56:45 +0000 (19:56 +0000)
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Aug 2014 19:56:45 +0000 (19:56 +0000)
commit4aa21596e69f97a286eea8ef9ef82ab66c468b33
tree57d0d3617696d35854f93f5402c37f095a9381ad
parent54267fdfa2487c67f4773fc664b0919b07fa221a
Introduce rtx_sequence subclass of rtx_def

gcc/
2014-08-27  David Malcolm  <dmalcolm@redhat.com>

* coretypes.h (class rtx_sequence): Add forward declaration.
* rtl.h (class rtx_sequence): New subclass of rtx_def, adding
invariant: GET_CODE (X) == SEQUENCE.
(is_a_helper <rtx_sequence *>::test): New.
(is_a_helper <const rtx_sequence *>::test): New.
(rtx_sequence::len): New.
(rtx_sequence::element): New.
(rtx_sequence::insn): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214591 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/coretypes.h
gcc/rtl.h