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
MC
MCParser
AsmCond.h
Go to the documentation of this file.
1
//===- AsmCond.h - Assembly file conditional assembly ----------*- 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
#ifndef LLVM_MC_MCPARSER_ASMCOND_H
10
#define LLVM_MC_MCPARSER_ASMCOND_H
11
12
namespace
llvm
{
13
14
/// AsmCond - Class to support conditional assembly
15
///
16
/// The conditional assembly feature (.if, .else, .elseif and .endif) is
17
/// implemented with AsmCond that tells us what we are in the middle of
18
/// processing. Ignore can be either true or false. When true we are ignoring
19
/// the block of code in the middle of a conditional.
20
21
class
AsmCond
{
22
public
:
23
enum
ConditionalAssemblyType
{
24
NoCond
,
// no conditional is being processed
25
IfCond
,
// inside if conditional
26
ElseIfCond
,
// inside elseif conditional
27
ElseCond
// inside else conditional
28
};
29
30
ConditionalAssemblyType
TheCond
=
NoCond
;
31
bool
CondMet
=
false
;
32
bool
Ignore
=
false
;
33
};
34
35
}
// end namespace llvm
36
37
#endif
// LLVM_MC_MCPARSER_ASMCOND_H
llvm::AsmCond
AsmCond - Class to support conditional assembly.
Definition:
AsmCond.h:21
llvm::AsmCond::TheCond
ConditionalAssemblyType TheCond
Definition:
AsmCond.h:30
llvm::AsmCond::Ignore
bool Ignore
Definition:
AsmCond.h:32
llvm::AsmCond::CondMet
bool CondMet
Definition:
AsmCond.h:31
llvm::AsmCond::ConditionalAssemblyType
ConditionalAssemblyType
Definition:
AsmCond.h:23
llvm::AsmCond::NoCond
@ NoCond
Definition:
AsmCond.h:24
llvm::AsmCond::ElseCond
@ ElseCond
Definition:
AsmCond.h:27
llvm::AsmCond::IfCond
@ IfCond
Definition:
AsmCond.h:25
llvm::AsmCond::ElseIfCond
@ ElseIfCond
Definition:
AsmCond.h:26
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
Generated on Mon Mar 31 2025 04:19:43 for LLVM by
1.9.6