Home
last modified time | relevance | path

Searched refs:insn_at (Results 1 – 1 of 1) sorted by relevance

/frameworks/libs/binary_translation/heavy_optimizer/riscv64/
Dfrontend_tests.cc81 constexpr GuestAddr insn_at() { in insn_at() function
103 frontend.Finalize(insn_at<3>()); in TEST()
109 EXPECT_TRUE(branch_targets[insn_at<0>()].second.has_value()); in TEST()
110 auto it = branch_targets[insn_at<0>()].second.value(); in TEST()
112 EXPECT_TRUE(branch_targets[insn_at<1>()].second.has_value()); in TEST()
113 it = branch_targets[insn_at<1>()].second.value(); in TEST()
115 EXPECT_TRUE(branch_targets[insn_at<2>()].second.has_value()); in TEST()
116 it = branch_targets[insn_at<2>()].second.value(); in TEST()
118 EXPECT_FALSE(branch_targets[insn_at<3>()].second.has_value()); in TEST()
121 EXPECT_TRUE(branch_targets.find(insn_at<4>()) == branch_targets.end()); in TEST()
[all …]