lib/Conversion/StandardToLLVM/ConvertStandardToLLVM.cpp
void MemRefDescriptor::setStride(OpBuilder &builder, Location loc, unsigned pos,
                                 Value stride) {
  value = builder.create<LLVM::InsertValueOp>(
      loc, structType, value, stride,
      builder.getI64ArrayAttr({kStridePosInMemRefDescriptor, pos}));
}
/// Builds IR inserting the pos-th stride into the descriptor
Builds IR inserting the pos-th stride into the descriptor
Builds IR inserting the pos - th stride into the descriptor
void MemRefDescriptor::setStride(OpBuilder &builder, Location loc, unsigned pos,
                                 Value stride) {
  value = builder.create<LLVM::InsertValueOp>(
      loc, structType, value, stride,
      builder.getI64ArrayAttr({kStridePosInMemRefDescriptor, pos}));
}
void MemRefDescriptor :: setStride ( OpBuilder & builder , Location loc , unsigned pos , Value stride ) { value = builder . create < LLVM :: InsertValueOp > ( loc , structType , value , stride , builder . getI64ArrayAttr ( { kStridePosInMemRefDescriptor , pos } ) ) ; }
Builds IR inserting the pos-th stride into the descriptor
Builds IR inserting the pos - th stride into the descriptor