Lines Matching refs:ty
130 Constant(const Type* ty) : type_(ty) {} in Constant() argument
159 ScalarConstant(const Type* ty, const std::vector<uint32_t>& w) in ScalarConstant() argument
160 : Constant(ty), words_(w) {} in ScalarConstant()
161 ScalarConstant(const Type* ty, std::vector<uint32_t>&& w) in ScalarConstant() argument
162 : Constant(ty), words_(std::move(w)) {} in ScalarConstant()
169 IntConstant(const Integer* ty, const std::vector<uint32_t>& w) in IntConstant() argument
170 : ScalarConstant(ty, w) {} in IntConstant()
171 IntConstant(const Integer* ty, std::vector<uint32_t>&& w) in IntConstant() argument
172 : ScalarConstant(ty, std::move(w)) {} in IntConstant()
219 FloatConstant(const Float* ty, const std::vector<uint32_t>& w) in FloatConstant() argument
220 : ScalarConstant(ty, w) {} in FloatConstant()
221 FloatConstant(const Float* ty, std::vector<uint32_t>&& w) in FloatConstant() argument
222 : ScalarConstant(ty, std::move(w)) {} in FloatConstant()
260 BoolConstant(const Bool* ty, bool v) in BoolConstant() argument
261 : ScalarConstant(ty, {static_cast<uint32_t>(v)}), value_(v) {} in BoolConstant()
303 CompositeConstant(const Type* ty) : Constant(ty), components_() {} in CompositeConstant() argument
304 CompositeConstant(const Type* ty, in CompositeConstant() argument
306 : Constant(ty), components_(components) {} in CompositeConstant()
307 CompositeConstant(const Type* ty, std::vector<const Constant*>&& components) in CompositeConstant() argument
308 : Constant(ty), components_(std::move(components)) {} in CompositeConstant()
315 StructConstant(const Struct* ty) : CompositeConstant(ty) {} in StructConstant() argument
316 StructConstant(const Struct* ty, in StructConstant() argument
318 : CompositeConstant(ty, components) {} in StructConstant()
319 StructConstant(const Struct* ty, std::vector<const Constant*>&& components) in StructConstant() argument
320 : CompositeConstant(ty, std::move(components)) {} in StructConstant()
337 VectorConstant(const Vector* ty) in VectorConstant() argument
338 : CompositeConstant(ty), component_type_(ty->element_type()) {} in VectorConstant()
339 VectorConstant(const Vector* ty, in VectorConstant() argument
341 : CompositeConstant(ty, components), in VectorConstant()
342 component_type_(ty->element_type()) {} in VectorConstant()
343 VectorConstant(const Vector* ty, std::vector<const Constant*>&& components) in VectorConstant() argument
344 : CompositeConstant(ty, std::move(components)), in VectorConstant()
345 component_type_(ty->element_type()) {} in VectorConstant()
370 MatrixConstant(const Matrix* ty) in MatrixConstant() argument
371 : CompositeConstant(ty), component_type_(ty->element_type()) {} in MatrixConstant()
372 MatrixConstant(const Matrix* ty, in MatrixConstant() argument
374 : CompositeConstant(ty, components), in MatrixConstant()
375 component_type_(ty->element_type()) {} in MatrixConstant()
376 MatrixConstant(const Vector* ty, std::vector<const Constant*>&& components) in MatrixConstant() argument
377 : CompositeConstant(ty, std::move(components)), in MatrixConstant()
378 component_type_(ty->element_type()) {} in MatrixConstant()
403 ArrayConstant(const Array* ty) : CompositeConstant(ty) {} in ArrayConstant() argument
404 ArrayConstant(const Array* ty, const std::vector<const Constant*>& components) in ArrayConstant() argument
405 : CompositeConstant(ty, components) {} in ArrayConstant()
406 ArrayConstant(const Array* ty, std::vector<const Constant*>&& components) in ArrayConstant() argument
407 : CompositeConstant(ty, std::move(components)) {} in ArrayConstant()
424 NullConstant(const Type* ty) : Constant(ty) {} in NullConstant() argument