clang
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
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
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
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
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
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
n
o
p
q
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
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
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
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
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
y
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
o
p
q
r
s
t
u
v
w
Enumerations
_
a
b
c
f
g
i
l
m
n
o
p
r
s
t
v
Enumerator
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Examples
lib
Driver
Phases.cpp
Go to the documentation of this file.
1
//===--- Phases.cpp - Transformations on Driver Types ---------------------===//
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
#include "
clang/Driver/Phases.h
"
10
#include "llvm/Support/ErrorHandling.h"
11
#include <cassert>
12
13
using namespace
clang::driver
;
14
15
const
char
*
phases::getPhaseName
(
ID
Id
) {
16
switch
(
Id
) {
17
case
Preprocess
:
return
"preprocessor"
;
18
case
Precompile
:
return
"precompiler"
;
19
case
Compile
:
return
"compiler"
;
20
case
Backend
:
return
"backend"
;
21
case
Assemble
:
return
"assembler"
;
22
case
Link
:
return
"linker"
;
23
case
IfsMerge
:
return
"ifsmerger"
;
24
}
25
26
llvm_unreachable(
"Invalid phase id."
);
27
}
Phases.h
Id
uint32_t Id
Definition:
SemaARM.cpp:1134
clang::driver::phases::getPhaseName
const char * getPhaseName(ID Id)
Definition:
Phases.cpp:15
clang::driver::phases::ID
ID
ID - Ordered values for successive stages in the compilation process which interact with user options...
Definition:
Phases.h:17
clang::driver::phases::Assemble
@ Assemble
Definition:
Phases.h:22
clang::driver::phases::Compile
@ Compile
Definition:
Phases.h:20
clang::driver::phases::Backend
@ Backend
Definition:
Phases.h:21
clang::driver::phases::Link
@ Link
Definition:
Phases.h:23
clang::driver::phases::Precompile
@ Precompile
Definition:
Phases.h:19
clang::driver::phases::Preprocess
@ Preprocess
Definition:
Phases.h:18
clang::driver::phases::IfsMerge
@ IfsMerge
Definition:
Phases.h:24
clang::driver
Definition:
Action.h:31
Generated on Sat Feb 1 2025 18:46:33 for clang by
1.9.6