Lines Matching refs:PassTestBase
110 struct PassTestBase : public P { struct
131 PassTestBase() : P(ID), allocated(0) { in PassTestBase() argument
143 template<typename P> char PassTestBase<P>::ID;
144 template<typename P> int PassTestBase<P>::runc;
145 template<typename P> bool PassTestBase<P>::initialized;
146 template<typename P> bool PassTestBase<P>::finalized;
149 struct PassTest : public PassTestBase<P> {
152 EXPECT_FALSE(PassTestBase<P>::initialized); in doInitialization()
153 PassTestBase<P>::initialized = true; in doInitialization()
157 EXPECT_FALSE(PassTestBase<P>::finalized); in doFinalization()
158 PassTestBase<P>::finalized = true; in doFinalization()
159 EXPECT_EQ(0, PassTestBase<P>::allocated); in doFinalization()
186 struct LPass : public PassTestBase<LoopPass> {
197 PassTestBase<LoopPass>::finishedOK(run); in finishedOK()
220 struct BPass : public PassTestBase<BasicBlockPass> {
226 PassTestBase<BasicBlockPass>::finishedOK(run); in finishedOK()