20#ifndef GCC_SELFTEST_RTL_H
21#define GCC_SELFTEST_RTL_H
36assert_rtl_dump_eq (
const location &loc,
const char *expected_dump,
rtx x,
41#define ASSERT_RTL_DUMP_EQ(EXPECTED_DUMP, RTX) \
42 assert_rtl_dump_eq (SELFTEST_LOCATION, (EXPECTED_DUMP), (RTX), NULL)
46#define ASSERT_RTL_DUMP_EQ_WITH_REUSE(EXPECTED_DUMP, RTX, REUSE_MANAGER) \
47 assert_rtl_dump_eq (SELFTEST_LOCATION, (EXPECTED_DUMP), (RTX), \
50#define ASSERT_RTX_EQ(EXPECTED, ACTUAL) \
52 const char *desc_ = "ASSERT_RTX_EQ (" #EXPECTED ", " #ACTUAL ")"; \
53 ::selftest::assert_rtx_eq_at (SELFTEST_LOCATION, desc_, (EXPECTED), \
57extern void assert_rtx_eq_at (
const location &,
const char *,
rtx,
rtx);
63#define ASSERT_RTX_PTR_EQ(EXPECTED, ACTUAL) \
65 const char *desc_ = "ASSERT_RTX_PTR_EQ (" #EXPECTED ", " #ACTUAL ")"; \
66 ::selftest::assert_rtx_ptr_eq_at (SELFTEST_LOCATION, desc_, (EXPECTED), \
74extern void assert_rtx_ptr_eq_at (
const location &loc,
const char *
msg,
83 rtl_dump_test (
const location &loc,
char *path);
92extern rtx_insn *get_insn_by_uid (
int uid);
94extern void verify_three_block_rtl_cfg (
function *fun);
Definition print-rtl.h:144
Definition dump-context.h:31
static void const char * msg
Definition read-md.cc:204
Definition function.h:249