Code Listener
[unstable] git snapshot
|
#include <clf_opchk.hh>
Protected Member Functions | |
struct cl_loc * | lastLocation () const |
virtual void | checkDstOperand (const struct cl_operand *)=0 |
virtual void | checkSrcOperand (const struct cl_operand *)=0 |
Private Member Functions | |
void | handleArrayIdx (const struct cl_operand *) |
void | handleSrc (const struct cl_operand *) |
void | handleDstSrc (const struct cl_operand *) |
Private Attributes | |
struct cl_loc | loc_ |
Definition at line 26 of file clf_opchk.hh.
ClfOpCheckerBase | ( | ICodeListener * | slave) |
|
inlinevirtualinherited |
See cl_code_listener::acknowledge.
Implements ICodeListener.
Definition at line 128 of file cl_filter.hh.
References ICodeListener::acknowledge(), and ClFilterBase::slave_.
|
inlinevirtualinherited |
See cl_code_listener::bb_open.
Implements ICodeListener.
Definition at line 77 of file cl_filter.hh.
References ICodeListener::bb_open(), and ClFilterBase::slave_.
|
protectedpure virtual |
|
protectedpure virtual |
|
inlinevirtualinherited |
See cl_code_listener::file_close.
Implements ICodeListener.
Definition at line 56 of file cl_filter.hh.
References ICodeListener::file_close(), and ClFilterBase::slave_.
|
inlinevirtual |
See cl_code_listener::file_open.
Reimplemented from ClFilterBase.
Definition at line 47 of file clf_opchk.hh.
References ClFilterBase::file_open(), and loc_.
|
inlinevirtual |
See cl_code_listener::fnc_arg_decl.
Reimplemented from ClFilterBase.
Definition at line 61 of file clf_opchk.hh.
References ClFilterBase::fnc_arg_decl(), and handleDstSrc().
|
inlinevirtualinherited |
See cl_code_listener::fnc_close.
Implements ICodeListener.
Definition at line 73 of file cl_filter.hh.
References ICodeListener::fnc_close(), and ClFilterBase::slave_.
|
inlinevirtual |
See cl_code_listener::fnc_open.
Reimplemented from ClFilterBase.
Definition at line 54 of file clf_opchk.hh.
References cl_operand::cst, cl_cst::cst_fnc, cl_cst::data, cl_operand::data, ClFilterBase::fnc_open(), and loc_.
|
private |
|
private |
Referenced by fnc_arg_decl(), insn(), and insn_call_open().
|
private |
Referenced by insn(), insn_call_arg(), insn_call_open(), and insn_switch_open().
|
inlinevirtual |
Reimplemented from ClFilterBase.
Definition at line 69 of file clf_opchk.hh.
References CL_INSN_BINOP, CL_INSN_COND, CL_INSN_RET, CL_INSN_UNOP, cl_insn::code, cl_insn::data, handleDstSrc(), handleSrc(), ClFilterBase::insn(), cl_insn::insn_binop, cl_insn::insn_cond, cl_insn::insn_ret, cl_insn::insn_unop, cl_insn::loc, and loc_.
|
inlinevirtual |
See cl_code_listener::insn_call_arg.
Reimplemented from ClFilterBase.
Definition at line 112 of file clf_opchk.hh.
References handleSrc(), and ClFilterBase::insn_call_arg().
|
inlinevirtualinherited |
See cl_code_listener::insn_call_close.
Implements ICodeListener.
Definition at line 104 of file cl_filter.hh.
References ICodeListener::insn_call_close(), and ClFilterBase::slave_.
|
inlinevirtual |
See cl_code_listener::insn_call_open.
Reimplemented from ClFilterBase.
Definition at line 101 of file clf_opchk.hh.
References handleDstSrc(), handleSrc(), ClFilterBase::insn_call_open(), and loc_.
|
inlinevirtualinherited |
See cl_code_listener::insn_switch_case.
Implements ICodeListener.
Definition at line 115 of file cl_filter.hh.
References ICodeListener::insn_switch_case(), and ClFilterBase::slave_.
|
inlinevirtualinherited |
See cl_code_listener::insn_switch_close.
Implements ICodeListener.
Definition at line 124 of file cl_filter.hh.
References ICodeListener::insn_switch_close(), and ClFilterBase::slave_.
|
inlinevirtual |
See cl_code_listener::insn_switch_open.
Reimplemented from ClFilterBase.
Definition at line 120 of file clf_opchk.hh.
References handleSrc(), ClFilterBase::insn_switch_open(), and loc_.
|
inlineprotected |
Definition at line 31 of file clf_opchk.hh.
References loc_.
|
private |
Definition at line 130 of file clf_opchk.hh.
Referenced by file_open(), fnc_open(), insn(), insn_call_open(), insn_switch_open(), and lastLocation().