Lines Matching refs:UseIndex
382 unsigned UseIndex = in captured() local
385 assert(UseIndex < CB->data_operands_size() && in captured()
388 if (UseIndex >= CB->getNumArgOperands()) { in captured()
400 if (UseIndex >= F->arg_size()) { in captured()
406 Uses.push_back(&*std::next(F->arg_begin(), UseIndex)); in captured()
514 unsigned UseIndex = std::distance(CB.arg_begin(), U); in determinePointerReadAttrs() local
520 assert(UseIndex < CB.data_operands_size() && in determinePointerReadAttrs()
523 bool IsOperandBundleUse = UseIndex >= CB.getNumArgOperands(); in determinePointerReadAttrs()
525 if (UseIndex >= F->arg_size() && !IsOperandBundleUse) { in determinePointerReadAttrs()
530 Captures &= !CB.doesNotCapture(UseIndex); in determinePointerReadAttrs()
537 !SCCNodes.count(&*std::next(F->arg_begin(), UseIndex))) { in determinePointerReadAttrs()
542 if (!CB.onlyReadsMemory() && !CB.onlyReadsMemory(UseIndex)) in determinePointerReadAttrs()
544 if (!CB.doesNotAccessMemory(UseIndex)) in determinePointerReadAttrs()