LLVM 22.0.0git
|
#include "llvm/Bitcode/BitcodeReader.h"
Public Member Functions | |
ParserCallbacks ()=default | |
ParserCallbacks (DataLayoutCallbackFuncTy DataLayout) |
Public Attributes | |
std::optional< DataLayoutCallbackFuncTy > | DataLayout |
std::optional< ValueTypeCallbackTy > | ValueType |
The ValueType callback is called for every function definition or declaration and allows accessing the type information, also behind pointers. | |
std::optional< MDTypeCallbackTy > | MDType |
The MDType callback is called for every value in metadata. |
Definition at line 74 of file BitcodeReader.h.
|
default |
|
inlineexplicit |
Definition at line 88 of file BitcodeReader.h.
References DataLayout.
std::optional<DataLayoutCallbackFuncTy> llvm::ParserCallbacks::DataLayout |
Definition at line 75 of file BitcodeReader.h.
Referenced by llvm::parseIR(), and ParserCallbacks().
std::optional<MDTypeCallbackTy> llvm::ParserCallbacks::MDType |
The MDType callback is called for every value in metadata.
Definition at line 85 of file BitcodeReader.h.
std::optional<ValueTypeCallbackTy> llvm::ParserCallbacks::ValueType |
The ValueType callback is called for every function definition or declaration and allows accessing the type information, also behind pointers.
This can be useful, when the opaque pointer upgrade cleans all type information behind pointers. The second argument to ValueTypeCallback is the type ID of the function, the two passed functions can be used to extract type information.
Definition at line 83 of file BitcodeReader.h.