RISC-V: Change parse_insn into public for future use.

gcc/ChangeLog:

	* config/riscv/riscv-vsetvl.h: Change it into public.
This commit is contained in:
Ju-Zhe Zhong 2023-01-18 11:06:59 +08:00 committed by Kito Cheng
parent 5aa486e774
commit 89483d952a

View file

@ -260,9 +260,6 @@ private:
Since RTL_SSA can not be enabled when optimize == 0, we don't initialize
the m_insn. */
void parse_insn (rtx_insn *);
/* This is only called by lazy_vsetvl subroutine when optimize > 0.
We use RTL_SSA framework to initialize the insn_info. */
void parse_insn (rtl_ssa::insn_info *);
friend class vector_infos_manager;
@ -272,6 +269,10 @@ public:
m_insn (nullptr)
{}
/* This is only called by lazy_vsetvl subroutine when optimize > 0.
We use RTL_SSA framework to initialize the insn_info. */
void parse_insn (rtl_ssa::insn_info *);
bool operator> (const vector_insn_info &) const;
bool operator>= (const vector_insn_info &) const;
bool operator== (const vector_insn_info &) const;