Lines Matching refs:program
120 bool Phase::Apply(public_lib::Context *ctx, parser::Program *program) in Apply() argument
128 CheckOptionsBeforePhase(options, program, name); in Apply()
131 if (!Precondition(ctx, program)) { in Apply()
137 if (!Perform(ctx, program)) { in Apply()
141 CheckOptionsAfterPhase(options, program, name); in Apply()
144 if (!Postcondition(ctx, program)) { in Apply()
153 void Phase::CheckOptionsBeforePhase(const CompilerOptions *options, const parser::Program *program, in CheckOptionsBeforePhase() argument
158 std::cout << program->Dump() << std::endl; in CheckOptionsBeforePhase()
164 std::cout << program->Ast()->DumpEtsSrc() << std::endl; in CheckOptionsBeforePhase()
168 void Phase::CheckOptionsAfterPhase(const CompilerOptions *options, const parser::Program *program, in CheckOptionsAfterPhase() argument
173 std::cout << program->Dump() << std::endl; in CheckOptionsAfterPhase()
179 std::cout << program->Ast()->DumpEtsSrc() << std::endl; in CheckOptionsAfterPhase()