Lines Matching refs:PassTestBase
113 struct PassTestBase : public P { struct
134 PassTestBase() : P(ID), allocated(0) { in PassTestBase() argument
146 template<typename P> char PassTestBase<P>::ID;
147 template<typename P> int PassTestBase<P>::runc;
148 template<typename P> bool PassTestBase<P>::initialized;
149 template<typename P> bool PassTestBase<P>::finalized;
152 struct PassTest : public PassTestBase<P> {
159 EXPECT_FALSE(PassTestBase<P>::initialized); in doInitialization()
160 PassTestBase<P>::initialized = true; in doInitialization()
164 EXPECT_FALSE(PassTestBase<P>::finalized); in doFinalization()
165 PassTestBase<P>::finalized = true; in doFinalization()
166 EXPECT_EQ(0, PassTestBase<P>::allocated); in doFinalization()
192 struct LPass : public PassTestBase<LoopPass> {
203 PassTestBase<LoopPass>::finishedOK(run); in finishedOK()
227 struct BPass : public PassTestBase<BasicBlockPass> {
233 PassTestBase<BasicBlockPass>::finishedOK(run); in finishedOK()