Searched refs:Int8Imm (Results 1 – 7 of 7) sorted by relevance
53 bool Int8Imm::operator==(const Value &other) const { in operator ==()54 if (other.isa<Int8Imm>()) { in operator ==()55 auto other_ = static_cast<const Int8Imm &>(other); in operator ==()61 bool Int8Imm::operator==(const Int8Imm &other) const { return v_ == other.v_; } in operator ==()
92 class MS_CORE_API Int8Imm : public IntergerImm {94 Int8Imm() : IntergerImm(kInt8), v_(0) {} in Int8Imm() function95 …explicit Int8Imm(int8_t v) : IntergerImm(kInt8), v_(v) { hash_ = hash_combine({tid(), std::hash<in… in Int8Imm() function96 ~Int8Imm() override = default;97 MS_DECLARE_PARENT(Int8Imm, IntergerImm) in MS_DECLARE_PARENT() argument103 bool operator==(const Int8Imm &other) const;115 using Int8ImmPtr = std::shared_ptr<Int8Imm>;
183 } else if (val->isa<Int8Imm>()) { in SetScalarToProto()184 const Int8ImmPtr &value = dyn_cast<Int8Imm>(val); in SetScalarToProto()
248 } else if (val->isa<Int8Imm>()) { in SetScalarToProto()249 const Int8ImmPtr &value = dyn_cast<Int8Imm>(val); in SetScalarToProto()
684 } else if (value->isa<Int8Imm>()) { in SetScalarToAttributeProto_ir()743 } else if (value->isa<Int8Imm>()) { in SetScalarToAttributeProto_irs()
1937 if (elem->isa<Int8Imm>()) { in ConvertTupleToTensor()1938 tensor_proto->add_int64_data(dyn_cast<Int8Imm>(elem)->value()); in ConvertTupleToTensor()
376 data = std::make_shared<Int8Imm>(obj); in ConvertNumberWithType()