LLVM  3.7.0
Public Member Functions | Protected Member Functions | List of all members
llvm::GVMaterializer Class Referenceabstract

#include <GVMaterializer.h>

Public Member Functions

virtual ~GVMaterializer ()
 
virtual bool isDematerializable (const GlobalValue *GV) const =0
 True if GV has been materialized and can be dematerialized back to whatever backing store this GVMaterializer uses. More...
 
virtual std::error_code materialize (GlobalValue *GV)=0
 Make sure the given GlobalValue is fully read. More...
 
virtual void dematerialize (GlobalValue *)
 If the given GlobalValue is read in, and if the GVMaterializer supports it, release the memory for the GV, and set it up to be materialized lazily. More...
 
virtual std::error_code materializeModule (Module *M)=0
 Make sure the entire Module has been completely read. More...
 
virtual std::error_code materializeMetadata ()=0
 
virtual void setStripDebugInfo ()=0
 
virtual std::vector< StructType * > getIdentifiedStructTypes () const =0
 

Protected Member Functions

 GVMaterializer ()
 

Detailed Description

Definition at line 30 of file GVMaterializer.h.

Constructor & Destructor Documentation

llvm::GVMaterializer::GVMaterializer ( )
inlineprotected

Definition at line 32 of file GVMaterializer.h.

GVMaterializer::~GVMaterializer ( )
virtual

Definition at line 18 of file GVMaterializer.cpp.

Member Function Documentation

virtual void llvm::GVMaterializer::dematerialize ( GlobalValue )
inlinevirtual

If the given GlobalValue is read in, and if the GVMaterializer supports it, release the memory for the GV, and set it up to be materialized lazily.

If the Materializer doesn't support this capability, this method is a noop.

Definition at line 50 of file GVMaterializer.h.

virtual std::vector<StructType *> llvm::GVMaterializer::getIdentifiedStructTypes ( ) const
pure virtual
virtual bool llvm::GVMaterializer::isDematerializable ( const GlobalValue GV) const
pure virtual

True if GV has been materialized and can be dematerialized back to whatever backing store this GVMaterializer uses.

virtual std::error_code llvm::GVMaterializer::materialize ( GlobalValue GV)
pure virtual

Make sure the given GlobalValue is fully read.

virtual std::error_code llvm::GVMaterializer::materializeMetadata ( )
pure virtual
virtual std::error_code llvm::GVMaterializer::materializeModule ( Module M)
pure virtual

Make sure the entire Module has been completely read.

virtual void llvm::GVMaterializer::setStripDebugInfo ( )
pure virtual

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