Lines Matching refs:UseIndex
297 unsigned UseIndex = in captured() local
300 assert(UseIndex < CS.data_operands_size() && in captured()
303 if (UseIndex >= CS.getNumArgOperands()) { in captured()
315 if (UseIndex >= F->arg_size()) { in captured()
321 Uses.push_back(&*std::next(F->arg_begin(), UseIndex)); in captured()
427 unsigned UseIndex = std::distance(CS.arg_begin(), U); in determinePointerReadAttrs() local
433 assert(UseIndex < CS.data_operands_size() && in determinePointerReadAttrs()
436 bool IsOperandBundleUse = UseIndex >= CS.getNumArgOperands(); in determinePointerReadAttrs()
438 if (UseIndex >= F->arg_size() && !IsOperandBundleUse) { in determinePointerReadAttrs()
443 Captures &= !CS.doesNotCapture(UseIndex); in determinePointerReadAttrs()
449 if (!SCCNodes.count(&*std::next(F->arg_begin(), UseIndex)) || in determinePointerReadAttrs()
455 if (!CS.onlyReadsMemory() && !CS.onlyReadsMemory(UseIndex)) in determinePointerReadAttrs()
457 if (!CS.doesNotAccessMemory(UseIndex)) in determinePointerReadAttrs()