Home
last modified time | relevance | path

Searched refs:i32Type (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/mlir/test/EDSC/
Dbuilder-api-test.cpp467 auto i32Type = builder.getI32Type(); in TEST_FUNC() local
468 std_divis(std_constant_int(10, i32Type), std_constant_int(2, i32Type)); in TEST_FUNC()
486 auto i32Type = builder.getI32Type(); in TEST_FUNC() local
487 std_diviu(std_constant_int(10, i32Type), std_constant_int(2, i32Type)); in TEST_FUNC()
539 auto i32Type = IntegerType::get(32, &globalContext()); in TEST_FUNC() local
541 {ShapedType::kDynamicSize, ShapedType::kDynamicSize}, i32Type, {}, 0); in TEST_FUNC()
1147 auto i32Type = builder.getI32Type(); in TEST_FUNC() local
1148 auto vectorType = VectorType::get(/*shape=*/{8}, i32Type); in TEST_FUNC()
1150 i32Type, std_constant(vectorType, builder.getI32VectorAttr({10})), in TEST_FUNC()
1151 std_constant_int(0, i32Type)); in TEST_FUNC()
/external/llvm-project/mlir/test/lib/Dialect/Test/
DTestPatterns.cpp255 Type i32Type = rewriter.getIntegerType(32); in matchAndRewrite() local
256 rewriter.createBlock(&region, region.end(), {i32Type, i32Type}); in matchAndRewrite()
272 Type i32Type = rewriter.getIntegerType(32); in matchAndRewrite() local
273 rewriter.createBlock(&region, region.end(), {i32Type, i32Type}); in matchAndRewrite()
275 rewriter.create<ILLegalOpF>(op->getLoc(), i32Type); in matchAndRewrite()
DTestOps.td1165 auto i32Type = $_builder.getIntegerType(32);
1166 $_state.addTypes(i32Type); // $output1
1167 SmallVector<Type, 4> types(count.getInt(), i32Type);
/external/llvm-project/mlir/lib/Conversion/GPUCommon/
DGPUOpsLowering.h92 auto i32Type = LLVM::LLVMType::getInt32Ty(rewriter.getContext()); in matchAndRewrite() local
96 zero = rewriter.create<LLVM::ConstantOp>(loc, i32Type, in matchAndRewrite()
/external/llvm-project/mlir/unittests/Dialect/SPIRV/
DDeserializationTest.cpp258 auto i32Type = addIntType(32); in TEST_F() local
259 auto fnType = addFunctionType(voidType, {i32Type}); in TEST_F()
/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVOps.cpp209 Type i32Type = parser.getBuilder().getIntegerType(32); in parseMemoryAccessAttributes() local
211 parser.parseAttribute(alignmentAttr, i32Type, kAlignmentAttrName, in parseMemoryAccessAttributes()
240 Type i32Type = parser.getBuilder().getIntegerType(32); in parseSourceMemoryAccessAttributes() local
242 parser.parseAttribute(alignmentAttr, i32Type, kSourceAlignmentAttrName, in parseSourceMemoryAccessAttributes()
502 Type i32Type = parser.getBuilder().getIntegerType(32); in parseVariableDecorations() local
504 parser.parseAttribute(set, i32Type, descriptorSetName, in parseVariableDecorations()
507 parser.parseAttribute(binding, i32Type, bindingName, in parseVariableDecorations()
745 Type i32Type = parser.getBuilder().getIntegerType(32); in parseGroupNonUniformArithmeticOp() local
746 if (parser.resolveOperand(*clusterSizeInfo, i32Type, state.operands)) in parseGroupNonUniformArithmeticOp()
1206 auto i32Type = builder.getIntegerType(32); in parseBranchConditionalOp() local
[all …]
/external/llvm-project/mlir/lib/Dialect/Affine/IR/
DAffineOps.cpp2400 auto i32Type = parser.getBuilder().getIntegerType(32); in parseAffinePrefetchOp() local
2412 parser.parseAttribute(hintInfo, i32Type, in parseAffinePrefetchOp()
/external/llvm-project/mlir/lib/Dialect/StandardOps/IR/
DOps.cpp2563 auto i32Type = parser.getBuilder().getIntegerType(32); in parsePrefetchOp() local
2569 parser.parseAttribute(localityHint, i32Type, "localityHint", in parsePrefetchOp()