Lines Matching refs:idx_range
2653 static Value *BuildSubAggregate(Value *From, ArrayRef<unsigned> idx_range,
2657 idx_range);
2659 SmallVector<unsigned, 10> Idxs(idx_range.begin(), idx_range.end());
2671 Value *llvm::FindInsertedValue(Value *V, ArrayRef<unsigned> idx_range,
2675 if (idx_range.empty())
2680 assert(ExtractValueInst::getIndexedType(V->getType(), idx_range) &&
2684 C = C->getAggregateElement(idx_range[0]);
2686 return FindInsertedValue(C, idx_range.slice(1), InsertBefore);
2692 const unsigned *req_idx = idx_range.begin();
2695 if (req_idx == idx_range.end()) {
2710 return BuildSubAggregate(V, makeArrayRef(idx_range.begin(), req_idx),
2718 return FindInsertedValue(I->getAggregateOperand(), idx_range,
2725 makeArrayRef(req_idx, idx_range.end()),
2735 unsigned size = I->getNumIndices() + idx_range.size();
2743 Idxs.append(idx_range.begin(), idx_range.end());