reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Analysis/BlockFrequencyInfoImpl.h
  450     assert(Head.Index < Working.size());
  451     assert(Working[Head.Index].isLoopHeader());
  452     return *Working[Head.Index].Loop;
  642     BFI.Working[Node.Index].getMass() = BlockMass::getEmpty();
  662     for (uint32_t Index = 0; Index < BFI.Working.size(); ++Index)
  676   const auto &Working = BFI.Working[Node.Index];
 1080   Working.reserve(RPOT.size());
 1082     Working.emplace_back(Index);
 1104     Working[Header.Index].Loop = &Loops.back();
 1115     if (Working[Index].isLoopHeader()) {
 1116       LoopData *ContainingLoop = Working[Index].getContainingLoop();
 1129     const auto &HeaderData = Working[Header.Index];
 1132     Working[Index].Loop = HeaderData.Loop;
 1213     Working[Loop.getHeader().Index].getMass() = BlockMass::getFull();
 1231   assert(!Working.empty() && "no blocks in function");
 1232   assert(!Working[0].isLoopHeader() && "entry block is a loop header");
 1234   Working[0].getMass() = BlockMass::getFull();
 1238     if (Working[Node.Index].isPackaged())
 1314   if (auto *Loop = Working[Node.Index].getPackagedLoop()) {
lib/Analysis/BlockFrequencyInfoImpl.cpp
  275   std::vector<WorkingData>().swap(Working);
  302   BlockNode Resolved = Working[Succ.Index].getResolvedNode();
  323   if (Working[Resolved.Index].getContainingLoop() != OuterLoop) {
  405     if (auto *Loop = Working[M.Index].getPackagedLoop())
  428   BlockMass Mass = Working[Source.Index].getMass();
  438       Working[W.TargetNode.Index].getMass() += Taken;
  511     const auto &Working = BFI.Working[N.Index];
  523   for (size_t Index = 0; Index < Working.size(); ++Index)
  524     Freqs[Index].Scaled = Working[Index].Mass.toScaled();
  535   for (size_t Index = 0; Index < Working.size(); ++Index) {
  640   for (uint32_t Index = 0; Index < BFI.Working.size(); ++Index)
  641     if (!BFI.Working[Index].isPackaged())
  767     if (BFI.Working[N.Index].isLoopHeader())
  768       BFI.Working[N.Index].Loop->Parent = &*Loop;
  770       BFI.Working[N.Index].Loop = &*Loop;
  800     if (!Working[I->Index].isPackaged())
  837     Working[W.TargetNode.Index].getMass() = Taken;
  848     Working[W.TargetNode.Index].getMass() = Taken;