Lines Matching defs:values

46   /// Returns the types of the values within this range.
91 /// Returns the range of types of the values within this range.
137 /// Append the given values to the range.
138 void append(ValueRange values);
140 /// Assign this range to the given values.
141 void assign(ValueRange values);
251 /// Returns the types of the values within this range.
277 /// Replace all uses of results of this range with the provided 'values'. The
278 /// size of `values` must match the size of this range.
281 replaceAllUsesWith(ValuesT &&values) {
282 assert(static_cast<size_t>(std::distance(values.begin(), values.end())) ==
284 "expected 'values' to correspond 1-1 with the number of results");
286 for (auto it : llvm::zip(*this, values))
293 /// Replace uses of results of this range with the provided 'values' if the
294 /// given callback returns true. The size of `values` must match the size of
298 replaceUsesWithIf(ValuesT &&values,
300 assert(static_cast<size_t>(std::distance(values.begin(), values.end())) ==
302 "expected 'values' to correspond 1-1 with the number of results");
304 for (auto it : llvm::zip(*this, values))
384 /// values, operands, or results.
398 ValueRange(const std::initializer_list<Value> &values LLVM_LIFETIME_BOUND)
399 : ValueRange(ArrayRef<Value>(values)) {}
400 ValueRange(iterator_range<OperandRange::iterator> values)
401 : ValueRange(OperandRange(values)) {}
402 ValueRange(iterator_range<ResultRange::iterator> values)
403 : ValueRange(ResultRange(values)) {}
404 ValueRange(ArrayRef<BlockArgument> values)
405 : ValueRange(ArrayRef<Value>(values.data(), values.size())) {}
406 ValueRange(ArrayRef<Value> values = std::nullopt);
407 ValueRange(OperandRange values);
408 ValueRange(ResultRange values);
410 /// Returns the types of the values within this range.