LLVM 20.0.0git
BitcodeCommon.h
Go to the documentation of this file.
1//===- BitcodeCommon.h - Common code for encode/decode --------*- C++ -*-===//
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 header defines common code to be used by BitcodeWriter and
10// BitcodeReader.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_BITCODE_BITCODECOMMON_H
15#define LLVM_BITCODE_BITCODECOMMON_H
16
17#include "llvm/ADT/Bitfields.h"
18
19namespace llvm {
20
22 // We increased the number of bits needed to represent alignment to be more
23 // than 5, but to preserve backward compatibility we store the upper bits
24 // separately.
30};
31
32} // namespace llvm
33
34#endif // LLVM_BITCODE_BITCODECOMMON_H
This file implements methods to test, set and extract typed bits from packed unsigned integers.
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
Describes an element of a Bitfield.
Definition: Bitfields.h:223