LLVM 22.0.0git
llvm::ExtractGVPass Class Reference

#include "llvm/Transforms/IPO/ExtractGV.h"

Inheritance diagram for llvm::ExtractGVPass:
[legend]

Public Member Functions

LLVM_ABI ExtractGVPass (std::vector< GlobalValue * > &GVs, bool deleteS=true, bool keepConstInit=false)
 If deleteS is true, this pass deletes the specified global values.
LLVM_ABI PreservedAnalyses run (Module &M, ModuleAnalysisManager &)
Public Member Functions inherited from llvm::PassInfoMixin< ExtractGVPass >
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)

Additional Inherited Members

Static Public Member Functions inherited from llvm::PassInfoMixin< ExtractGVPass >
static StringRef name ()
 Gets the name of the pass we are mixed into.

Detailed Description

Definition at line 19 of file ExtractGV.h.

Constructor & Destructor Documentation

◆ ExtractGVPass()

ExtractGVPass::ExtractGVPass ( std::vector< GlobalValue * > & GVs,
bool deleteS = true,
bool keepConstInit = false )

If deleteS 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.

Definition at line 53 of file ExtractGV.cpp.

References llvm::from_range.

Member Function Documentation

◆ run()


The documentation for this class was generated from the following files: