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