Searched refs:UInt16Imm (Results 1 – 6 of 6) sorted by relevance
98 bool UInt16Imm::operator==(const Value &other) const { in operator ==()99 if (other.isa<UInt16Imm>()) { in operator ==()100 auto other_ = static_cast<const UInt16Imm &>(other); in operator ==()106 bool UInt16Imm::operator==(const UInt16Imm &other) const { return v_ == other.v_; } in operator ==()
224 class MS_CORE_API UInt16Imm : public IntergerImm {226 UInt16Imm() : IntergerImm(kUInt16), v_(0) {} in UInt16Imm() function227 explicit UInt16Imm(uint16_t v) : IntergerImm(kUInt16), v_(v) { in UInt16Imm() function230 ~UInt16Imm() override = default;231 MS_DECLARE_PARENT(UInt16Imm, IntergerImm) in MS_DECLARE_PARENT() argument237 bool operator==(const UInt16Imm &other) const;249 using UInt16ImmPtr = std::shared_ptr<UInt16Imm>;
203 } else if (val->isa<UInt16Imm>()) { in SetScalarToProto()204 const UInt16ImmPtr &value = dyn_cast<UInt16Imm>(val); in SetScalarToProto()
268 } else if (val->isa<UInt16Imm>()) { in SetScalarToProto()269 const UInt16ImmPtr &value = dyn_cast<UInt16Imm>(val); in SetScalarToProto()
699 } else if (value->isa<UInt16Imm>()) { in SetScalarToAttributeProto_ir()758 } else if (value->isa<UInt16Imm>()) { in SetScalarToAttributeProto_irs()
400 data = std::make_shared<UInt16Imm>(obj); in ConvertNumberWithType()