LLVM 22.0.0git
Mangler.cpp File Reference

Go to the source code of this file.

Functions

static void getNameWithPrefixImpl (raw_ostream &OS, const Twine &GVName, ManglerPrefixTy PrefixTy, const DataLayout &DL, char Prefix)
static void getNameWithPrefixImpl (raw_ostream &OS, const Twine &GVName, const DataLayout &DL, ManglerPrefixTy PrefixTy)
static bool hasByteCountSuffix (CallingConv::ID CC)
static void addByteCountSuffix (raw_ostream &OS, const Function *F, const DataLayout &DL)
 Microsoft fastcall and stdcall functions require a suffix on their name indicating the number of words of arguments they take.
static bool canBeUnquotedInDirective (char C)
static bool canBeUnquotedInDirective (StringRef Name)

Function Documentation

โ—† addByteCountSuffix()

void addByteCountSuffix ( raw_ostream & OS,
const Function * F,
const DataLayout & DL )
static

Microsoft fastcall and stdcall functions require a suffix on their name indicating the number of words of arguments they take.

Definition at line 96 of file Mangler.cpp.

References A(), llvm::alignTo(), DL, and F.

Referenced by llvm::Mangler::getNameWithPrefix().

โ—† canBeUnquotedInDirective() [1/2]

bool canBeUnquotedInDirective ( char C)
static

โ—† canBeUnquotedInDirective() [2/2]

bool canBeUnquotedInDirective ( StringRef Name)
static

Definition at line 200 of file Mangler.cpp.

References llvm::CallingConv::C, and canBeUnquotedInDirective().

โ—† getNameWithPrefixImpl() [1/2]

void getNameWithPrefixImpl ( raw_ostream & OS,
const Twine & GVName,
const DataLayout & DL,
ManglerPrefixTy PrefixTy )
static

Definition at line 64 of file Mangler.cpp.

References DL, and getNameWithPrefixImpl().

โ—† getNameWithPrefixImpl() [2/2]

void getNameWithPrefixImpl ( raw_ostream & OS,
const Twine & GVName,
ManglerPrefixTy PrefixTy,
const DataLayout & DL,
char Prefix )
static

โ—† hasByteCountSuffix()

bool hasByteCountSuffix ( CallingConv::ID CC)
static