LLVM: include/llvm/MC/MCLabel.h Source File (original) (raw)
Go to the documentation of this file.
1
2
3
4
5
6
7
8
9
10
11
12
13#ifndef LLVM_MC_MCLABEL_H
14#define LLVM_MC_MCLABEL_H
15
16namespace llvm {
17
19
20
21
22
23class MCLabel {
24
25 unsigned Instance;
26
27private:
29
30 MCLabel(unsigned instance) : Instance(instance) {}
31
32public:
33 MCLabel(const MCLabel &) = delete;
34 MCLabel &operator=(const MCLabel &) = delete;
35
36
38
39
41
42
44
45
46 void dump() const;
47};
48
50 Label.print(OS);
51 return OS;
52}
53
54}
55
56#endif
Instances of this class represent a label name in the MC file, and MCLabel are created and uniqued by...
Definition MCLabel.h:23
MCLabel(const MCLabel &)=delete
unsigned incInstance()
Increment the current instance of this Directional Local Label.
Definition MCLabel.h:40
void print(raw_ostream &OS) const
Print the value to the stream OS.
void dump() const
Print the value to stderr.
unsigned getInstance() const
Get the current instance of this Directional Local Label.
Definition MCLabel.h:37
friend class MCContext
Definition MCLabel.h:28
MCLabel & operator=(const MCLabel &)=delete
This class implements an extremely fast bulk output stream that can only output to a stream.
This is an optimization pass for GlobalISel generic memory operations.
raw_ostream & operator<<(raw_ostream &OS, const APFixedPoint &FX)