Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DValueList.h29 std::vector<WeakTrackingVH> ValuePtrs; variable
64 unsigned size() const { return ValuePtrs.size(); } in size()
66 ValuePtrs.resize(N); in resize()
70 ValuePtrs.emplace_back(V); in push_back()
76 ValuePtrs.clear(); in clear()
81 assert(i < ValuePtrs.size());
82 return ValuePtrs[i];
85 Value *back() const { return ValuePtrs.back(); } in back()
87 ValuePtrs.pop_back(); in pop_back()
90 bool empty() const { return ValuePtrs.empty(); } in empty()
[all …]
DValueList.cpp80 WeakTrackingVH &OldV = ValuePtrs[Idx]; in assignValue()
107 if (Value *V = ValuePtrs[Idx]) { in getConstantFwdRef()
115 ValuePtrs[Idx] = C; in getConstantFwdRef()
128 if (Value *V = ValuePtrs[Idx]) { in getValueFwdRef()
143 ValuePtrs[Idx] = V; in getValueFwdRef()
/external/llvm-project/llvm/lib/Bitcode/Reader/
DValueList.h29 std::vector<WeakTrackingVH> ValuePtrs; variable
64 unsigned size() const { return ValuePtrs.size(); } in size()
66 ValuePtrs.resize(N); in resize()
70 ValuePtrs.emplace_back(V); in push_back()
76 ValuePtrs.clear(); in clear()
81 assert(i < ValuePtrs.size());
82 return ValuePtrs[i];
85 Value *back() const { return ValuePtrs.back(); } in back()
87 ValuePtrs.pop_back(); in pop_back()
90 bool empty() const { return ValuePtrs.empty(); } in empty()
[all …]
DValueList.cpp77 WeakTrackingVH &OldV = ValuePtrs[Idx]; in assignValue()
104 if (Value *V = ValuePtrs[Idx]) { in getConstantFwdRef()
112 ValuePtrs[Idx] = C; in getConstantFwdRef()
125 if (Value *V = ValuePtrs[Idx]) { in getValueFwdRef()
140 ValuePtrs[Idx] = V; in getValueFwdRef()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp56 std::vector<WeakVH> ValuePtrs; member in __anonecb5182a0111::BitcodeReaderValueList
75 unsigned size() const { return ValuePtrs.size(); } in size()
76 void resize(unsigned N) { ValuePtrs.resize(N); } in resize()
77 void push_back(Value *V) { ValuePtrs.emplace_back(V); } in push_back()
81 ValuePtrs.clear(); in clear()
85 assert(i < ValuePtrs.size()); in operator []()
86 return ValuePtrs[i]; in operator []()
89 Value *back() const { return ValuePtrs.back(); } in back()
90 void pop_back() { ValuePtrs.pop_back(); } in pop_back()
91 bool empty() const { return ValuePtrs.empty(); } in empty()
[all …]