Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp375 unsigned UseIndex = in captured() local
378 assert(UseIndex < CS.data_operands_size() && in captured()
381 if (UseIndex >= CS.getNumArgOperands()) { in captured()
393 if (UseIndex >= F->arg_size()) { in captured()
399 Uses.push_back(&*std::next(F->arg_begin(), UseIndex)); in captured()
507 unsigned UseIndex = std::distance(CS.arg_begin(), U); in determinePointerReadAttrs() local
513 assert(UseIndex < CS.data_operands_size() && in determinePointerReadAttrs()
516 bool IsOperandBundleUse = UseIndex >= CS.getNumArgOperands(); in determinePointerReadAttrs()
518 if (UseIndex >= F->arg_size() && !IsOperandBundleUse) { in determinePointerReadAttrs()
523 Captures &= !CS.doesNotCapture(UseIndex); in determinePointerReadAttrs()
[all …]
/freebsd-12.1/contrib/llvm/lib/MCA/
H A DInstrBuilder.cpp424 Read.UseIndex = I; in populateReads()
428 << ", UseIndex=" << Read.UseIndex << '\n'); in populateReads()
436 Read.UseIndex = NumExplicitUses + I; in populateReads()
440 << ", UseIndex=" << Read.UseIndex << ", RegisterID=" in populateReads()
461 Read.UseIndex = NumExplicitUses + NumImplicitUses + I; in populateReads()
465 << ", UseIndex=" << Read.UseIndex << '\n'); in populateReads()
655 if (Mask.getBitWidth() > RD.UseIndex) { in createInstruction()
657 if (Mask[RD.UseIndex]) in createInstruction()
/freebsd-12.1/contrib/llvm/lib/MCA/Stages/
H A DDispatchStage.cpp82 int ReadAdvance = STI.getReadAdvanceCycles(SC, RD.UseIndex, WriteResID); in updateRAWDependencies()
/freebsd-12.1/contrib/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp105 size_t const UseIndex = Mapping.blockToIndex(UseBB); in hasPathCrossingSuspendPoint() local
107 assert(Block[UseIndex].Consumes[DefIndex] && "use must consume def"); in hasPathCrossingSuspendPoint()
108 bool const Result = Block[UseIndex].Kills[DefIndex]; in hasPathCrossingSuspendPoint()
/freebsd-12.1/contrib/llvm/include/llvm/MCA/
H A DInstruction.h72 unsigned UseIndex; member
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp8375 for (unsigned UseIndex = 0, UseIndexEnd = Uses.size(); in ReplaceAllUsesOfValuesWith() local
8376 UseIndex != UseIndexEnd; ) { in ReplaceAllUsesOfValuesWith()
8379 SDNode *User = Uses[UseIndex].User; in ReplaceAllUsesOfValuesWith()
8389 unsigned i = Uses[UseIndex].Index; in ReplaceAllUsesOfValuesWith()
8390 SDUse &Use = *Uses[UseIndex].Use; in ReplaceAllUsesOfValuesWith()
8391 ++UseIndex; in ReplaceAllUsesOfValuesWith()
8394 } while (UseIndex != UseIndexEnd && Uses[UseIndex].User == User); in ReplaceAllUsesOfValuesWith()