Branch data Line data Source code
1 : : #include <mutable/IR/PhysicalOptimizer.hpp> 2 : : 3 : : 4 : : using namespace m; 5 : : 6 : : 7 : : /*====================================================================================================================== 8 : : * MatchBase 9 : : *====================================================================================================================*/ 10 : : 11 : : M_LCOV_EXCL_START 12 : : void MatchBase::dump(std::ostream &out) const { out << *this << std::endl; } 13 : : void MatchBase::dump() const { dump(std::cerr); } 14 : : M_LCOV_EXCL_STOP 15 : : 16 : : 17 : : /*====================================================================================================================== 18 : : * PhysicalOptimizerImpl 19 : : *====================================================================================================================*/ 20 : : 21 : : template<typename PhysicalPlanTable> 22 : 972 : void PhysicalOptimizerImpl<PhysicalPlanTable>::accept(PhysOptVisitor &v) { v(*this); } 23 : : template<typename PhysicalPlanTable> 24 : 0 : void PhysicalOptimizerImpl<PhysicalPlanTable>::accept(ConstPhysOptVisitor &v) const { v(*this); } 25 : : 26 : : // explicit template instantiations 27 : : #define INSTANTIATE(CLASS) \ 28 : : template struct m::CLASS; 29 : : M_PHYS_OPT_LIST(INSTANTIATE) 30 : : #undef INSTANTIATE