LLVM: lib/Support/MemoryBufferRef.cpp Source File (original) (raw)

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

16using namespace llvm;

17

StringRef getBufferIdentifier() const

StringRef getBuffer() const

MemoryBufferRef()=default

This interface provides simple read-only access to a block of memory, and provides simple methods for...

This is an optimization pass for GlobalISel generic memory operations.