Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/include/mlir/Pass/
H A DAnalysisManager.h160 template <typename AnalysisT, typename OpT>
162 std::is_constructible<AnalysisT, OpT>::value ||
166 return getAnalysisImpl<AnalysisT, OpT>(pi, cast<OpT>(ir), am); in getAnalysis()
196 template <typename AnalysisT, typename OpT>
197 AnalysisT &getAnalysisImpl(PassInstrumentor *pi, OpT op, in getAnalysisImpl()
220 template <typename AnalysisT, typename OpT,
228 template <typename AnalysisT, typename OpT,
231 static auto constructAnalysis(AnalysisManager &, OpT op) { in constructAnalysis()
323 template <typename AnalysisT, typename OpT>
343 template <typename AnalysisT, typename OpT>
[all …]
H A DPass.h222 template <typename AnalysisT, typename OpT>
224 return getAnalysisManager().getAnalysis<AnalysisT, OpT>(); in getAnalysis()
349 template <typename OpT = void>
352 OperationPass(TypeID passID) : Pass(passID, OpT::getOperationName()) {} in OperationPass()
357 return pass->getOpName() == OpT::getOperationName(); in classof()
366 OpT getOperation() { return cast<OpT>(Pass::getOperation()); } in getOperation()
372 return Pass::getAnalysis<AnalysisT, OpT>(); in getAnalysis()
H A DPassManager.h101 template <typename OpT>
103 return nest(OpT::getOperationName()); in nest()
119 template <typename OpT>
121 nest<OpT>().addPass(std::move(pass)); in addNestedPass()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DBlock.h178 template <typename OpT>
179 using op_iterator = detail::op_iterator<OpT, iterator>;
183 template <typename OpT>
184 iterator_range<op_iterator<OpT>> getOps() { in getOps()
187 detail::op_filter_iterator<OpT, iterator>(endIt, endIt)}; in getOps()
189 template <typename OpT>
190 op_iterator<OpT> op_begin() { in op_begin()
191 return detail::op_filter_iterator<OpT, iterator>(begin(), end()); in op_begin()
193 template <typename OpT>
194 op_iterator<OpT> op_end() { in op_end()
[all …]
H A DRegion.h165 template <typename OpT>
166 using op_iterator = detail::op_iterator<OpT, OpIterator>;
176 template <typename OpT>
177 op_iterator<OpT> op_begin() { in op_begin()
180 template <typename OpT>
181 op_iterator<OpT> op_end() { in op_end()
182 return detail::op_filter_iterator<OpT, OpIterator>(op_end(), op_end()); in op_end()
184 template <typename OpT>
185 iterator_range<op_iterator<OpT>> getOps() { in getOps()
187 return {detail::op_filter_iterator<OpT, OpIterator>(op_begin(), endIt), in getOps()
[all …]
H A DBlockSupport.h141 template <typename OpT, typename IteratorT>
144 static bool filter(Operation &op) { return llvm::isa<OpT>(op); } in filter()
157 template <typename OpT, typename IteratorT>
159 : public llvm::mapped_iterator<op_filter_iterator<OpT, IteratorT>,
160 OpT (*)(Operation &)> {
161 static OpT unwrap(Operation &op) { return cast<OpT>(op); } in unwrap()
165 op_iterator(op_filter_iterator<OpT, IteratorT> it) in op_iterator() argument
166 : llvm::mapped_iterator<op_filter_iterator<OpT, IteratorT>, in op_iterator()
167 OpT (*)(Operation &)>(it, &unwrap) {} in op_iterator()
H A DOpDefinition.h492 template <typename OpT>
849 template <typename OpT, typename T = void>
853 template <typename OpT = ConcreteType>
857 template <typename OpT = ConcreteType>
861 template <typename OpT = ConcreteType>
867 template <typename OpT = ConcreteType>
873 template <typename OpT = ConcreteType>
877 template <typename OpT = ConcreteType>
957 template <typename OpT = ConcreteType>
965 template <typename OpT = ConcreteType>
[all …]
H A DBuilders.h426 template <typename OpT>
429 RegisteredOperationName::lookup(OpT::getOperationName(), ctx); in getCheckRegisteredInfo()
432 "Building op `" + OpT::getOperationName() + in getCheckRegisteredInfo()
520 template <typename OpT>
521 OpT cloneWithoutRegions(OpT op) { in cloneWithoutRegions()
522 return cast<OpT>(cloneWithoutRegions(*op.getOperation())); in cloneWithoutRegions()
/llvm-project-15.0.7/mlir/include/mlir/Transforms/
H A DDialectConversion.h686 template <typename OpT>
695 template <typename OpT>
701 addLegalOp<OpT>(); in addLegalOp()
712 template <typename OpT>
719 addDynamicallyLegalOp<OpT>(callback); in addDynamicallyLegalOp()
722 template <typename OpT, class Callable>
726 addDynamicallyLegalOp<OpT>( in addDynamicallyLegalOp()
735 template <typename OpT>
741 addIllegalOp<OpT>(); in addIllegalOp()
752 template <typename OpT>
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/Transforms/
H A DDecorateCompositeTypeLayoutPass.cpp76 template <typename OpT>
77 class SPIRVPassThroughConversion : public OpConversionPattern<OpT> {
79 using OpConversionPattern<OpT>::OpConversionPattern;
82 matchAndRewrite(OpT op, typename OpT::Adaptor adaptor, in matchAndRewrite()
/llvm-project-15.0.7/flang/lib/Optimizer/Transforms/
H A DMemRefDataFlowOpt.cpp28 template <typename OpT>
29 static std::vector<OpT> getSpecificUsers(mlir::Value v) { in getSpecificUsers()
30 std::vector<OpT> ops; in getSpecificUsers()
32 if (auto op = dyn_cast<OpT>(user)) in getSpecificUsers()
/llvm-project-15.0.7/mlir/include/mlir/Analysis/
H A DDataFlowFramework.h162 template <typename OpT, typename = typename std::enable_if_t<
163 std::is_convertible<OpT, Operation *>::value &&
164 !std::is_same<OpT, Operation *>::value>>
165 ProgramPoint(OpT op) : ParentTy(op) {} in ProgramPoint()
/llvm-project-15.0.7/mlir/include/mlir/Conversion/PDLToPDLInterp/
H A DPDLToPDLInterp.h20 template <typename OpT>
/llvm-project-15.0.7/mlir/include/mlir/Tools/PDLL/CodeGen/
H A DMLIRGen.h23 template <typename OpT>
/llvm-project-15.0.7/mlir/include/mlir/Conversion/GPUToNVVM/
H A DGPUToNVVMPass.h20 template <typename OpT>
/llvm-project-15.0.7/mlir/include/mlir/Conversion/GPUToROCDL/
H A DGPUToROCDLPass.h20 template <typename OpT>
/llvm-project-15.0.7/mlir/lib/Dialect/PDLInterp/IR/
H A DPDLInterp.cpp31 template <typename OpT>
32 static LogicalResult verifySwitchOp(OpT op) { in verifySwitchOp()
/llvm-project-15.0.7/mlir/lib/Conversion/PDLToPDLInterp/
H A DPDLToPDLInterp.cpp444 template <typename OpT, typename PredT, typename ValT = typename PredT::KeyTy>
455 builder.create<OpT>(val.getLoc(), val, values, defaultDest, blocks); in createSwitchOp()
/llvm-project-15.0.7/flang/lib/Optimizer/Dialect/
H A DFIROps.cpp2371 template <typename OpT>
2372 static mlir::LogicalResult verifyIntegralSwitchTerminator(OpT op) { in verifyIntegralSwitchTerminator()
2439 template <typename OpT>
2440 static void printIntegralSwitchTerminator(OpT op, mlir::OpAsmPrinter &p) { in printIntegralSwitchTerminator()
/llvm-project-15.0.7/mlir/docs/
H A DPassManagement.md369 another existing `OpPassManager` via the `nest<OpT>` or `nestAny` methods. The