LLVM
20.0.0git
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
y
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
l
m
o
p
q
r
s
t
u
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
include
llvm
Bitcode
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
19
namespace
llvm
{
20
21
struct
AllocaPackedValues
{
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.
25
using
AlignLower
=
Bitfield::Element<unsigned, 0, 5>
;
26
using
UsedWithInAlloca
=
Bitfield::Element<bool, AlignLower::NextBit, 1>
;
27
using
ExplicitType
=
Bitfield::Element<bool, UsedWithInAlloca::NextBit, 1>
;
28
using
SwiftError
=
Bitfield::Element<bool, ExplicitType::NextBit, 1>
;
29
using
AlignUpper
=
Bitfield::Element<unsigned, SwiftError::NextBit, 3>
;
30
};
31
32
}
// namespace llvm
33
34
#endif
// LLVM_BITCODE_BITCODECOMMON_H
Bitfields.h
This file implements methods to test, set and extract typed bits from packed unsigned integers.
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
llvm::AllocaPackedValues
Definition:
BitcodeCommon.h:21
llvm::Bitfield::Element
Describes an element of a Bitfield.
Definition:
Bitfields.h:223
Generated on Sat Mar 29 2025 10:47:51 for LLVM by
1.9.6