LLVM API Documentation
#include "llvm/Transforms/IPO.h"
#include "llvm/Module.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Pass.h"
#include "llvm/Instructions.h"
#include "llvm/Constants.h"
#include "llvm/Support/CallSite.h"
#include "llvm/Target/TargetData.h"
#include "llvm/Assembly/Writer.h"
#include "llvm/ADT/Statistic.h"
#include <algorithm>
Include dependency graph for FunctionResolution.cpp:
Go to the source code of this file.
Functions | |
ModulePass * | llvm::createFunctionResolvingPass () |
static bool | ResolveFunctions (Module &M, std::vector< GlobalValue * > &Globals, Function *Concrete) |
static bool | ResolveGlobalVariables (Module &M, std::vector< GlobalValue * > &Globals, GlobalVariable *Concrete) |
static bool | CallersAllIgnoreReturnValue (Function &F) |
static bool | ProcessGlobalsWithSameName (Module &M, TargetData &TD, std::vector< GlobalValue * > &Globals) |
|
Definition at line 136 of file FunctionResolution.cpp. References E, llvm::CallSite::getInstruction(), llvm::Function::getReturnType(), I, llvm::Value::use_begin(), llvm::Value::use_empty(), and llvm::Value::use_end(). Referenced by ProcessGlobalsWithSameName(). |
|
|
|
Definition at line 116 of file FunctionResolution.cpp. References llvm::Module::getGlobalList(), and NumGlobals. Referenced by ProcessGlobalsWithSameName(). |
|
|
|
Referenced by ResolveFunctions(). |
|
|