Home
last modified time | relevance | path

Searched refs:UseIndex (Results 1 – 7 of 7) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp392 unsigned UseIndex = in captured() local
395 assert(UseIndex < CB->data_operands_size() && in captured()
398 if (UseIndex >= CB->getNumArgOperands()) { in captured()
410 if (UseIndex >= F->arg_size()) { in captured()
416 Uses.push_back(&*std::next(F->arg_begin(), UseIndex)); in captured()
524 unsigned UseIndex = std::distance(CB.arg_begin(), U); in determinePointerReadAttrs() local
530 assert(UseIndex < CB.data_operands_size() && in determinePointerReadAttrs()
533 bool IsOperandBundleUse = UseIndex >= CB.getNumArgOperands(); in determinePointerReadAttrs()
535 if (UseIndex >= F->arg_size() && !IsOperandBundleUse) { in determinePointerReadAttrs()
540 Captures &= !CB.doesNotCapture(UseIndex); in determinePointerReadAttrs()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/MCA/
H A DInstrBuilder.cpp480 Read.UseIndex = I; in populateReads()
484 << ", UseIndex=" << Read.UseIndex << '\n'); in populateReads()
492 Read.UseIndex = NumExplicitUses + I; in populateReads()
496 << ", UseIndex=" << Read.UseIndex << ", RegisterID=" in populateReads()
511 Read.UseIndex = NumExplicitUses + NumImplicitUses + I; in populateReads()
515 << ", UseIndex=" << Read.UseIndex << '\n'); in populateReads()
699 if (Mask.getBitWidth() > RD.UseIndex) { in createInstruction()
701 if (Mask[RD.UseIndex]) in createInstruction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/MCA/HardwareUnits/
H A DRegisterFile.cpp511 int ReadAdvance = STI.getReadAdvanceCycles(SC, RD.UseIndex, WriteResID); in collectWrites()
526 int ReadAdvance = STI.getReadAdvanceCycles(SC, RD.UseIndex, WriteResID); in collectWrites()
569 int ReadAdvance = STI.getReadAdvanceCycles(SC, RD.UseIndex, WriteResID); in checkRAWHazards()
592 int NegReadAdvance = -STI.getReadAdvanceCycles(SC, RD.UseIndex, WriteResID); in checkRAWHazards()
630 int ReadAdvance = STI.getReadAdvanceCycles(SC, RD.UseIndex, WriteResID); in addRegisterRead()
637 assert(STI.getReadAdvanceCycles(SC, RD.UseIndex, WriteResID) < 0); in addRegisterRead()
639 -STI.getReadAdvanceCycles(SC, RD.UseIndex, WriteResID)); in addRegisterRead()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MCA/
H A DInstruction.h170 unsigned UseIndex; member
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp118 size_t const UseIndex = Mapping.blockToIndex(UseBB); in hasPathCrossingSuspendPoint() local
120 bool const Result = Block[UseIndex].Kills[DefIndex]; in hasPathCrossingSuspendPoint()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrInfo.cpp3368 int UseIndex = in fixupIsDeadOrKill() local
3370 if (UseIndex != -1) { in fixupIsDeadOrKill()
3371 EndMI->getOperand(UseIndex).setIsKill(true); in fixupIsDeadOrKill()
3377 if (i != UseIndex) in fixupIsDeadOrKill()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp9342 for (unsigned UseIndex = 0, UseIndexEnd = Uses.size(); in ReplaceAllUsesOfValuesWith() local
9343 UseIndex != UseIndexEnd; ) { in ReplaceAllUsesOfValuesWith()
9346 SDNode *User = Uses[UseIndex].User; in ReplaceAllUsesOfValuesWith()
9356 unsigned i = Uses[UseIndex].Index; in ReplaceAllUsesOfValuesWith()
9357 SDUse &Use = *Uses[UseIndex].Use; in ReplaceAllUsesOfValuesWith()
9358 ++UseIndex; in ReplaceAllUsesOfValuesWith()
9361 } while (UseIndex != UseIndexEnd && Uses[UseIndex].User == User); in ReplaceAllUsesOfValuesWith()