Home
last modified time | relevance | path

Searched refs:SourceIdx (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/llvm/lib/Analysis/
DLazyCallGraph.cpp476 int SourceIdx = SCCIndices[&SourceSCC]; in updatePostorderSequenceForEdgeInsertion() local
478 assert(SourceIdx < TargetIdx && "Cannot have equal indices here!"); in updatePostorderSequenceForEdgeInsertion()
489 SCCs.begin() + SourceIdx, SCCs.begin() + TargetIdx + 1, in updatePostorderSequenceForEdgeInsertion()
491 for (int i = SourceIdx, e = TargetIdx + 1; i < e; ++i) in updatePostorderSequenceForEdgeInsertion()
497 assert(SourceI > (SCCs.begin() + SourceIdx) && in updatePostorderSequenceForEdgeInsertion()
509 SourceIdx = SourceI - SCCs.begin(); in updatePostorderSequenceForEdgeInsertion()
510 assert(SCCs[SourceIdx] == &SourceSCC && in updatePostorderSequenceForEdgeInsertion()
517 if (SourceIdx + 1 < TargetIdx) { in updatePostorderSequenceForEdgeInsertion()
524 SCCs.begin() + SourceIdx + 1, SCCs.begin() + TargetIdx + 1, in updatePostorderSequenceForEdgeInsertion()
526 for (int i = SourceIdx + 1, e = TargetIdx + 1; i < e; ++i) in updatePostorderSequenceForEdgeInsertion()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLazyCallGraph.cpp464 int SourceIdx = SCCIndices[&SourceSCC]; in updatePostorderSequenceForEdgeInsertion() local
466 assert(SourceIdx < TargetIdx && "Cannot have equal indices here!"); in updatePostorderSequenceForEdgeInsertion()
477 SCCs.begin() + SourceIdx, SCCs.begin() + TargetIdx + 1, in updatePostorderSequenceForEdgeInsertion()
479 for (int i = SourceIdx, e = TargetIdx + 1; i < e; ++i) in updatePostorderSequenceForEdgeInsertion()
485 assert(SourceI > (SCCs.begin() + SourceIdx) && in updatePostorderSequenceForEdgeInsertion()
497 SourceIdx = SourceI - SCCs.begin(); in updatePostorderSequenceForEdgeInsertion()
498 assert(SCCs[SourceIdx] == &SourceSCC && in updatePostorderSequenceForEdgeInsertion()
505 if (SourceIdx + 1 < TargetIdx) { in updatePostorderSequenceForEdgeInsertion()
512 SCCs.begin() + SourceIdx + 1, SCCs.begin() + TargetIdx + 1, in updatePostorderSequenceForEdgeInsertion()
514 for (int i = SourceIdx + 1, e = TargetIdx + 1; i < e; ++i) in updatePostorderSequenceForEdgeInsertion()
[all …]
/external/llvm/lib/Analysis/
DLazyCallGraph.cpp290 int SourceIdx = SCCIndices[&SourceSCC]; in switchInternalEdgeToCall() local
292 if (TargetIdx < SourceIdx) { in switchInternalEdgeToCall()
340 assert(SourceIdx < TargetIdx && "Cannot have equal indices here!"); in switchInternalEdgeToCall()
357 make_range(SCCs.begin() + SourceIdx + 1, SCCs.begin() + TargetIdx + 1)) in switchInternalEdgeToCall()
365 SCCs.begin() + SourceIdx, SCCs.begin() + TargetIdx + 1, in switchInternalEdgeToCall()
367 for (int i = SourceIdx, e = TargetIdx + 1; i < e; ++i) in switchInternalEdgeToCall()
373 assert(SourceI > (SCCs.begin() + SourceIdx) && in switchInternalEdgeToCall()
386 SourceIdx = SourceI - SCCs.begin(); in switchInternalEdgeToCall()
396 if (SourceIdx + 1 < TargetIdx) { in switchInternalEdgeToCall()
416 if (SCCIndices.find(&EdgeC)->second <= SourceIdx) in switchInternalEdgeToCall()
[all …]
/external/llvm-project/llvm/tools/llvm-mca/Views/
DResourcePressureView.cpp56 const unsigned SourceIdx = Event.IR.getSourceIndex() % Source.size(); in onEvent() local
63 ResourceUsage[R2VIndex + NumResourceUnits * SourceIdx] += Use.second; in onEvent()