LLVM
8.0.1
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
r
s
t
u
v
w
x
z
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Typedefs
a
b
c
d
e
f
g
h
i
j
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
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
y
z
+
Related Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
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
l
m
o
p
r
s
t
u
v
+
Enumerations
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
+
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
lib
MC
MCParser
MCTargetAsmParser.cpp
Go to the documentation of this file.
1
//===-- MCTargetAsmParser.cpp - Target Assembly Parser --------------------===//
2
//
3
// The LLVM Compiler Infrastructure
4
//
5
// This file is distributed under the University of Illinois Open Source
6
// License. See LICENSE.TXT for details.
7
//
8
//===----------------------------------------------------------------------===//
9
10
#include "
llvm/MC/MCParser/MCTargetAsmParser.h
"
11
#include "
llvm/MC/MCContext.h
"
12
13
using namespace
llvm
;
14
15
MCTargetAsmParser::MCTargetAsmParser
(
MCTargetOptions
const
&MCOptions,
16
const
MCSubtargetInfo
&STI,
17
const
MCInstrInfo
&MII)
18
: MCOptions(MCOptions), STI(&STI), MII(MII) {}
19
20
MCTargetAsmParser::~MCTargetAsmParser
() =
default
;
21
22
MCSubtargetInfo
&
MCTargetAsmParser::copySTI
() {
23
MCSubtargetInfo
&STICopy =
getContext
().
getSubtargetCopy
(
getSTI
());
24
STI
= &STICopy;
25
return
STICopy;
26
}
27
28
const
MCSubtargetInfo
&
MCTargetAsmParser::getSTI
()
const
{
29
return
*
STI
;
30
}
llvm::MCAsmParserExtension::getContext
MCContext & getContext()
Definition:
MCAsmParserExtension.h:56
MCContext.h
llvm
This class represents lattice values for constants.
Definition:
AllocatorList.h:24
llvm::MCTargetAsmParser::STI
const MCSubtargetInfo * STI
Current STI.
Definition:
MCTargetAsmParser.h:351
llvm::MCTargetAsmParser::MCTargetAsmParser
MCTargetAsmParser(MCTargetOptions const &, const MCSubtargetInfo &STI, const MCInstrInfo &MII)
Definition:
MCTargetAsmParser.cpp:15
MCTargetAsmParser.h
llvm::MCTargetAsmParser::getSTI
const MCSubtargetInfo & getSTI() const
Definition:
MCTargetAsmParser.cpp:28
llvm::MCInstrInfo
Interface to description of machine instruction set.
Definition:
MCInstrInfo.h:24
llvm::MCSubtargetInfo
Generic base class for all target subtargets.
Definition:
MCSubtargetInfo.h:36
llvm::MCTargetAsmParser::copySTI
MCSubtargetInfo & copySTI()
Create a copy of STI and return a non-const reference to it.
Definition:
MCTargetAsmParser.cpp:22
llvm::MCTargetAsmParser::~MCTargetAsmParser
~MCTargetAsmParser() override
llvm::MCTargetOptions
Definition:
MCTargetOptions.h:35
llvm::MCContext::getSubtargetCopy
MCSubtargetInfo & getSubtargetCopy(const MCSubtargetInfo &STI)
Definition:
MCContext.cpp:534
Generated on Sun Dec 20 2020 13:55:46 for LLVM by
1.8.13