| /llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/Transforms/ |
| H A D | SPIRVConversion.h | 139 Value getBuiltinVariableValue(Operation *op, BuiltIn builtin, Type integerType, 148 unsigned offset, Type integerType, 154 int64_t offset, Type integerType, Location loc,
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/Transforms/ |
| H A D | SPIRVConversion.cpp | 623 Type integerType, OpBuilder &builder) { in getOrInsertBuiltinVariable() argument 648 spirv::PointerType::get(integerType, spirv::StorageClass::Input); in getOrInsertBuiltinVariable() 663 Type integerType, in getBuiltinVariableValue() argument 673 builtin, integerType, builder); in getBuiltinVariableValue() 735 unsigned offset, Type integerType, in getPushConstantValue() argument 747 Value zeroOp = spirv::ConstantOp::getZero(integerType, loc, builder); in getPushConstantValue() 749 loc, integerType, builder.getI32IntegerAttr(offset)); in getPushConstantValue() 761 int64_t offset, Type integerType, in linearizeIndex() argument 772 loc, integerType, IntegerAttr::get(integerType, offset)); in linearizeIndex() 775 loc, integerType, in linearizeIndex() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Interfaces/ |
| H A D | InferIntRangeInterface.cpp | 32 if (auto integerType = type.dyn_cast<IntegerType>()) in getStorageBitwidth() local 33 return integerType.getWidth(); in getStorageBitwidth()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/LinalgToSPIRV/ |
| H A D | LinalgToSPIRV.cpp | 28 static Value getLocalInvocationDimSize(Operation *op, int dim, Type integerType, in getLocalInvocationDimSize() argument 32 op, spirv::BuiltIn::LocalInvocationId, integerType, *builder); in getLocalInvocationDimSize()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/SPIRVToLLVM/ |
| H A D | SPIRVToLLVM.cpp | 77 auto integerType = vecType.getElementType().cast<IntegerType>(); in minusOneIntegerAttribute() local 78 return builder.getIntegerAttr(integerType, -1); in minusOneIntegerAttribute() 80 auto integerType = type.cast<IntegerType>(); in minusOneIntegerAttribute() local 81 return builder.getIntegerAttr(integerType, -1); in minusOneIntegerAttribute() 449 IntegerType integerType; in matchAndRewrite() local 451 integerType = vecType.getElementType().cast<IntegerType>(); in matchAndRewrite() 453 integerType = srcType.cast<IntegerType>(); in matchAndRewrite() 455 auto baseSize = rewriter.getIntegerAttr(integerType, getBitWidth(srcType)); in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/docs/ |
| H A D | AttributesAndTypes.md | 910 ComplexTypeStorage(unsigned nonZeroParam, Type integerType) 911 : nonZeroParam(nonZeroParam), integerType(integerType) {} 918 return key == KeyTy(nonZeroParam, integerType); 931 static KeyTy getKey(unsigned nonZeroParam, Type integerType) { 932 return KeyTy(nonZeroParam, integerType); 943 Type integerType;
|
| /llvm-project-15.0.7/mlir/lib/Target/LLVMIR/ |
| H A D | ModuleTranslation.cpp | 95 [loc](IntegerType integerType) -> FailureOr<std::string> { in translateDataLayout() argument 96 if (integerType.getSignedness() == IntegerType::Signless) in translateDataLayout() 100 << integerType; in translateDataLayout()
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | BuiltinAttributes.cpp | 375 if (IntegerType integerType = type.dyn_cast<IntegerType>()) { in verify() local 376 if (integerType.getWidth() != value.getBitWidth()) in verify() 377 return emitError() << "integer type bit width (" << integerType.getWidth() in verify()
|
| H A D | Builders.cpp | 269 if (auto integerType = type.dyn_cast<IntegerType>()) in getZeroAttr() local
|
| /llvm-project-15.0.7/flang/include/flang/Optimizer/Builder/ |
| H A D | FIRBuilder.h | 120 mlir::Value createIntegerConstant(mlir::Location loc, mlir::Type integerType,
|