Home
last modified time | relevance | path

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

/frameworks/rs/rsov/compiler/spirit/
Dmodule_test.cpp69 EXPECT_EQ(5, countEntity<AccessChainInst>(m)); in TEST_F()
70 EXPECT_EQ(2, countEntity<BitcastInst>(m)); in TEST_F()
71 EXPECT_EQ(1, countEntity<CapabilityInst>(m)); in TEST_F()
72 EXPECT_EQ(1, countEntity<CompositeConstructInst>(m)); in TEST_F()
73 EXPECT_EQ(5, countEntity<ConstantInst>(m)); in TEST_F()
74 EXPECT_EQ(1, countEntity<ConstantCompositeInst>(m)); in TEST_F()
75 EXPECT_EQ(11, countEntity<DecorateInst>(m)); in TEST_F()
76 EXPECT_EQ(1, countEntity<DotInst>(m)); in TEST_F()
77 EXPECT_EQ(1, countEntity<EntryPointInst>(m)); in TEST_F()
78 EXPECT_EQ(1, countEntity<ExecutionModeInst>(m)); in TEST_F()
[all …]
Dpass_queue_test.cpp98 EXPECT_EQ(1, countEntity<IAddInst>(m.get())); in TEST_F()
99 EXPECT_EQ(1, countEntity<IMulInst>(m.get())); in TEST_F()
109 EXPECT_EQ(2, countEntity<IAddInst>(m1)); in TEST_F()
110 EXPECT_EQ(0, countEntity<IMulInst>(m1)); in TEST_F()
118 EXPECT_EQ(1, countEntity<IAddInst>(m.get())); in TEST_F()
119 EXPECT_EQ(1, countEntity<IMulInst>(m.get())); in TEST_F()
120 EXPECT_EQ(1, countEntity<TypeFloatInst>(m.get())); in TEST_F()
130 EXPECT_EQ(1, countEntity<IAddInst>(m1)); in TEST_F()
131 EXPECT_EQ(1, countEntity<IMulInst>(m1)); in TEST_F()
132 EXPECT_EQ(2, countEntity<TypeFloatInst>(m1)); in TEST_F()
[all …]
Dtransformer_test.cpp83 EXPECT_EQ(1, countEntity<IAddInst>(m.get())); in TEST_F()
84 EXPECT_EQ(1, countEntity<IMulInst>(m.get())); in TEST_F()
93 EXPECT_EQ(2, countEntity<IAddInst>(m1.get())); in TEST_F()
94 EXPECT_EQ(0, countEntity<IMulInst>(m1.get())); in TEST_F()
102 EXPECT_EQ(1, countEntity<IMulInst>(m.get())); in TEST_F()
109 EXPECT_EQ(1, countEntity<IAddInst>(m1.get())); in TEST_F()
110 EXPECT_EQ(0, countEntity<IMulInst>(m1.get())); in TEST_F()
118 EXPECT_EQ(5, countEntity<ConstantInst>(m.get())); in TEST_F()
119 EXPECT_EQ(1, countEntity<TypeFloatInst>(m.get())); in TEST_F()
120 EXPECT_EQ(1, countEntity<IMulInst>(m.get())); in TEST_F()
[all …]
Dbuilder_test.cpp172 EXPECT_EQ(1, countEntity<MemoryModelInst>(m)); in TEST()
173 EXPECT_EQ(1, countEntity<EntryPointInst>(m)); in TEST()
174 EXPECT_EQ(3, countEntity<LoadInst>(m)); in TEST()
175 EXPECT_EQ(1, countEntity<ReturnInst>(m)); in TEST()
176 EXPECT_EQ(1, countEntity<ExecutionModeInst>(m)); in TEST()
177 EXPECT_EQ(2, countEntity<TypeRuntimeArrayInst>(m)); in TEST()
178 EXPECT_EQ(2, countEntity<TypeStructInst>(m)); in TEST()
179 EXPECT_EQ(5, countEntity<TypePointerInst>(m)); in TEST()
180 EXPECT_EQ(1, countEntity<StringInst>(m)); in TEST()
Dtest_utils.h37 template <typename T> int countEntity(Entity *e) { in countEntity() function
/frameworks/rs/rsov/compiler/
DWrapper_test.cpp59 EXPECT_EQ(1, countEntity<TypeRuntimeArrayInst>(gs)); in TEST_F()
60 EXPECT_EQ(1, countEntity<TypeStructInst>(gs)); in TEST_F()
61 EXPECT_EQ(1, countEntity<VariableInst>(gs)); in TEST_F()
82 EXPECT_EQ(2, countEntity<EntryPointDefinition>(m.get())); in TEST_F()
101 EXPECT_EQ(1, countEntity<EntryPointDefinition>(m.get())); in TEST_F()