Home
last modified time | relevance | path

Searched refs:ValuePtrs (Results 1 – 2 of 2) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DValueList.h29 std::vector<WeakTrackingVH> ValuePtrs; variable
57 unsigned size() const { return ValuePtrs.size(); } in size()
59 ValuePtrs.resize(N); in resize()
61 void push_back(Value *V) { ValuePtrs.emplace_back(V); } in push_back()
65 ValuePtrs.clear(); in clear()
69 assert(i < ValuePtrs.size());
70 return ValuePtrs[i];
73 Value *back() const { return ValuePtrs.back(); } in back()
75 ValuePtrs.pop_back(); in pop_back()
77 bool empty() const { return ValuePtrs.empty(); } in empty()
[all …]
H A DValueList.cpp74 WeakTrackingVH &OldV = ValuePtrs[Idx]; in assignValue()
101 if (Value *V = ValuePtrs[Idx]) { in getConstantFwdRef()
109 ValuePtrs[Idx] = C; in getConstantFwdRef()
121 if (Value *V = ValuePtrs[Idx]) { in getValueFwdRef()
134 ValuePtrs[Idx] = V; in getValueFwdRef()