Home
last modified time | relevance | path

Searched refs:PrimType (Results 1 – 24 of 24) sorted by relevance

/third_party/mindspore/mindspore/core/ir/
Dprimitive.h32 enum PrimType { enum
43 …explicit Primitive(const std::string &name, const bool is_base = true, const PrimType prim_type = …
99 void set_prim_type(const PrimType t) { prim_type_ = t; } in set_prim_type()
105 PrimType prim_type() const { return prim_type_; } in prim_type()
137 PrimType prim_type_;
Dprimitive.cc29 Primitive::Primitive(const std::string &name, const bool is_base, const PrimType prim_type) in Primitive()
/third_party/mindspore/mindspore/ccsrc/pybind_api/ir/
Dprimitive_py.cc450 void PrimitivePyAdapter::set_prim_type(const PrimType t) { in set_prim_type()
505 (void)py::enum_<PrimType>(*m, "prim_type", py::arithmetic()) in __anonda41446c0202()
506 .value("unknown", PrimType::kPrimTypeUnknown) in __anonda41446c0202()
507 .value("builtin", PrimType::kPrimTypeBuiltIn) in __anonda41446c0202()
508 .value("py_infer_shape", PrimType::kPrimTypePyInfer) in __anonda41446c0202()
509 .value("user_custom", PrimType::kPrimTypeUserCustom) in __anonda41446c0202()
510 .value("py_infer_check", PrimType::kPrimTypePyCheck); in __anonda41446c0202()
Dprimitive_py.h96 void set_prim_type(const PrimType t);
113 PrimType prim_type_{kPrimTypeBuiltIn};
/third_party/mindspore/mindspore/ccsrc/frontend/operator/
Dprim_to_function.h36 enum PrimType { kPrimTypeUnknown, kPrimTypeOneArg, kPrimTypeTwoArgs }; enum
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceGlobalContext.cpp92 typename ValueType::PrimType>::value>::type> {
95 static_assert(sizeof(typename ValueType::PrimType) <= sizeof(CompareType), in operator ()()
97 typename ValueType::PrimType V1 = llvm::cast<ValueType>(Const1)->getValue(); in operator ()()
98 typename ValueType::PrimType V2 = llvm::cast<ValueType>(Const2)->getValue(); in operator ()()
112 typename ValueType::PrimType>::value>::type> {
114 typename ValueType::PrimType V1 = llvm::cast<ValueType>(Const1)->getValue(); in operator ()()
115 typename ValueType::PrimType V2 = llvm::cast<ValueType>(Const2)->getValue(); in operator ()()
DIceOperand.h195 using PrimType = T;
198 PrimType Value) { in create()
206 PrimType getValue() const { return Value; } in getValue()
219 SizeT hashValue() const override { return std::hash<PrimType>()(Value); } in hashValue()
222 ConstantPrimitive(Type Ty, PrimType Value) : Constant(K, Ty), Value(Value) {} in ConstantPrimitive()
257 if (BuildDefs::dump() && std::is_floating_point<PrimType>::value && in initName()
272 const PrimType Value;
DIceELFObjectWriter.cpp548 typename ConstType::PrimType Value = Const->getValue(); in writeConstantPool()
DIceTargetLoweringARM32.cpp2305 typename C::PrimType getConstantValue() const { in getConstantValue()
DIceTargetLoweringX8664.cpp6946 typename T::IceType::PrimType Value = Const->getValue(); in emitConstantPool()
DIceTargetLoweringX8632.cpp7682 typename T::IceType::PrimType Value = Const->getValue(); in emitConstantPool()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/
Dvalidator.cc62 if (prim->prim_type() == PrimType::kPrimTypePyCheck) { in ValidateOperation()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/infer/
Dinfer_register.h26 enum PrimType { enum
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/
DparserRealSource2.ts25 PrimType = 1 << 9, // number, string, boolean
DparserRealSource10.ts198 …nce.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "any", ErrorRecoverySet.PrimType);
199 …None, NodeType.None, OperatorPrecedence.None, NodeType.None, "boolean", ErrorRecoverySet.PrimType);
231 ….None, NodeType.None, OperatorPrecedence.None, NodeType.None, "number", ErrorRecoverySet.PrimType);
239 ….None, NodeType.None, OperatorPrecedence.None, NodeType.None, "string", ErrorRecoverySet.PrimType);
/third_party/typescript/tests/baselines/reference/
DparserRealSource10.js199 …nce.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "any", ErrorRecoverySet.PrimType);
200 …None, NodeType.None, OperatorPrecedence.None, NodeType.None, "boolean", ErrorRecoverySet.PrimType);
232 ….None, NodeType.None, OperatorPrecedence.None, NodeType.None, "number", ErrorRecoverySet.PrimType);
240 ….None, NodeType.None, OperatorPrecedence.None, NodeType.None, "string", ErrorRecoverySet.PrimType);
671 …nce.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "any", ErrorRecoverySet.PrimType);
672 …None, NodeType.None, OperatorPrecedence.None, NodeType.None, "boolean", ErrorRecoverySet.PrimType);
704 ….None, NodeType.None, OperatorPrecedence.None, NodeType.None, "number", ErrorRecoverySet.PrimType);
712 ….None, NodeType.None, OperatorPrecedence.None, NodeType.None, "string", ErrorRecoverySet.PrimType);
DparserRealSource2.types85 PrimType = 1 << 9, // number, string, boolean
86 >PrimType : ErrorRecoverySet
DparserRealSource2.errors.txt31 PrimType = 1 << 9, // number, string, boolean
DparserRealSource10.types689 …nce.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "any", ErrorRecoverySet.PrimType);
690 …ne, NodeType.None, OperatorPrecedence.None, NodeType.None, "any", ErrorRecoverySet.PrimType) : void
711 >ErrorRecoverySet.PrimType : any
713 >PrimType : any
715 …None, NodeType.None, OperatorPrecedence.None, NodeType.None, "boolean", ErrorRecoverySet.PrimType);
716 …NodeType.None, OperatorPrecedence.None, NodeType.None, "boolean", ErrorRecoverySet.PrimType) : void
737 >ErrorRecoverySet.PrimType : any
739 >PrimType : any
1547 ….None, NodeType.None, OperatorPrecedence.None, NodeType.None, "number", ErrorRecoverySet.PrimType);
1548 … NodeType.None, OperatorPrecedence.None, NodeType.None, "number", ErrorRecoverySet.PrimType) : void
[all …]
DparserRealSource2.symbols55 PrimType = 1 << 9, // number, string, boolean
56 >PrimType : Symbol(ErrorRecoverySet.PrimType, Decl(parserRealSource2.ts, 23, 23))
DparserRealSource2.js26 PrimType = 1 << 9, // number, string, boolean
DparserRealSource10.errors.txt571 …nce.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "any", ErrorRecoverySet.PrimType);
578 …None, NodeType.None, OperatorPrecedence.None, NodeType.None, "boolean", ErrorRecoverySet.PrimType);
802 ….None, NodeType.None, OperatorPrecedence.None, NodeType.None, "number", ErrorRecoverySet.PrimType);
858 ….None, NodeType.None, OperatorPrecedence.None, NodeType.None, "string", ErrorRecoverySet.PrimType);
DparserRealSource10.symbols615 …nce.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "any", ErrorRecoverySet.PrimType);
630 …None, NodeType.None, OperatorPrecedence.None, NodeType.None, "boolean", ErrorRecoverySet.PrimType);
1110 ….None, NodeType.None, OperatorPrecedence.None, NodeType.None, "number", ErrorRecoverySet.PrimType);
1230 ….None, NodeType.None, OperatorPrecedence.None, NodeType.None, "string", ErrorRecoverySet.PrimType);
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/static_analysis/
Dprim.cc641 if (prim_->prim_type() == PrimType::kPrimTypePyCheck) { in EvalPrim()