LLVM  15.0.0git
Public Member Functions | Static Public Member Functions | List of all members
llvm::Mangler Class Reference

#include "llvm/IR/Mangler.h"

Public Member Functions

void getNameWithPrefix (raw_ostream &OS, const GlobalValue *GV, bool CannotUsePrivateLabel) const
 Print the appropriate prefix and the specified global variable's name. More...
 
void getNameWithPrefix (SmallVectorImpl< char > &OutName, const GlobalValue *GV, bool CannotUsePrivateLabel) const
 

Static Public Member Functions

static void getNameWithPrefix (raw_ostream &OS, const Twine &GVName, const DataLayout &DL)
 Print the appropriate prefix and the specified name as the global variable name. More...
 
static void getNameWithPrefix (SmallVectorImpl< char > &OutName, const Twine &GVName, const DataLayout &DL)
 

Detailed Description

Definition at line 27 of file Mangler.h.

Member Function Documentation

◆ getNameWithPrefix() [1/4]

void Mangler::getNameWithPrefix ( raw_ostream OS,
const GlobalValue GV,
bool  CannotUsePrivateLabel 
) const

◆ getNameWithPrefix() [2/4]

void Mangler::getNameWithPrefix ( raw_ostream OS,
const Twine GVName,
const DataLayout DL 
)
static

Print the appropriate prefix and the specified name as the global variable name.

GVName must not be empty.

Definition at line 69 of file Mangler.cpp.

References DL, and getNameWithPrefixImpl().

◆ getNameWithPrefix() [3/4]

void Mangler::getNameWithPrefix ( SmallVectorImpl< char > &  OutName,
const GlobalValue GV,
bool  CannotUsePrivateLabel 
) const

Definition at line 185 of file Mangler.cpp.

References getNameWithPrefix().

◆ getNameWithPrefix() [4/4]

void Mangler::getNameWithPrefix ( SmallVectorImpl< char > &  OutName,
const Twine GVName,
const DataLayout DL 
)
static

Definition at line 74 of file Mangler.cpp.

References DL, getNameWithPrefixImpl(), and llvm::cl::Prefix.


The documentation for this class was generated from the following files: