Searched refs:PatternPtr (Results 1 – 7 of 7) sorted by relevance
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ |
D | pattern.h | 38 using PatternPtr = std::shared_ptr<Pattern>; variable 51 using PatternNodeMap = std::unordered_map<PatternPtr, AnfNodePtr, PatternHasher, PatternEqual>; 60 vector<PatternPtr> inputs() { return inputs_; } in inputs() 68 vector<PatternPtr> inputs_; 72 bool operator()(PatternPtr const &p1, PatternPtr const &p2) const { in operator() 80 std::size_t operator()(PatternPtr const &p) const { in operator() 125 Call(PatternPtr prim_pattern, vector<PatternPtr> inputs) { in Call() 131 Call(py::object prim_obj, vector<PatternPtr> inputs) { in Call() 147 PatternPtr prim_pattern() { return prim_pattern_; } in prim_pattern() 150 PatternPtr prim_pattern_ = nullptr; [all …]
|
D | py_pass.h | 37 …explicit PythonPass(const std::string &name, const PatternPtr &src, const PatternPtr &dst, bool ru… 44 PatternPtr src_pattern() { return src_pattern_; } in src_pattern() 45 PatternPtr dst_pattern() { return dst_pattern_; } in dst_pattern() 48 PatternPtr src_pattern_; 49 PatternPtr dst_pattern_;
|
D | py_pass.cc | 38 AnfNodePtr ProcessSinglePattern(const PatternPtr &pattern, const MatchResultPtr &res, const FuncGra… 40 AnfNodePtr BuildTarget(const PatternPtr &pattern, const FuncGraphPtr &func_graph, const FuncGraphPt… 58 AnfNodePtr BuildPrimitive(const PatternPtr &pattern) { in BuildPrimitive() 68 AnfNodePtr BuildNewTensor(const PatternPtr &pattern) { in BuildNewTensor() 77 AnfNodePtr BuildPrimitiveValueNode(const PatternPtr &pattern, const MatchResultPtr &res, const Func… in BuildPrimitiveValueNode() 90 AnfNodePtr BuildNewParameter(const PatternPtr &pattern, const MatchResultPtr &res, const FuncGraphP… in BuildNewParameter() 124 AnfNodePtr BuildImmNode(const PatternPtr &pattern) { in BuildImmNode() 132 AnfNodePtr ProcessSinglePattern(const PatternPtr &pattern, const MatchResultPtr &res, const FuncGra… in ProcessSinglePattern() 161 AnfNodePtr ProcessComplexPatternFirstInput(const PatternPtr &pattern, const MatchResultPtr &res, in ProcessComplexPatternFirstInput() 169 AnfNodePtr BuildTarget(const PatternPtr &pattern, const FuncGraphPtr &func_graph, const FuncGraphPt… in BuildTarget() [all …]
|
D | pattern.cc | 139 AnfNodePtr MatchResult::get_node(const PatternPtr &pattern) { in get_node() 158 …::class_<OneOf, std::shared_ptr<OneOf>, Pattern>(*m, "OneOf_").def(py::init<vector<PatternPtr>>()); in __anonaef73f340102() 162 .def(py::init<PatternPtr, vector<PatternPtr>>()) in __anonaef73f340102() 163 .def(py::init<py::object, vector<PatternPtr>>()); in __anonaef73f340102() 164 …lass_<NoneOf, std::shared_ptr<NoneOf>, Pattern>(*m, "NoneOf_").def(py::init<vector<PatternPtr>>()); in __anonaef73f340102()
|
D | py_pass_manager.h | 55 …void Register(const std::string &pass_name, const PatternPtr &pattern, const PatternPtr &target, b… 58 void GenNewParameter(const PatternPtr ¶meter);
|
D | py_pass_manager.cc | 51 …PassManager::Register(const std::string &pass_name, const PatternPtr &pattern, const PatternPtr &t… in Register() 79 void PyPassManager::GenNewParameter(const PatternPtr ¶meter) { in GenNewParameter()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LoopIdiomRecognize.cpp | 968 Value *PatternPtr = ConstantExpr::getBitCast(GV, Int8PtrTy); in processLoopStridedStore() local 969 NewCall = Builder.CreateCall(MSP, {BasePtr, PatternPtr, NumBytes}); in processLoopStridedStore()
|