Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Doptimizing_unit_test.h66 struct InstructionDumper { struct
71 inline bool operator==(const InstructionDumper& a, const InstructionDumper& b) {
74 inline bool operator!=(const InstructionDumper& a, const InstructionDumper& b) {
78 inline std::ostream& operator<<(std::ostream& os, const InstructionDumper& id) {
86 #define EXPECT_INS_EQ(a, b) EXPECT_EQ(InstructionDumper{a}, InstructionDumper{b})
87 #define EXPECT_INS_REMOVED(a) EXPECT_TRUE(IsRemoved(a)) << "Not removed: " << (InstructionDumper{a})
88 #define EXPECT_INS_RETAINED(a) EXPECT_FALSE(IsRemoved(a)) << "Removed: " << (InstructionDumper{a})
89 #define ASSERT_INS_EQ(a, b) ASSERT_EQ(InstructionDumper{a}, InstructionDumper{b})
90 #define ASSERT_INS_REMOVED(a) ASSERT_TRUE(IsRemoved(a)) << "Not removed: " << (InstructionDumper{a})
91 #define ASSERT_INS_RETAINED(a) ASSERT_FALSE(IsRemoved(a)) << "Removed: " << (InstructionDumper{a})