Searched refs:UseIndex (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/MCA/ |
| H A D | InstrBuilder.cpp | 483 Read.UseIndex = I; in populateReads() 487 << ", UseIndex=" << Read.UseIndex << '\n'); in populateReads() 495 Read.UseIndex = NumExplicitUses + I; in populateReads() 499 << ", UseIndex=" << Read.UseIndex << ", RegisterID=" in populateReads() 514 Read.UseIndex = NumExplicitUses + NumImplicitUses + I; in populateReads() 518 << ", UseIndex=" << Read.UseIndex << '\n'); in populateReads() 733 if (Mask.getBitWidth() > RD.UseIndex) { in createInstruction() 735 if (Mask[RD.UseIndex]) in createInstruction()
|
| /llvm-project-15.0.7/llvm/lib/MCA/HardwareUnits/ |
| H A D | RegisterFile.cpp | 524 int ReadAdvance = STI.getReadAdvanceCycles(SC, RD.UseIndex, WriteResID); in collectWrites() 539 int ReadAdvance = STI.getReadAdvanceCycles(SC, RD.UseIndex, WriteResID); in collectWrites() 582 int ReadAdvance = STI.getReadAdvanceCycles(SC, RD.UseIndex, WriteResID); in checkRAWHazards() 605 int NegReadAdvance = -STI.getReadAdvanceCycles(SC, RD.UseIndex, WriteResID); in checkRAWHazards() 643 int ReadAdvance = STI.getReadAdvanceCycles(SC, RD.UseIndex, WriteResID); in addRegisterRead() 650 assert(STI.getReadAdvanceCycles(SC, RD.UseIndex, WriteResID) < 0); in addRegisterRead() 652 -STI.getReadAdvanceCycles(SC, RD.UseIndex, WriteResID)); in addRegisterRead()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | FunctionAttrs.cpp | 606 const unsigned UseIndex = CB->getDataOperandNo(U); in captured() local 607 if (UseIndex >= CB->arg_size()) { in captured() 619 if (UseIndex >= F->arg_size()) { in captured() 625 Uses.push_back(&*std::next(F->arg_begin(), UseIndex)); in captured() 715 const unsigned UseIndex = CB.getDataOperandNo(U); in determinePointerAccessAttrs() local 717 if (!CB.doesNotCapture(UseIndex)) { in determinePointerAccessAttrs() 735 if (CB.isArgOperand(U) && UseIndex < F->arg_size() && in determinePointerAccessAttrs() 736 SCCNodes.count(F->getArg(UseIndex))) in determinePointerAccessAttrs() 744 if (CB.doesNotAccessMemory(UseIndex)) { in determinePointerAccessAttrs() 746 } else if (CB.onlyReadsMemory() || CB.onlyReadsMemory(UseIndex)) { in determinePointerAccessAttrs() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/MCA/ |
| H A D | Instruction.h | 170 unsigned UseIndex; member
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | XRefsTests.cpp | 1893 void checkFindRefs(llvm::StringRef Test, bool UseIndex = false) { in checkFindRefs() argument 1921 EXPECT_THAT(findReferences(AST, P, 0, UseIndex ? TU.index().get() : nullptr) in checkFindRefs()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroFrame.cpp | 113 size_t const UseIndex = Mapping.blockToIndex(UseBB); in hasPathCrossingSuspendPoint() local 115 bool const Result = Block[UseIndex].Kills[DefIndex]; in hasPathCrossingSuspendPoint()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCInstrInfo.cpp | 3420 int UseIndex = in fixupIsDeadOrKill() local 3422 if (UseIndex != -1) { in fixupIsDeadOrKill() 3423 EndMI->getOperand(UseIndex).setIsKill(true); in fixupIsDeadOrKill() 3429 if (i != UseIndex) in fixupIsDeadOrKill()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 10427 for (unsigned UseIndex = 0, UseIndexEnd = Uses.size(); in ReplaceAllUsesOfValuesWith() local 10428 UseIndex != UseIndexEnd; ) { in ReplaceAllUsesOfValuesWith() 10431 SDNode *User = Uses[UseIndex].User; in ReplaceAllUsesOfValuesWith() 10435 ++UseIndex; in ReplaceAllUsesOfValuesWith() 10447 unsigned i = Uses[UseIndex].Index; in ReplaceAllUsesOfValuesWith() 10448 SDUse &Use = *Uses[UseIndex].Use; in ReplaceAllUsesOfValuesWith() 10449 ++UseIndex; in ReplaceAllUsesOfValuesWith() 10452 } while (UseIndex != UseIndexEnd && Uses[UseIndex].User == User); in ReplaceAllUsesOfValuesWith()
|