ΒΆllvm::ModulePass* createGVExtractionPass(
std::vector<GlobalValue*>& GVs,
bool deleteFn = false)
llvm::ModulePass* createGVExtractionPass(
std::vector<GlobalValue*>& GVs,
bool deleteFn = false)
Description
createGVExtractionPass - If deleteFn is true, this pass deletes the specified global values. Otherwise, it deletes as much of the module as possible, except for the global values specified.
Declared at: llvm/include/llvm/Transforms/IPO.h:89
Parameters
- std::vector<GlobalValue*>& GVs
- bool deleteFn = false