| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGBlocks.h | 175 bool isIndex() const { return (Data & 1) != 0; } in isIndex() function 176 bool isConstant() const { return !isIndex(); } in isConstant() 179 assert(isIndex()); in getIndex() 183 assert(isIndex()); in getOffset() 187 assert(isIndex()); in getCleanup() 191 assert(isIndex()); in setCleanup()
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | Types.cpp | 28 bool Type::isIndex() const { return isa<IndexType>(); } in isIndex() function in Type 85 bool Type::isIntOrIndex() const { return isa<IntegerType>() || isIndex(); } in isIntOrIndex() 89 bool Type::isIntOrIndexOrFloat() const { return isIntOrFloat() || isIndex(); } in isIntOrIndexOrFloat()
|
| H A D | AttributeDetail.h | 38 if (eltType.isIndex()) in getDenseElementBitWidth()
|
| H A D | Builders.cpp | 171 if (type.isIndex()) in getIntegerAttr()
|
| H A D | BuiltinAttributes.cpp | 350 assert((getType().isIndex() || getType().isSignlessInteger()) && in getInt() 1152 if (type.isIndex()) in isValidIntOrFloat()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/Utils/ |
| H A D | Utils.cpp | 67 bool targetIsIndex = targetType.isIndex(); in getValueOrCreateCastToIndexLike() 68 bool valueIsIndex = value.getType().isIndex(); in getValueOrCreateCastToIndexLike()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/SPIRVCommon/ |
| H A D | Pattern.h | 33 !op.getType().isIndex() && dstType != op.getType()) { in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/test/lib/Dialect/Affine/ |
| H A D | TestAffineLoopParametricTiling.cpp | 61 assert(blockArgument.getType().isIndex() && in getTilingParameters()
|
| /llvm-project-15.0.7/mlir/lib/Interfaces/ |
| H A D | InferIntRangeInterface.cpp | 30 if (type.isIndex()) in getStorageBitwidth()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/ |
| H A D | HoistPadding.cpp | 265 if (operand.getType().isIndex()) in dropNonIndexDependencies() 318 [](Type type) { return !type.isIndex(); })) { in dropNonIndexDependencies()
|
| H A D | DecomposeLinalgOps.cpp | 134 if (elementType.isIndex()) in getZero()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SparseTensor/Transforms/ |
| H A D | CodegenUtils.cpp | 38 if (tp.isIndex()) in overheadTypeEncoding()
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/Quant/ |
| H A D | QuantTypes.h | 184 using Type::isIndex;
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | Types.h | 123 bool isIndex() const;
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Affine/IR/ |
| H A D | AffineOps.cpp | 262 if (!value.getType().isIndex()) in isValidDim() 282 if (!value.getType().isIndex()) in isValidDim() 362 if (!value.getType().isIndex()) in isValidSymbol() 388 if (!value.getType().isIndex()) in isValidSymbol() 1320 if (!idx.getType().isIndex()) in verifyInvariantsImpl() 1326 if (!idx.getType().isIndex()) in verifyInvariantsImpl() 1332 if (!idx.getType().isIndex()) in verifyInvariantsImpl() 1410 if (!idx.getType().isIndex()) in verifyInvariantsImpl() 1494 if (body->getNumArguments() == 0 || !body->getArgument(0).getType().isIndex()) in verifyRegions() 2622 if (!idx.getType().isIndex()) in verifyMemoryOpIndexing()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SparseTensor/IR/ |
| H A D | SparseTensorDialect.cpp | 206 if ((width == 0 && etp.isIndex()) || (width > 0 && etp.isInteger(width))) in isMatchingWidth()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/MemRef/IR/ |
| H A D | MemRefOps.cpp | 1091 [](Type t) { return t.isIndex(); })) in verify() 1103 [](Type t) { return t.isIndex(); })) in verify() 1107 if (!getNumElements().getType().isIndex()) in verify() 1119 [](Type t) { return t.isIndex(); })) in verify() 1130 if (!getStride().getType().isIndex() || in verify() 1131 !getNumElementsPerStride().getType().isIndex()) in verify()
|
| /llvm-project-15.0.7/mlir/lib/AsmParser/ |
| H A D | AttributeParser.cpp | 355 unsigned width = type.isIndex() ? IndexType::kInternalStorageBitWidth in buildAttributeAPInt() 380 } else if ((type.isSignedInteger() || type.isIndex()) && in buildAttributeAPInt()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SCF/Utils/ |
| H A D | Utils.cpp | 294 assert(dividend.getType().isIndex() && "expected index-typed value"); in ceilDivPositive() 309 assert(dividend.getType().isIndex() && "expected index-typed value"); in ceilDivPositive()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/IR/ |
| H A D | ArithmeticOps.cpp | 185 return constOp.getType().isIndex(); in classof() 1166 return (srcType.isIndex() && dstType.isSignlessInteger()) || in areCastCompatible() 1167 (srcType.isSignlessInteger() && dstType.isIndex()); in areCastCompatible()
|
| /llvm-project-15.0.7/mlir/lib/Target/Cpp/ |
| H A D | TranslateToCpp.cpp | 338 if (t.getType().isIndex()) { in printOperation()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Linalg/TransformOps/ |
| H A D | LinalgTransformOps.cpp | 701 !op->getResult(0).getType().isIndex()) { in apply()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Tensor/IR/ |
| H A D | TensorOps.cpp | 587 [](Type ty) { return ty.isIndex(); })) in verifyRegions() 1851 if (!en.value().isIndex()) in verifyRegions()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Utils/ |
| H A D | Utils.cpp | 221 assert(value.getType().isIndex() && "expect value to have index type"); in getUpperBoundForIndex()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SCF/IR/ |
| H A D | SCF.cpp | 322 if (!body->getArgument(0).getType().isIndex()) in verifyRegions() 2175 if (!arg.getType().isIndex()) in verify()
|