Home
last modified time | relevance | path

Searched refs:OpT (Results 1 – 25 of 483) sorted by relevance

12345678910>>...20

/dports/devel/tinygo/tinygo-0.14.1/llvm-project/mlir/include/mlir/IR/
H A DBlock.h154 template <typename OpT>
171 template <typename OpT>
174 static OpT unwrap(Operation &op) { return cast<OpT>(op); } in unwrap()
177 using reference = OpT;
180 op_iterator(op_filter_iterator<OpT> it) in op_iterator()
181 : llvm::mapped_iterator<op_filter_iterator<OpT>, OpT (*)(Operation &)>( in op_iterator()
190 template <typename OpT> iterator_range<op_iterator<OpT>> getOps() { in getOps()
193 op_filter_iterator<OpT>(endIt, endIt)}; in getOps()
195 template <typename OpT> op_iterator<OpT> op_begin() { in op_begin()
198 template <typename OpT> op_iterator<OpT> op_end() { in op_end()
[all …]
/dports/misc/mnn/MNN-1.2.0/express/
H A DNeuralNetWorkOp.cpp109 std::unique_ptr<OpT> ipOp(new OpT); in _InnerProduct()
127 std::unique_ptr<OpT> convOp(new OpT); in _Conv()
167 std::unique_ptr<OpT> convOp(new OpT); in _Conv()
202 std::unique_ptr<OpT> convOp(new OpT); in _Conv()
340 std::unique_ptr<OpT> pool(new OpT); in _Pool()
425 std::unique_ptr<OpT> relu(new OpT); in _Relu()
546 std::unique_ptr<OpT> op(new OpT); in _Split()
571 std::unique_ptr<OpT> op(new OpT); in _StridedSlice()
613 std::unique_ptr<OpT> op(new OpT); in _ReverseSequence()
961 std::unique_ptr<OpT> op(new OpT); in _Elu()
[all …]
/dports/misc/mnn/MNN-1.2.0/tools/train/source/grad/
H A DMatMulGrad.cpp94 unique_ptr<OpT> newOp(new OpT); in onGrad()
105 unique_ptr<OpT> newOp(new OpT); in onGrad()
118 unique_ptr<OpT> newOp(new OpT); in onGrad()
130 unique_ptr<OpT> newOp(new OpT); in onGrad()
144 unique_ptr<OpT> newOp(new OpT); in onGrad()
156 unique_ptr<OpT> newOp(new OpT); in onGrad()
170 unique_ptr<OpT> newOp(new OpT); in onGrad()
182 unique_ptr<OpT> newOp(new OpT); in onGrad()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/mlir/include/mlir/Transforms/
H A DDialectConversion.h438 addLegalOp<OpT>(); in addLegalOp()
449 addDynamicallyLegalOp<OpT>(); in addDynamicallyLegalOp()
455 template <typename OpT>
463 addDynamicallyLegalOp<OpT>(callback); in addDynamicallyLegalOp()
466 template <typename OpT, class Callable>
469 addDynamicallyLegalOp<OpT>( in addDynamicallyLegalOp()
479 addIllegalOp<OpT>(); in addIllegalOp()
488 template <typename OpT>
495 markOpRecursivelyLegal<OpT>(callback);
498 template <typename OpT, class Callable>
[all …]
/dports/misc/openvdb/openvdb-9.0.0/openvdb_houdini/openvdb_houdini/
H A DGEO_PrimVDB.h819 template <typename OpT> in UT_VDB_DECL_PROCESS_TYPED_GRID()
825 template <typename OpT>
831 template <typename OpT>
837 template <typename OpT>
843 template <typename OpT>
849 template <typename OpT>
863 template <typename OpT>
870 template <typename OpT>
877 template <typename OpT>
884 template <typename OpT>
[all …]
/dports/misc/mnn/MNN-1.2.0/tools/converter/source/optimizer/postconvert/
H A DTransformShuffleChannel.cpp20 std::unique_ptr<OpT> convertTo(new OpT); in onExecute()
32 std::unique_ptr<OpT> reshape(new OpT); in onExecute()
43 std::unique_ptr<OpT> constOp(new OpT); in onExecute()
56 std::unique_ptr<OpT> permute(new OpT); in onExecute()
66 std::unique_ptr<OpT> reshapeR(new OpT); in onExecute()
77 std::unique_ptr<OpT> convertFrom(new OpT); in onExecute()
H A DMergeToConvolution.hpp14 virtual bool merge2Convolution(const MNN::OpT* inplaceOp, MNN::OpT* convolutionOp) const = 0;
16 virtual bool merge2Convolution3D(const MNN::OpT* inplaceOp, MNN::OpT* convolutionOp) const = 0;
20 std::vector<MNN::OpT*> readyToDelete; in onExecute()
22 MNN::OpT& currentOp = *(iter->get()); in onExecute()
32 …std::vector<MNN::OpT*> nextOp = PostTreatUtils::_findOpByInputIndex(currentOp.outputIndexes[0], ne… in onExecute()
/dports/misc/openvdb/openvdb-9.0.0/openvdb/openvdb/tools/
H A DNodeVisitor.h175 template <typename TreeT, typename OpT>
176 size_t visitNodesDepthFirst(TreeT& tree, OpT& op, size_t idx = 0);
201 template <typename OpT>
202 static size_t visit(NodeT& node, OpT& op, size_t idx = 0)
219 template <typename OpT>
220 static size_t visit(NodeT& node, OpT& op, size_t idx = 0)
228 template <typename TreeT, typename OpT>
229 size_t visitNodesDepthFirst(TreeT& tree, OpT& op, size_t idx)
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/mlir/include/mlir/Pass/
H A DAnalysisManager.h156 template <typename AnalysisT, typename OpT>
158 std::is_constructible<AnalysisT, OpT>::value ||
162 return getAnalysisImpl<AnalysisT, OpT>(pi, cast<OpT>(ir), am); in getAnalysis()
192 template <typename AnalysisT, typename OpT>
193 AnalysisT &getAnalysisImpl(PassInstrumentor *pi, OpT op, in getAnalysisImpl()
216 template <typename AnalysisT, typename OpT,
224 template <typename AnalysisT, typename OpT,
227 static auto constructAnalysis(AnalysisManager &, OpT op) { in constructAnalysis()
318 template <typename AnalysisT, typename OpT>
337 template <typename AnalysisT, typename OpT>
[all …]
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/mlir/include/mlir/Pass/
H A DAnalysisManager.h156 template <typename AnalysisT, typename OpT>
158 std::is_constructible<AnalysisT, OpT>::value ||
162 return getAnalysisImpl<AnalysisT, OpT>(pi, cast<OpT>(ir), am); in getAnalysis()
192 template <typename AnalysisT, typename OpT>
193 AnalysisT &getAnalysisImpl(PassInstrumentor *pi, OpT op, in getAnalysisImpl()
216 template <typename AnalysisT, typename OpT,
224 template <typename AnalysisT, typename OpT,
227 static auto constructAnalysis(AnalysisManager &, OpT op) { in constructAnalysis()
318 template <typename AnalysisT, typename OpT>
337 template <typename AnalysisT, typename OpT>
[all …]
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/mlir/include/mlir/Pass/
H A DAnalysisManager.h156 template <typename AnalysisT, typename OpT>
158 std::is_constructible<AnalysisT, OpT>::value ||
162 return getAnalysisImpl<AnalysisT, OpT>(pi, cast<OpT>(ir), am); in getAnalysis()
192 template <typename AnalysisT, typename OpT>
193 AnalysisT &getAnalysisImpl(PassInstrumentor *pi, OpT op, in getAnalysisImpl()
216 template <typename AnalysisT, typename OpT,
224 template <typename AnalysisT, typename OpT,
227 static auto constructAnalysis(AnalysisManager &, OpT op) { in constructAnalysis()
318 template <typename AnalysisT, typename OpT>
337 template <typename AnalysisT, typename OpT>
[all …]
/dports/devel/llvm13/llvm-project-13.0.1.src/mlir/include/mlir/Pass/
H A DAnalysisManager.h156 template <typename AnalysisT, typename OpT>
158 std::is_constructible<AnalysisT, OpT>::value ||
162 return getAnalysisImpl<AnalysisT, OpT>(pi, cast<OpT>(ir), am); in getAnalysis()
192 template <typename AnalysisT, typename OpT>
193 AnalysisT &getAnalysisImpl(PassInstrumentor *pi, OpT op, in getAnalysisImpl()
216 template <typename AnalysisT, typename OpT,
224 template <typename AnalysisT, typename OpT,
227 static auto constructAnalysis(AnalysisManager &, OpT op) { in constructAnalysis()
318 template <typename AnalysisT, typename OpT>
337 template <typename AnalysisT, typename OpT>
[all …]
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/mlir/include/mlir/Transforms/
H A DDialectConversion.h546 addLegalOp<OpT>(); in addLegalOp()
557 addDynamicallyLegalOp<OpT>(); in addDynamicallyLegalOp()
563 template <typename OpT>
571 addDynamicallyLegalOp<OpT>(callback); in addDynamicallyLegalOp()
574 template <typename OpT, class Callable>
578 addDynamicallyLegalOp<OpT>( in addDynamicallyLegalOp()
588 addIllegalOp<OpT>(); in addIllegalOp()
597 template <typename OpT>
604 markOpRecursivelyLegal<OpT>(callback);
607 template <typename OpT, class Callable>
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/mlir/include/mlir/Transforms/
H A DDialectConversion.h583 addLegalOp<OpT>(); in addLegalOp()
594 addDynamicallyLegalOp<OpT>(); in addDynamicallyLegalOp()
600 template <typename OpT>
608 addDynamicallyLegalOp<OpT>(callback); in addDynamicallyLegalOp()
611 template <typename OpT, class Callable>
615 addDynamicallyLegalOp<OpT>( in addDynamicallyLegalOp()
625 addIllegalOp<OpT>(); in addIllegalOp()
634 template <typename OpT>
641 markOpRecursivelyLegal<OpT>(callback);
644 template <typename OpT, class Callable>
[all …]
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/mlir/include/mlir/IR/
H A DBlockSupport.h84 template <typename OpT, typename IteratorT>
87 static bool filter(Operation &op) { return llvm::isa<OpT>(op); } in filter()
100 template <typename OpT, typename IteratorT>
102 : public llvm::mapped_iterator<op_filter_iterator<OpT, IteratorT>,
103 OpT (*)(Operation &)> {
104 static OpT unwrap(Operation &op) { return cast<OpT>(op); } in unwrap()
107 using reference = OpT;
110 op_iterator(op_filter_iterator<OpT, IteratorT> it) in op_iterator() argument
111 : llvm::mapped_iterator<op_filter_iterator<OpT, IteratorT>, in op_iterator()
112 OpT (*)(Operation &)>(it, &unwrap) {} in op_iterator()
H A DBlock.h161 template <typename OpT>
162 using op_iterator = detail::op_iterator<OpT, iterator>;
166 template <typename OpT> iterator_range<op_iterator<OpT>> getOps() { in getOps()
168 return {detail::op_filter_iterator<OpT, iterator>(begin(), endIt), in getOps()
169 detail::op_filter_iterator<OpT, iterator>(endIt, endIt)}; in getOps()
171 template <typename OpT> op_iterator<OpT> op_begin() { in op_begin()
172 return detail::op_filter_iterator<OpT, iterator>(begin(), end()); in op_begin()
174 template <typename OpT> op_iterator<OpT> op_end() { in op_end()
175 return detail::op_filter_iterator<OpT, iterator>(end(), end()); in op_end()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/mlir/include/mlir/Transforms/
H A DDialectConversion.h611 addLegalOp<OpT>(); in addLegalOp()
622 addDynamicallyLegalOp<OpT>(); in addDynamicallyLegalOp()
628 template <typename OpT>
636 addDynamicallyLegalOp<OpT>(callback); in addDynamicallyLegalOp()
639 template <typename OpT, class Callable>
643 addDynamicallyLegalOp<OpT>( in addDynamicallyLegalOp()
653 addIllegalOp<OpT>(); in addIllegalOp()
662 template <typename OpT>
669 markOpRecursivelyLegal<OpT>(callback);
672 template <typename OpT, class Callable>
[all …]
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/mlir/include/mlir/Transforms/
H A DDialectConversion.h633 template <typename OpT>
639 template <typename OpT>
645 addLegalOp<OpT>(); in addLegalOp()
651 template <typename OpT>
657 addDynamicallyLegalOp<OpT>(); in addDynamicallyLegalOp()
663 template <typename OpT>
678 addDynamicallyLegalOp<OpT>( in addDynamicallyLegalOp()
684 template <typename OpT>
690 addIllegalOp<OpT>(); in addIllegalOp()
699 template <typename OpT>
[all …]
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/mlir/include/mlir/Transforms/
H A DDialectConversion.h633 template <typename OpT>
639 template <typename OpT>
645 addLegalOp<OpT>(); in addLegalOp()
651 template <typename OpT>
657 addDynamicallyLegalOp<OpT>(); in addDynamicallyLegalOp()
663 template <typename OpT>
678 addDynamicallyLegalOp<OpT>( in addDynamicallyLegalOp()
684 template <typename OpT>
690 addIllegalOp<OpT>(); in addIllegalOp()
699 template <typename OpT>
[all …]
/dports/devel/llvm12/llvm-project-12.0.1.src/mlir/include/mlir/Transforms/
H A DDialectConversion.h611 addLegalOp<OpT>(); in addLegalOp()
622 addDynamicallyLegalOp<OpT>(); in addDynamicallyLegalOp()
628 template <typename OpT>
636 addDynamicallyLegalOp<OpT>(callback); in addDynamicallyLegalOp()
639 template <typename OpT, class Callable>
643 addDynamicallyLegalOp<OpT>( in addDynamicallyLegalOp()
653 addIllegalOp<OpT>(); in addIllegalOp()
662 template <typename OpT>
669 markOpRecursivelyLegal<OpT>(callback);
672 template <typename OpT, class Callable>
[all …]
/dports/devel/llvm13/llvm-project-13.0.1.src/mlir/include/mlir/Transforms/
H A DDialectConversion.h633 template <typename OpT>
639 template <typename OpT>
645 addLegalOp<OpT>();
651 template <typename OpT>
657 addDynamicallyLegalOp<OpT>();
663 template <typename OpT>
678 addDynamicallyLegalOp<OpT>(
684 template <typename OpT>
690 addIllegalOp<OpT>();
699 template <typename OpT>
[all …]
/dports/misc/openvdb/openvdb-9.0.0/openvdb_ax/openvdb_ax/ast/
H A DScanners.h99 template <typename NodeT, typename OpT>
100 inline void visitNodeType(const ast::Node& node, const OpT& op);
165 template <typename NodeT, typename OpT, typename Derived = void>
169 VisitNodeType<NodeT, OpT>,
174 VisitNodeType<NodeT, OpT>,
184 VisitNodeType(const OpT& op) : mOp(op) {}
191 const OpT& mOp;
194 template <typename NodeT, typename OpT>
195 inline void visitNodeType(const ast::Node& node, const OpT& op)
197 VisitNodeType<NodeT, OpT> visitOp(op);
/dports/devel/llvm12/llvm-project-12.0.1.src/mlir/include/mlir/IR/
H A DBlock.h172 template <typename OpT>
173 using op_iterator = detail::op_iterator<OpT, iterator>;
177 template <typename OpT> iterator_range<op_iterator<OpT>> getOps() { in getOps()
179 return {detail::op_filter_iterator<OpT, iterator>(begin(), endIt), in getOps()
180 detail::op_filter_iterator<OpT, iterator>(endIt, endIt)}; in getOps()
182 template <typename OpT> op_iterator<OpT> op_begin() { in op_begin()
183 return detail::op_filter_iterator<OpT, iterator>(begin(), end()); in op_begin()
185 template <typename OpT> op_iterator<OpT> op_end() { in op_end()
186 return detail::op_filter_iterator<OpT, iterator>(end(), end()); in op_end()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/mlir/include/mlir/IR/
H A DBlock.h172 template <typename OpT>
173 using op_iterator = detail::op_iterator<OpT, iterator>;
177 template <typename OpT> iterator_range<op_iterator<OpT>> getOps() { in getOps()
179 return {detail::op_filter_iterator<OpT, iterator>(begin(), endIt), in getOps()
180 detail::op_filter_iterator<OpT, iterator>(endIt, endIt)}; in getOps()
182 template <typename OpT> op_iterator<OpT> op_begin() { in op_begin()
183 return detail::op_filter_iterator<OpT, iterator>(begin(), end()); in op_begin()
185 template <typename OpT> op_iterator<OpT> op_end() { in op_end()
186 return detail::op_filter_iterator<OpT, iterator>(end(), end()); in op_end()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/mlir/include/mlir/IR/
H A DBlock.h172 template <typename OpT>
173 using op_iterator = detail::op_iterator<OpT, iterator>;
177 template <typename OpT> iterator_range<op_iterator<OpT>> getOps() { in getOps()
179 return {detail::op_filter_iterator<OpT, iterator>(begin(), endIt), in getOps()
180 detail::op_filter_iterator<OpT, iterator>(endIt, endIt)}; in getOps()
182 template <typename OpT> op_iterator<OpT> op_begin() { in op_begin()
183 return detail::op_filter_iterator<OpT, iterator>(begin(), end()); in op_begin()
185 template <typename OpT> op_iterator<OpT> op_end() { in op_end()
186 return detail::op_filter_iterator<OpT, iterator>(end(), end()); in op_end()

12345678910>>...20