LLVM
8.0.1
|
Instances of this class represent a label name in the MC file, and MCLabel are created and uniqued by the MCContext class. More...
#include "llvm/MC/MCLabel.h"
Public Member Functions | |
MCLabel (const MCLabel &)=delete | |
MCLabel & | operator= (const MCLabel &)=delete |
unsigned | getInstance () const |
Get the current instance of this Directional Local Label. More... | |
unsigned | incInstance () |
Increment the current instance of this Directional Local Label. More... | |
void | print (raw_ostream &OS) const |
Print the value to the stream OS . More... | |
void | dump () const |
Print the value to stderr. More... | |
Friends | |
class | MCContext |
Instances of this class represent a label name in the MC file, and MCLabel are created and uniqued by the MCContext class.
MCLabel should only be constructed for valid instances in the object file.
LLVM_DUMP_METHOD void MCLabel::dump | ( | ) | const |
Print the value to stderr.
Definition at line 23 of file MCLabel.cpp.
References llvm::dbgs(), and print().
Referenced by incInstance().
|
inline |
Get the current instance of this Directional Local Label.
Definition at line 38 of file MCLabel.h.
Referenced by llvm::MCContext::createTempSymbol(), and print().
|
inline |
Increment the current instance of this Directional Local Label.
Definition at line 41 of file MCLabel.h.
References dump(), and print().
Referenced by llvm::MCContext::createTempSymbol().
void MCLabel::print | ( | raw_ostream & | OS | ) | const |
Print the value to the stream OS
.
Definition at line 18 of file MCLabel.cpp.
References getInstance().
Referenced by dump(), incInstance(), and llvm::operator<<().