LLVM  6.0.0svn
Classes | Namespaces | Functions
ModuleUtils.h File Reference
#include "llvm/ADT/StringRef.h"
#include <utility>
Include dependency graph for ModuleUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  llvm::ArrayRef< T >
 ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory), i.e. More...
 

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 

Functions

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...
 
Functionllvm::checkSanitizerInterfaceFunction (Constant *FuncOrBitcast)
 
Functionllvm::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...
 
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...