Home
last modified time | relevance | path

Searched refs:getIntegerType (Results 1 – 25 of 96) sorted by relevance

1234

/llvm-project-15.0.7/flang/lib/Optimizer/Builder/
H A DLowLevelIntrinsics.cpp25 auto ptrTy = builder.getRefType(builder.getIntegerType(8)); in getLlvmMemcpy()
35 auto ptrTy = builder.getRefType(builder.getIntegerType(8)); in getLlvmMemmove()
45 auto ptrTy = builder.getRefType(builder.getIntegerType(8)); in getLlvmMemset()
55 auto ptrTy = builder.getRefType(builder.getIntegerType(8)); in getRealloc()
63 auto ptrTy = builder.getRefType(builder.getIntegerType(8)); in getLlvmStackSave()
72 auto ptrTy = builder.getRefType(builder.getIntegerType(8)); in getLlvmStackRestore()
81 auto ptrTy = builder.getRefType(builder.getIntegerType(8)); in getLlvmInitTrampoline()
90 auto ptrTy = builder.getRefType(builder.getIntegerType(8)); in getLlvmAdjustTrampoline()
H A DCharacter.cpp575 auto intType = builder.getIntegerType(bits); in createBlankConstantCode()
646 auto intType = builder.getIntegerType(bits); in createSingletonFromCode()
659 auto intType = builder.getIntegerType(bits); in extractCodeFromSingleton()
/llvm-project-15.0.7/mlir/lib/IR/
H A DBuilders.cpp58 IntegerType Builder::getIntegerType(unsigned width) { in getIntegerType() function in Builder
62 IntegerType Builder::getIntegerType(unsigned width, bool isSigned) { in getIntegerType() function in Builder
100 return IntegerAttr::get(getIntegerType(64), APInt(64, value)); in getI64IntegerAttr()
111 VectorType::get(static_cast<int64_t>(values.size()), getIntegerType(32)), in getI32VectorAttr()
130 getIntegerType(32)), in getI32TensorAttr()
137 getIntegerType(64)), in getI64TensorAttr()
149 return IntegerAttr::get(getIntegerType(32), APInt(32, value)); in getI32IntegerAttr()
153 return IntegerAttr::get(getIntegerType(32, /*isSigned=*/true), in getSI32IntegerAttr()
158 return IntegerAttr::get(getIntegerType(32, /*isSigned=*/false), in getUI32IntegerAttr()
163 return IntegerAttr::get(getIntegerType(16), APInt(16, value)); in getI16IntegerAttr()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/SparseTensor/Transforms/
H A DCodegenUtils.cpp50 return builder.getIntegerType(64); in getOverheadType()
52 return builder.getIntegerType(32); in getOverheadType()
54 return builder.getIntegerType(16); in getOverheadType()
56 return builder.getIntegerType(8); in getOverheadType()
/llvm-project-15.0.7/flang/lib/Optimizer/Builder/Runtime/
H A DRagged.cpp21 auto i32Ty = builder.getIntegerType(32); in genRaggedArrayAllocate()
23 auto i64Ty = builder.getIntegerType(64); in genRaggedArrayAllocate()
27 auto i1Ty = builder.getIntegerType(1); in genRaggedArrayAllocate()
/llvm-project-15.0.7/flang/lib/Optimizer/Transforms/
H A DCharacterConversion.cpp67 rewriter.getIntegerType(bits))); in matchAndRewrite()
70 auto toTy = rewriter.getIntegerType(toBits); in matchAndRewrite()
76 return fir::ReferenceType::get(rewriter.getIntegerType(bits)); in matchAndRewrite()
/llvm-project-15.0.7/mlir/unittests/IR/
H A DOperationSupportTest.cpp36 createOp(&context, /*operands=*/llvm::None, builder.getIntegerType(16)); in TEST()
60 createOp(&context, /*operands=*/llvm::None, builder.getIntegerType(16)); in TEST()
88 createOp(&context, /*operands=*/llvm::None, builder.getIntegerType(16)); in TEST()
124 createOp(&context, /*operands=*/llvm::None, builder.getIntegerType(16)); in TEST()
/llvm-project-15.0.7/flang/unittests/Optimizer/Builder/Runtime/
H A DRuntimeCallTestBase.h40 i16Ty = firBuilder->getIntegerType(16); in SetUp()
43 i128Ty = firBuilder->getIntegerType(128); in SetUp()
/llvm-project-15.0.7/mlir/examples/toy/Ch7/mlir/
H A DLowerToLLVM.cpp96 rewriter.getIntegerType(32), newLineCst); in matchAndRewrite()
106 loc, printfRef, rewriter.getIntegerType(32), in matchAndRewrite()
/llvm-project-15.0.7/mlir/examples/toy/Ch6/mlir/
H A DLowerToLLVM.cpp96 rewriter.getIntegerType(32), newLineCst); in matchAndRewrite()
106 loc, printfRef, rewriter.getIntegerType(32), in matchAndRewrite()
/llvm-project-15.0.7/mlir/test/lib/Dialect/Test/
H A DTestPatterns.cpp61 return rewriter.getIntegerAttr(rewriter.getIntegerType(32), i); in opMTest()
96 rewriter, op->getLoc(), rewriter.getIntegerType(32), op->getOperand(0), in matchAndRewrite()
426 entryBlock->addArgument(rewriter.getIntegerType(64), in matchAndRewrite()
430 rewriter.create<ILLegalOpF>(op->getLoc(), rewriter.getIntegerType(32)); in matchAndRewrite()
447 Type i32Type = rewriter.getIntegerType(32); in matchAndRewrite()
465 Type i32Type = rewriter.getIntegerType(32); in matchAndRewrite()
1126 resultType = rewriter.getIntegerType(64); in matchAndRewrite()
/llvm-project-15.0.7/flang/lib/Optimizer/CodeGen/
H A DTargetRewrite.cpp174 auto iTy = rewriter->getIntegerType(32); in rewriteCallComplexInputType()
661 auto iTy = rewriter->getIntegerType(32); in convertSignature()
754 rewriter->getIntegerType(32), align)); in doComplexReturn()
770 rewriter->getIntegerType(32), align)); in doComplexReturn()
805 rewriter->getIntegerType(32), align)); in doComplexArg()
819 rewriter->getIntegerType(32), align)); in doComplexArg()
/llvm-project-15.0.7/mlir/lib/Conversion/MemRefToSPIRV/
H A DMemRefToSPIRV.cpp42 IntegerType targetType = builder.getIntegerType(targetBits); in getOffsetForBitwidth()
67 IntegerType targetType = builder.getIntegerType(targetBits); in adjustAccessChainForBitwidth()
83 Type targetType = builder.getIntegerType(targetBits); in shiftValue()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DPromotion.cpp58 MemRefType::get(width * cst.value(), b.getIntegerType(8)); in allocBuffer()
68 auto dynamicBufferType = MemRefType::get(-1, b.getIntegerType(8)); in allocBuffer()
H A DSplitReduction.cpp382 b.getIntegerType(1))); in splitReductionByScaling()
397 b.getIntegerType(1), loc); in splitReductionByScaling()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DBuilders.h75 IntegerType getIntegerType(unsigned width);
76 IntegerType getIntegerType(unsigned width, bool isSigned);
/llvm-project-15.0.7/mlir/test/lib/Dialect/Tosa/
H A DTosaTestPasses.cpp146 RankedTensorType::get(outputType.getShape(), rewriter.getIntegerType(32)); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/SCF/Transforms/
H A DParallelLoopTiling.cpp141 b.create<arith::ConstantIntOp>(op.getLoc(), 1, b.getIntegerType(1)); in tileParallelLoop()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DTargetInfo.cpp775 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType()
1020 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType()
1933 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType()
4299 Ty = EnumTy->getDecl()->getIntegerType(); in classify()
4591 Ty = EnumTy->getDecl()->getIntegerType(); in isPromotableTypeForABI()
5094 Ty = EnumTy->getDecl()->getIntegerType(); in isPromotableTypeForABI()
7248 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType()
7473 Ty = EnumTy->getDecl()->getIntegerType(); in isPromotableIntegerTypeForABI()
8075 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType()
9031 Ty = EnumTy->getDecl()->getIntegerType(); in classifyArgumentType()
[all …]
/llvm-project-15.0.7/flang/include/flang/Optimizer/Builder/
H A DFIRBuilder.h64 return getIntegerType( in getDefaultIntegerType()
315 return createIntegerConstant(loc, getIntegerType(1), b ? 1 : 0); in createBool()
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/
H A DSPIRVOps.cpp268 Type i32Type = parser.getBuilder().getIntegerType(32); in parseMemoryAccessAttributes()
299 Type i32Type = parser.getBuilder().getIntegerType(32); in parseSourceMemoryAccessAttributes()
612 Type i32Type = parser.getBuilder().getIntegerType(32); in parseVariableDecorations()
874 Type i32Type = parser.getBuilder().getIntegerType(32); in parseGroupNonUniformArithmeticOp()
931 Type resultType = builder.getIntegerType(1); in getUnaryOpResultType()
1552 auto i32Type = builder.getIntegerType(32); in parse()
2141 Type i32Type = parser.getBuilder().getIntegerType(32); in parse()
3721 Type strideType = parser.getBuilder().getIntegerType(32); in parse()
3722 Type columnMajorType = parser.getBuilder().getIntegerType(1); in parse()
3779 Type strideType = parser.getBuilder().getIntegerType(32); in parse()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/Tosa/Utils/
H A DQuantUtils.cpp259 accElementType = builder.getIntegerType(48); in buildConvOpResultTypeInfo()
/llvm-project-15.0.7/flang/lib/Lower/
H A DConvertVariable.cpp654 mlir::IntegerType byteTy = converter.getFirOpBuilder().getIntegerType(8); in getAggregateType()
734 mlir::IntegerType i8Ty = builder.getIntegerType(8); in instantiateAggregateStore()
795 mlir::IntegerType i8Ty = builder.getIntegerType(8); in instantiateAlias()
849 mlir::IntegerType byteTy = builder.getIntegerType(8); in getTypeOfCommonWithInit()
864 mlir::IntegerType byteTy = builder.getIntegerType(8); in getTypeOfCommonWithInit()
950 mlir::IntegerType i8Ty = builder.getIntegerType(8); in declareCommonBlock()
1058 mlir::IntegerType i8Ty = builder.getIntegerType(8); in instantiateCommon()
H A DHostAssociations.cpp488 mlir::IntegerType offTy = builder.getIntegerType(32); in hostProcedureBindings()
528 mlir::IntegerType offTy = builder.getIntegerType(32); in internalProcedureBindings()
/llvm-project-15.0.7/mlir/lib/Conversion/VectorToLLVM/
H A DConvertVectorToLLVM.cpp1204 typeConverter->convertType(rewriter.getIntegerType(32)), in matchAndRewrite()
1205 rewriter.getZeroAttr(rewriter.getIntegerType(32))); in matchAndRewrite()
1258 loc, typeConverter->convertType(rewriter.getIntegerType(32)), in matchAndRewrite()
1259 rewriter.getZeroAttr(rewriter.getIntegerType(32))); in matchAndRewrite()

1234