Lines Matching refs:T
46 template <class T>
47 using own = std::unique_ptr<T>;
265 template<class T>
266 inline T* CastOperand(Operand* op) { in CastOperand()
268 T* operand = dynamic_cast<T*>(op); in CastOperand()
274 T* converted = nullptr; in CastOperand()
275 bool Visit(T* val) override { in CastOperand()
336 template<class T>
337 T* CastOperand(int index) const { in CastOperand()
338 return detail::CastOperand<T>(operands[index]); in CastOperand()
419 template<class T>
420 T* CastOperand(int index) const { in CastOperand()
421 return detail::CastOperand<T>(operands[index]); in CastOperand()
453 template <class T, class... Args>
454 T* Alloc(Args&&... args) { in Alloc()
455 auto p = new T(std::forward<Args>(args)...); in Alloc()
456 nodes_.push_back(own<T>(p)); in Alloc()