Lines Matching refs:MemRefDescriptor
142 return MemRefDescriptor::pack(builder, loc, *this, resultType, inputs); in LLVMTypeConverter()
441 values[i] = MemRefDescriptor::fromStaticShape(rewriter, loc, *this, in promoteBarePtrsToDescriptors()
507 MemRefDescriptor::MemRefDescriptor(Value descriptor) in MemRefDescriptor() function in MemRefDescriptor
515 MemRefDescriptor MemRefDescriptor::undef(OpBuilder &builder, Location loc, in undef()
520 return MemRefDescriptor(descriptor); in undef()
526 MemRefDescriptor
527 MemRefDescriptor::fromStaticShape(OpBuilder &builder, Location loc, in fromStaticShape()
546 auto descr = MemRefDescriptor::undef(builder, loc, convertedType); in fromStaticShape()
560 Value MemRefDescriptor::allocatedPtr(OpBuilder &builder, Location loc) { in allocatedPtr()
565 void MemRefDescriptor::setAllocatedPtr(OpBuilder &builder, Location loc, in setAllocatedPtr()
571 Value MemRefDescriptor::alignedPtr(OpBuilder &builder, Location loc) { in alignedPtr()
576 void MemRefDescriptor::setAlignedPtr(OpBuilder &builder, Location loc, in setAlignedPtr()
590 Value MemRefDescriptor::offset(OpBuilder &builder, Location loc) { in offset()
597 void MemRefDescriptor::setOffset(OpBuilder &builder, Location loc, in setOffset()
605 void MemRefDescriptor::setConstantOffset(OpBuilder &builder, Location loc, in setConstantOffset()
612 Value MemRefDescriptor::size(OpBuilder &builder, Location loc, unsigned pos) { in size()
618 Value MemRefDescriptor::size(OpBuilder &builder, Location loc, Value pos, in size()
642 void MemRefDescriptor::setSize(OpBuilder &builder, Location loc, unsigned pos, in setSize()
649 void MemRefDescriptor::setConstantSize(OpBuilder &builder, Location loc, in setConstantSize()
656 Value MemRefDescriptor::stride(OpBuilder &builder, Location loc, unsigned pos) { in stride()
663 void MemRefDescriptor::setStride(OpBuilder &builder, Location loc, unsigned pos, in setStride()
670 void MemRefDescriptor::setConstantStride(OpBuilder &builder, Location loc, in setConstantStride()
676 LLVM::LLVMPointerType MemRefDescriptor::getElementPtrType() { in getElementPtrType()
691 Value MemRefDescriptor::pack(OpBuilder &builder, Location loc, in pack()
695 auto d = MemRefDescriptor::undef(builder, loc, llvmType); in pack()
712 void MemRefDescriptor::unpack(OpBuilder &builder, Location loc, Value packed, in unpack()
718 MemRefDescriptor d(packed); in unpack()
730 unsigned MemRefDescriptor::getNumUnpackedValues(MemRefType type) { in getNumUnpackedValues()
1058 MemRefDescriptor memRefDescriptor(memRefDesc); in getStridedElementPtr()
1182 MemRefDescriptor ConvertToLLVMPattern::createMemRefDescriptor( in createMemRefDescriptor()
1187 auto memRefDescriptor = MemRefDescriptor::undef(rewriter, loc, structType); in createMemRefDescriptor()
1249 MemRefDescriptor::unpack(rewriter, loc, loaded, memrefType, args); in wrapForExternalCallers()
1308 ? MemRefDescriptor::getNumUnpackedValues(memRefType) in wrapExternalFunction()
1312 ? MemRefDescriptor::pack(builder, loc, typeConverter, memRefType, in wrapExternalFunction()
1478 Value desc = MemRefDescriptor::fromStaticShape( in matchAndRewrite()
2377 MemRefDescriptor memref(transformed.memref()); in matchAndRewrite()
2643 MemRefDescriptor desc(convertedOperand); in extractPointersAndOffset()
2708 auto desc = MemRefDescriptor::undef(rewriter, loc, llvmTargetDescriptorTy); in convertSourceMemRefToDescriptor()
2776 MemRefDescriptor shapeDesc(adaptor.shape()); in convertSourceMemRefToDescriptor()
2987 MemRefDescriptor descriptor(transformed.memrefOrTensor()); in extractSizeOfRankedMemRef()
2996 MemRefDescriptor memrefDescriptor(transformed.memrefOrTensor()); in extractSizeOfRankedMemRef()
3266 MemRefDescriptor memrefDesc(newOperand); in matchAndRewrite()
3458 MemRefDescriptor sourceMemRef(operands.front()); in matchAndRewrite()
3459 auto targetMemRef = MemRefDescriptor::undef(rewriter, loc, targetDescTy); in matchAndRewrite()
3558 MemRefDescriptor viewMemRef(adaptor.in()); in matchAndRewrite()
3564 auto targetMemRef = MemRefDescriptor::undef( in matchAndRewrite()
3657 MemRefDescriptor sourceMemRef(adaptor.source()); in matchAndRewrite()
3658 auto targetMemRef = MemRefDescriptor::undef(rewriter, loc, targetDescTy); in matchAndRewrite()
3720 MemRefDescriptor memRefDescriptor(memref); in matchAndRewrite()
4089 MemRefDescriptor desc(llvmOperand); in promoteOperands()
4101 MemRefDescriptor::unpack(builder, loc, llvmOperand, in promoteOperands()