Home
last modified time | relevance | path

Searched refs:integerType (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/Transforms/
H A DSPIRVConversion.h139 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 DSPIRVConversion.cpp623 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 DInferIntRangeInterface.cpp32 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 DLinalgToSPIRV.cpp28 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 DSPIRVToLLVM.cpp77 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 DAttributesAndTypes.md910 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 DModuleTranslation.cpp95 [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 DBuiltinAttributes.cpp375 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 DBuilders.cpp269 if (auto integerType = type.dyn_cast<IntegerType>()) in getZeroAttr() local
/llvm-project-15.0.7/flang/include/flang/Optimizer/Builder/
H A DFIRBuilder.h120 mlir::Value createIntegerConstant(mlir::Location loc, mlir::Type integerType,