Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/
DValueList.h30 std::vector<WeakTrackingVH> ValuePtrs; variable
51 unsigned size() const { return ValuePtrs.size(); } in size()
52 void resize(unsigned N) { ValuePtrs.resize(N); } in resize()
53 void push_back(Value *V) { ValuePtrs.emplace_back(V); } in push_back()
57 ValuePtrs.clear(); in clear()
61 assert(i < ValuePtrs.size());
62 return ValuePtrs[i];
65 Value *back() const { return ValuePtrs.back(); } in back()
66 void pop_back() { ValuePtrs.pop_back(); } in pop_back()
67 bool empty() const { return ValuePtrs.empty(); } in empty()
[all …]
DValueList.cpp78 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()
/external/swiftshader/third_party/LLVM/lib/Bitcode/Reader/
DBitcodeReader.h36 std::vector<WeakVH> ValuePtrs; variable
55 unsigned size() const { return ValuePtrs.size(); } in size()
56 void resize(unsigned N) { ValuePtrs.resize(N); } in resize()
58 ValuePtrs.push_back(V); in push_back()
63 ValuePtrs.clear(); in clear()
67 assert(i < ValuePtrs.size());
68 return ValuePtrs[i];
71 Value *back() const { return ValuePtrs.back(); } in back()
72 void pop_back() { ValuePtrs.pop_back(); } in pop_back()
73 bool empty() const { return ValuePtrs.empty(); } in empty()
[all …]
DBitcodeReader.cpp218 WeakVH &OldV = ValuePtrs[Idx]; in AssignValue()
243 if (Value *V = ValuePtrs[Idx]) { in getConstantFwdRef()
250 ValuePtrs[Idx] = C; in getConstantFwdRef()
258 if (Value *V = ValuePtrs[Idx]) { in getValueFwdRef()
268 ValuePtrs[Idx] = V; in getValueFwdRef()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp56 std::vector<WeakVH> ValuePtrs; member in __anone7aefbb30111::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 …]