Lines Matching full:sw

53 struct PrintValue::Ty<sw::Spirv::Object::ID>
55 …static inline std::string fmt(sw::Spirv::Object::ID v) { return "Object<" + std::to_string(v.value… in fmt()
56 static inline std::vector<Value *> val(sw::Spirv::Object::ID v) { return {}; } in val()
59 struct PrintValue::Ty<sw::Spirv::Type::ID>
61 …static inline std::string fmt(sw::Spirv::Type::ID v) { return "Type<" + std::to_string(v.value()) … in fmt()
62 static inline std::vector<Value *> val(sw::Spirv::Type::ID v) { return {}; } in val()
65 struct PrintValue::Ty<sw::Spirv::Block::ID>
67 …static inline std::string fmt(sw::Spirv::Block::ID v) { return "Block<" + std::to_string(v.value()… in fmt()
68 static inline std::vector<Value *> val(sw::Spirv::Block::ID v) { return {}; } in val()
72 struct PrintValue::Ty<sw::Intermediate>
74 static inline std::string fmt(const sw::Intermediate &v, uint32_t i) in fmt()
78 case sw::Intermediate::TypeHint::Float: in fmt()
79 return PrintValue::Ty<sw::SIMD::Float>::fmt(v.Float(i)); in fmt()
80 case sw::Intermediate::TypeHint::Int: in fmt()
81 return PrintValue::Ty<sw::SIMD::Int>::fmt(v.Int(i)); in fmt()
82 case sw::Intermediate::TypeHint::UInt: in fmt()
83 return PrintValue::Ty<sw::SIMD::UInt>::fmt(v.UInt(i)); in fmt()
88 static inline std::vector<Value *> val(const sw::Intermediate &v, uint32_t i) in val()
92 case sw::Intermediate::TypeHint::Float: in val()
93 return PrintValue::Ty<sw::SIMD::Float>::val(v.Float(i)); in val()
94 case sw::Intermediate::TypeHint::Int: in val()
95 return PrintValue::Ty<sw::SIMD::Int>::val(v.Int(i)); in val()
96 case sw::Intermediate::TypeHint::UInt: in val()
97 return PrintValue::Ty<sw::SIMD::UInt>::val(v.UInt(i)); in val()
102 static inline std::string fmt(const sw::Intermediate &v) in fmt()
119 static inline std::vector<Value *> val(const sw::Intermediate &v) in val()
132 struct PrintValue::Ty<sw::SpirvEmitter::Operand>
134 static inline std::string fmt(const sw::SpirvEmitter::Operand &v) in fmt()
136 …n (v.intermediate != nullptr) ? PrintValue::Ty<sw::Intermediate>::fmt(*v.intermediate) : PrintValu… in fmt()
139 static inline std::vector<Value *> val(const sw::SpirvEmitter::Operand &v) in val()
141 …n (v.intermediate != nullptr) ? PrintValue::Ty<sw::Intermediate>::val(*v.intermediate) : PrintValu… in val()