Lines Matching refs:Idxs
512 ArrayRef<unsigned> Idxs) { in ConstantFoldExtractValueInstruction() argument
514 if (Idxs.empty()) in ConstantFoldExtractValueInstruction()
517 if (Constant *C = Agg->getAggregateElement(Idxs[0])) in ConstantFoldExtractValueInstruction()
518 return ConstantFoldExtractValueInstruction(C, Idxs.slice(1)); in ConstantFoldExtractValueInstruction()
525 ArrayRef<unsigned> Idxs) { in ConstantFoldInsertValueInstruction() argument
527 if (Idxs.empty()) in ConstantFoldInsertValueInstruction()
541 if (Idxs[0] == i) in ConstantFoldInsertValueInstruction()
542 C = ConstantFoldInsertValueInstruction(C, Val, Idxs.slice(1)); in ConstantFoldInsertValueInstruction()
1341 ArrayRef<Value *> Idxs) { in ConstantFoldGetElementPtr() argument
1342 if (Idxs.empty()) return C; in ConstantFoldGetElementPtr()
1345 C, ArrayRef((Value *const *)Idxs.data(), Idxs.size())); in ConstantFoldGetElementPtr()
1358 return all_of(Idxs, [](Value *Idx) { in ConstantFoldGetElementPtr()