LLVM  14.0.0git
MemoryBufferRef.cpp
Go to the documentation of this file.
1 //===- MemoryBufferRef.cpp - Memory Buffer Reference ----------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file implements the MemoryBufferRef interface.
10 //
11 //===----------------------------------------------------------------------===//
12 
15 
16 using namespace llvm;
17 
19  : Buffer(Buffer.getBuffer()), Identifier(Buffer.getBufferIdentifier()) {}
MemoryBuffer.h
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition: AllocatorList.h:23
MemoryBufferRef.h
llvm::MemoryBufferRef::MemoryBufferRef
MemoryBufferRef()=default
llvm::MemoryBuffer
This interface provides simple read-only access to a block of memory, and provides simple methods for...
Definition: MemoryBuffer.h:50