|
LLVM
4.0.0
|
#include "llvm/IR/Mangler.h"#include "llvm/ADT/SmallString.h"#include "llvm/ADT/Twine.h"#include "llvm/IR/DataLayout.h"#include "llvm/IR/DerivedTypes.h"#include "llvm/IR/Function.h"#include "llvm/IR/Module.h"#include "llvm/Support/raw_ostream.h"Go to the source code of this file.
Enumerations | |
| enum | ManglerPrefixTy |
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. More... | |
| enum ManglerPrefixTy |
Definition at line 25 of file Mangler.cpp.
|
static |
Microsoft fastcall and stdcall functions require a suffix on their name indicating the number of words of arguments they take.
Definition at line 90 of file Mangler.cpp.
References llvm::alignTo(), llvm::Function::arg_begin(), llvm::Function::arg_end(), llvm::DataLayout::getPointerSize(), and llvm::DataLayout::getTypeAllocSize().
Referenced by llvm::Mangler::getNameWithPrefix().
|
static |
Definition at line 32 of file Mangler.cpp.
References assert(), llvm::StringRef::empty(), llvm::DataLayout::getLinkerPrivateGlobalPrefix(), llvm::DataLayout::getPrivateGlobalPrefix(), llvm::cl::Prefix, llvm::StringRef::substr(), and llvm::Twine::toStringRef().
Referenced by llvm::Mangler::getNameWithPrefix(), and getNameWithPrefixImpl().
|
static |
Definition at line 58 of file Mangler.cpp.
References llvm::DataLayout::getGlobalPrefix(), getNameWithPrefixImpl(), and llvm::cl::Prefix.
|
static |
Definition at line 77 of file Mangler.cpp.
References llvm::CallingConv::X86_FastCall, llvm::CallingConv::X86_StdCall, and llvm::CallingConv::X86_VectorCall.
Referenced by llvm::Mangler::getNameWithPrefix().
1.8.6