Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp297 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()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp381 unsigned UseIndex = in captured() local
384 assert(UseIndex < CS.data_operands_size() && in captured()
387 if (UseIndex >= CS.getNumArgOperands()) { in captured()
399 if (UseIndex >= F->arg_size()) { in captured()
405 Uses.push_back(&*std::next(F->arg_begin(), UseIndex)); in captured()
513 unsigned UseIndex = std::distance(CS.arg_begin(), U); in determinePointerReadAttrs() local
519 assert(UseIndex < CS.data_operands_size() && in determinePointerReadAttrs()
522 bool IsOperandBundleUse = UseIndex >= CS.getNumArgOperands(); in determinePointerReadAttrs()
524 if (UseIndex >= F->arg_size() && !IsOperandBundleUse) { in determinePointerReadAttrs()
529 Captures &= !CS.doesNotCapture(UseIndex); in determinePointerReadAttrs()
[all …]
/external/llvm-project/llvm/lib/MCA/
DInstrBuilder.cpp447 Read.UseIndex = I; in populateReads()
451 << ", UseIndex=" << Read.UseIndex << '\n'); in populateReads()
459 Read.UseIndex = NumExplicitUses + I; in populateReads()
463 << ", UseIndex=" << Read.UseIndex << ", RegisterID=" in populateReads()
483 Read.UseIndex = NumExplicitUses + NumImplicitUses + I; in populateReads()
487 << ", UseIndex=" << Read.UseIndex << '\n'); in populateReads()
669 if (Mask.getBitWidth() > RD.UseIndex) { in createInstruction()
671 if (Mask[RD.UseIndex]) in createInstruction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/
DInstrBuilder.cpp437 Read.UseIndex = I; in populateReads()
441 << ", UseIndex=" << Read.UseIndex << '\n'); in populateReads()
449 Read.UseIndex = NumExplicitUses + I; in populateReads()
453 << ", UseIndex=" << Read.UseIndex << ", RegisterID=" in populateReads()
473 Read.UseIndex = NumExplicitUses + NumImplicitUses + I; in populateReads()
477 << ", UseIndex=" << Read.UseIndex << '\n'); in populateReads()
666 if (Mask.getBitWidth() > RD.UseIndex) { in createInstruction()
668 if (Mask[RD.UseIndex]) in createInstruction()
/external/llvm-project/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp382 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()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroFrame.cpp106 size_t const UseIndex = Mapping.blockToIndex(UseBB); in hasPathCrossingSuspendPoint() local
108 assert(Block[UseIndex].Consumes[DefIndex] && "use must consume def"); in hasPathCrossingSuspendPoint()
109 bool const Result = Block[UseIndex].Kills[DefIndex]; in hasPathCrossingSuspendPoint()
/external/llvm-project/llvm/include/llvm/MCA/
DInstruction.h72 unsigned UseIndex; member
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/
DInstruction.h72 unsigned UseIndex; member
/external/llvm-project/llvm/lib/MCA/HardwareUnits/
DRegisterFile.cpp413 int ReadAdvance = STI.getReadAdvanceCycles(SC, RD.UseIndex, WriteResID); in addRegisterRead()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/HardwareUnits/
DRegisterFile.cpp422 int ReadAdvance = STI.getReadAdvanceCycles(SC, RD.UseIndex, WriteResID); in addRegisterRead()
/external/llvm-project/llvm/lib/Transforms/Coroutines/
DCoroFrame.cpp119 size_t const UseIndex = Mapping.blockToIndex(UseBB); in hasPathCrossingSuspendPoint() local
121 bool const Result = Block[UseIndex].Kills[DefIndex]; in hasPathCrossingSuspendPoint()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp6527 for (unsigned UseIndex = 0, UseIndexEnd = Uses.size(); in ReplaceAllUsesOfValuesWith() local
6528 UseIndex != UseIndexEnd; ) { in ReplaceAllUsesOfValuesWith()
6531 SDNode *User = Uses[UseIndex].User; in ReplaceAllUsesOfValuesWith()
6541 unsigned i = Uses[UseIndex].Index; in ReplaceAllUsesOfValuesWith()
6542 SDUse &Use = *Uses[UseIndex].Use; in ReplaceAllUsesOfValuesWith()
6543 ++UseIndex; in ReplaceAllUsesOfValuesWith()
6546 } while (UseIndex != UseIndexEnd && Uses[UseIndex].User == User); in ReplaceAllUsesOfValuesWith()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCInstrInfo.cpp2457 int UseIndex = in fixupIsDeadOrKill() local
2459 if (UseIndex != -1) { in fixupIsDeadOrKill()
2460 EndMI.getOperand(UseIndex).setIsKill(true); in fixupIsDeadOrKill()
2466 if (i != UseIndex) in fixupIsDeadOrKill()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp8634 for (unsigned UseIndex = 0, UseIndexEnd = Uses.size(); in ReplaceAllUsesOfValuesWith() local
8635 UseIndex != UseIndexEnd; ) { in ReplaceAllUsesOfValuesWith()
8638 SDNode *User = Uses[UseIndex].User; in ReplaceAllUsesOfValuesWith()
8648 unsigned i = Uses[UseIndex].Index; in ReplaceAllUsesOfValuesWith()
8649 SDUse &Use = *Uses[UseIndex].Use; in ReplaceAllUsesOfValuesWith()
8650 ++UseIndex; in ReplaceAllUsesOfValuesWith()
8653 } while (UseIndex != UseIndexEnd && Uses[UseIndex].User == User); in ReplaceAllUsesOfValuesWith()
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCInstrInfo.cpp2906 int UseIndex = in fixupIsDeadOrKill() local
2908 if (UseIndex != -1) { in fixupIsDeadOrKill()
2909 EndMI->getOperand(UseIndex).setIsKill(true); in fixupIsDeadOrKill()
2915 if (i != UseIndex) in fixupIsDeadOrKill()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp8835 for (unsigned UseIndex = 0, UseIndexEnd = Uses.size(); in ReplaceAllUsesOfValuesWith() local
8836 UseIndex != UseIndexEnd; ) { in ReplaceAllUsesOfValuesWith()
8839 SDNode *User = Uses[UseIndex].User; in ReplaceAllUsesOfValuesWith()
8849 unsigned i = Uses[UseIndex].Index; in ReplaceAllUsesOfValuesWith()
8850 SDUse &Use = *Uses[UseIndex].Use; in ReplaceAllUsesOfValuesWith()
8851 ++UseIndex; in ReplaceAllUsesOfValuesWith()
8854 } while (UseIndex != UseIndexEnd && Uses[UseIndex].User == User); in ReplaceAllUsesOfValuesWith()