Home
last modified time | relevance | path

Searched refs:SuccCounts (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/LLVM/tools/llvm-prof/
Dllvm-prof.cpp105 std::vector<std::pair<ProfileInfo::Edge, double> > SuccCounts; in emitBasicBlockEndAnnot() local
112 SuccCounts.push_back(std::make_pair(std::make_pair(BB, Succ), w)); in emitBasicBlockEndAnnot()
114 if (!SuccCounts.empty()) { in emitBasicBlockEndAnnot()
116 for (unsigned i = 0, e = SuccCounts.size(); i != e; ++i) in emitBasicBlockEndAnnot()
117 OS << " [" << (SuccCounts[i]).second << " -> " in emitBasicBlockEndAnnot()
118 << (SuccCounts[i]).first.second->getName() << "]"; in emitBasicBlockEndAnnot()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86SpeculativeLoadHardening.cpp707 SmallDenseMap<MachineBasicBlock *, int> SuccCounts; in tracePredStateThroughCFG() local
709 ++SuccCounts[UncondSucc]; in tracePredStateThroughCFG()
711 ++SuccCounts[CondBr->getOperand(0).getMBB()]; in tracePredStateThroughCFG()
777 int &SuccCount = SuccCounts[&Succ]; in tracePredStateThroughCFG()
806 assert(SuccCounts[UncondSucc] == 1 && in tracePredStateThroughCFG()