LLVM 20.0.0git
|
#include "Bitcode/Reader/ValueList.h"
Public Member Functions | |
BitcodeReaderValueList (size_t RefsUpperBound, MaterializeValueFnTy MaterializeValueFn) | |
unsigned | size () const |
void | resize (unsigned N) |
void | push_back (Value *V, unsigned TypeID) |
void | clear () |
Value * | operator[] (unsigned i) const |
unsigned | getTypeID (unsigned ValNo) const |
Value * | back () const |
void | pop_back () |
bool | empty () const |
void | shrinkTo (unsigned N) |
void | replaceValueWithoutRAUW (unsigned ValNo, Value *NewV) |
Value * | getValueFwdRef (unsigned Idx, Type *Ty, unsigned TyID, BasicBlock *ConstExprInsertBB) |
Error | assignValue (unsigned Idx, Value *V, unsigned TypeID) |
Definition at line 28 of file ValueList.h.
|
inline |
Definition at line 41 of file ValueList.h.
Definition at line 25 of file ValueList.cpp.
References assert(), llvm::createStringError(), llvm::Value::deleteValue(), llvm::Value::getType(), Idx, push_back(), resize(), size(), and llvm::Error::success().
|
inline |
Definition at line 70 of file ValueList.h.
|
inline |
Definition at line 56 of file ValueList.h.
|
inline |
Definition at line 74 of file ValueList.h.
Definition at line 65 of file ValueList.h.
References assert().
Value * BitcodeReaderValueList::getValueFwdRef | ( | unsigned | Idx, |
Type * | Ty, | ||
unsigned | TyID, | ||
BasicBlock * | ConstExprInsertBB | ||
) |
Definition at line 54 of file ValueList.cpp.
References llvm::consumeError(), llvm::Expected< T >::get(), Idx, resize(), size(), and llvm::Expected< T >::takeError().
Referenced by getValueFwdRef().
Definition at line 60 of file ValueList.h.
References assert().
|
inline |
Definition at line 71 of file ValueList.h.
Definition at line 52 of file ValueList.h.
Referenced by assignValue().
Definition at line 81 of file ValueList.h.
References assert().
|
inline |
Definition at line 49 of file ValueList.h.
References N.
Referenced by assignValue(), and getValueFwdRef().
|
inline |
Definition at line 76 of file ValueList.h.
|
inline |
Definition at line 48 of file ValueList.h.
Referenced by assignValue(), getValueFwdRef(), getValueFwdRef(), and shrinkTo().