|
void | llvm::appendToGlobalCtors (Module &M, Function *F, int Priority, Constant *Data=nullptr) |
| Append F to the list of global ctors of module M with the given Priority. More...
|
|
void | llvm::appendToGlobalDtors (Module &M, Function *F, int Priority, Constant *Data=nullptr) |
| Same as appendToGlobalCtors(), but for global dtors. More...
|
|
Function * | llvm::checkSanitizerInterfaceFunction (Constant *FuncOrBitcast) |
|
Function * | llvm::declareSanitizerInitFunction (Module &M, StringRef InitName, ArrayRef< Type *> InitArgTypes) |
|
std::pair< Function *, Function * > | llvm::createSanitizerCtorAndInitFunctions (Module &M, StringRef CtorName, StringRef InitName, ArrayRef< Type *> InitArgTypes, ArrayRef< Value *> InitArgs, StringRef VersionCheckName=StringRef()) |
| Creates sanitizer constructor function, and calls sanitizer's init function from it. More...
|
|
std::pair< Function *, Function * > | llvm::getOrCreateSanitizerCtorAndInitFunctions (Module &M, StringRef CtorName, StringRef InitName, ArrayRef< Type *> InitArgTypes, ArrayRef< Value *> InitArgs, function_ref< void(Function *, Function *)> FunctionsCreatedCallback, StringRef VersionCheckName=StringRef()) |
| Creates sanitizer constructor function lazily. More...
|
|
Function * | llvm::getOrCreateInitFunction (Module &M, StringRef Name) |
|
bool | llvm::nameUnamedGlobals (Module &M) |
| Rename all the anon globals in the module using a hash computed from the list of public globals in the module. More...
|
|
void | llvm::appendToUsed (Module &M, ArrayRef< GlobalValue *> Values) |
| Adds global values to the llvm.used list. More...
|
|
void | llvm::appendToCompilerUsed (Module &M, ArrayRef< GlobalValue *> Values) |
| Adds global values to the llvm.compiler.used list. More...
|
|
void | llvm::filterDeadComdatFunctions (Module &M, SmallVectorImpl< Function *> &DeadComdatFunctions) |
| Filter out potentially dead comdat functions where other entries keep the entire comdat group alive. More...
|
|
std::string | llvm::getUniqueModuleId (Module *M) |
| Produce a unique identifier for this module by taking the MD5 sum of the names of the module's strong external symbols that are not comdat members. More...
|
|