lib/Conversion/StandardToLLVM/ConvertStandardToLLVM.cpp
void MemRefDescriptor::setOffset(OpBuilder &builder, Location loc,
                                 Value offset) {
  value = builder.create<LLVM::InsertValueOp>(
      loc, structType, value, offset,
      builder.getI64ArrayAttr(kOffsetPosInMemRefDescriptor));
}
/// Builds IR inserting the offset into the descriptor.
Builds IR inserting the offset into the descriptor.
Builds IR inserting the offset into the descriptor .
void MemRefDescriptor::setOffset(OpBuilder &builder, Location loc,
                                 Value offset) {
  value = builder.create<LLVM::InsertValueOp>(
      loc, structType, value, offset,
      builder.getI64ArrayAttr(kOffsetPosInMemRefDescriptor));
}
void MemRefDescriptor :: setOffset ( OpBuilder & builder , Location loc , Value offset ) { value = builder . create < LLVM :: InsertValueOp > ( loc , structType , value , offset , builder . getI64ArrayAttr ( kOffsetPosInMemRefDescriptor ) ) ; }
Builds IR inserting the offset into the descriptor.
Builds IR inserting the offset into the descriptor .