LLVM  3.7.0
Classes | Namespaces | Functions
ModuleUtils.h File Reference
#include "llvm/ADT/ArrayRef.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::SmallPtrSetImpl< PtrType >
 A templated base class for SmallPtrSet which provides the typesafe interface that is common across all small sizes. More...
 

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 

Functions

void llvm::appendToGlobalCtors (Module &M, Function *F, int Priority)
 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)
 Same as appendToGlobalCtors(), but for global dtors. More...
 
GlobalVariablellvm::collectUsedGlobalVariables (Module &M, SmallPtrSetImpl< GlobalValue * > &Set, bool CompilerUsed)
 Given "llvm.used" or "llvm.compiler.used" as a global name, collect the initializer elements of that global in Set and return the global itself. More...
 
Functionllvm::checkSanitizerInterfaceFunction (Constant *FuncOrBitcast)
 
std::pair< Function *, Function * > llvm::createSanitizerCtorAndInitFunctions (Module &M, StringRef CtorName, StringRef InitName, ArrayRef< Type * > InitArgTypes, ArrayRef< Value * > InitArgs)
 Creates sanitizer constructor function, and calls sanitizer's init function from it. More...