18 #ifndef LLVM_IR_GVMATERIALIZER_H
19 #define LLVM_IR_GVMATERIALIZER_H
21 #include <system_error>
virtual std::error_code materializeModule(Module *M)=0
Make sure the entire Module has been completely read.
A Module instance is used to store all the information related to an LLVM module. ...
virtual void setStripDebugInfo()=0
virtual ~GVMaterializer()
virtual std::error_code materialize(GlobalValue *GV)=0
Make sure the given GlobalValue is fully read.
virtual bool isDematerializable(const GlobalValue *GV) const =0
True if GV has been materialized and can be dematerialized back to whatever backing store this GVMate...
virtual std::error_code materializeMetadata()=0
virtual std::vector< StructType * > getIdentifiedStructTypes() const =0
virtual void dematerialize(GlobalValue *)
If the given GlobalValue is read in, and if the GVMaterializer supports it, release the memory for th...