Home
last modified time | relevance | path

Searched refs:IteratorType (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/mlir/include/mlir/Dialect/Utils/
H A DStructuredOpsUtils.h126 enum class IteratorType { Parallel, Reduction }; enum
128 inline StringRef toString(IteratorType t) { in toString()
130 case IteratorType::Parallel: in toString()
132 case IteratorType::Reduction: in toString()
146 struct IteratorType { struct
147 IteratorType(StringRef strRef) : strRef(strRef) {} in IteratorType() argument
154 struct Par : public IteratorType { argument
157 struct Red : public IteratorType {
160 struct Win : public IteratorType {
161 Win() : IteratorType(getWindowIteratorTypeName()) {} in Win()
[all …]
/llvm-project-15.0.7/mlir/lib/Reducer/
H A DReductionTreePass.cpp78 template <typename IteratorType>
102 IteratorType iter(root); in findOptimal()
104 while (iter != IteratorType::end()) { in findOptimal()
143 template <typename IteratorType>
152 if (failed(findOptimal<IteratorType>(module, region, /*patterns=*/{}, test, in findOptimal()
157 return findOptimal<IteratorType>(module, region, patterns, test, in findOptimal()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/Inputs/loop-convert/
H A Dstructures.h165 template<typename IteratorType>
167 typedef IteratorType* iterator;
168 typedef const IteratorType* const_iterator;
169 IteratorType *operator->();
170 IteratorType operator*();
/llvm-project-15.0.7/mlir/lib/Conversion/VectorToGPU/
H A DNvGpuSupport.cpp221 transpose ? IteratorType::Parallel : IteratorType::Reduction; in getLdMatrixParams()
223 if (params.contiguousDimType == IteratorType::Reduction) { in getLdMatrixParams()
253 if (params.contiguousDimType == IteratorType::Reduction) { in getLaneIdToLdMatrixMatrixCoord()
261 if (params.contiguousDimType == IteratorType::Parallel) { in getLaneIdToLdMatrixMatrixCoord()
H A DNvGpuSupport.h74 IteratorType contiguousDimType;
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DOpImplementation.h355 template <typename IteratorType>
356 void printOperands(IteratorType it, IteratorType end) { in printOperands()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/
H A DVectorTransforms.cpp1443 struct IteratorType { struct
1444 IteratorType(StringRef strRef) : strRef(strRef) {} in IteratorType() function
1451 struct Par : public IteratorType {
1452 Par() : IteratorType(getParallelIteratorTypeName()) {} in Par()
1454 struct Red : public IteratorType {
1455 Red() : IteratorType(getReductionIteratorTypeName()) {} in Red()
/llvm-project-15.0.7/clang/utils/TableGen/
H A DClangAttrEmitter.cpp682 std::string IteratorType = getLowerName().str() + "_iterator"; in writeAccessors() local
686 OS << " typedef " << Type << "* " << IteratorType << ";\n"; in writeAccessors()
687 OS << " " << IteratorType << " " << BeginFn << " const {" in writeAccessors()
689 OS << " " << IteratorType << " " << EndFn << " const {" in writeAccessors()
693 OS << " llvm::iterator_range<" << IteratorType << "> " << RangeName in writeAccessors()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseOpenMP.cpp4041 ParsedType IteratorType; in ParseOpenMPIteratorsExpr() local
4049 IteratorType = TR.get(); in ParseOpenMPIteratorsExpr()
4115 D.Type = IteratorType; in ParseOpenMPIteratorsExpr()