Home
last modified time | relevance | path

Searched refs:alignmentAttr (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DPromotion.cpp51 IntegerAttr alignmentAttr; in allocBuffer() local
53 alignmentAttr = b.getI64IntegerAttr(alignment.value()); in allocBuffer()
61 alignmentAttr); in allocBuffer()
64 alignmentAttr); in allocBuffer()
72 return b.create<memref::AllocaOp>(dynamicBufferType, mul, alignmentAttr); in allocBuffer()
73 return b.create<memref::AllocOp>(dynamicBufferType, mul, alignmentAttr); in allocBuffer()
/llvm-project-15.0.7/mlir/lib/Dialect/LLVMIR/IR/
H A DLLVMDialect.cpp238 Optional<NamedAttribute> alignmentAttr = in parse() local
240 if (alignmentAttr.has_value()) { in parse()
242 alignmentAttr.value().getValue().dyn_cast<IntegerAttr>(); in parse()
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/
H A DSPIRVOps.cpp267 Attribute alignmentAttr; in parseMemoryAccessAttributes() local
270 parser.parseAttribute(alignmentAttr, i32Type, kAlignmentAttrName, in parseMemoryAccessAttributes()
298 Attribute alignmentAttr; in parseSourceMemoryAccessAttributes() local
301 parser.parseAttribute(alignmentAttr, i32Type, kSourceAlignmentAttrName, in parseSourceMemoryAccessAttributes()
/llvm-project-15.0.7/mlir/lib/Conversion/MemRefToLLVM/
H A DMemRefToLLVM.cpp55 if (auto alignmentAttr = allocOp.getAlignment()) { in allocateBuffer() local
56 alignment = createIndexConstant(rewriter, loc, *alignmentAttr); in allocateBuffer()