Lines Matching defs:PGOUseFunc
36 // pass PGOInstrumentationUse, the real work in done in class PGOUseFunc and
37 // the profile is opened in module level and passed to each PGOUseFunc instance.
432 class PGOUseFunc;
443 PGOUseFunc *UseFunc = nullptr;
470 void annotateSelects(PGOUseFunc *UF, unsigned *Ind) {
1089 class PGOUseFunc {
1091 PGOUseFunc(Function &Func, Module *Modu, TargetLibraryInfo &TLI,
1223 bool PGOUseFunc::setInstrumentedCounts(
1294 void PGOUseFunc::setEdgeCount(DirectEdges &Edges, uint64_t Value) {
1328 void PGOUseFunc::handleInstrProfError(Error Err, uint64_t MismatchedFuncSum) {
1371 bool PGOUseFunc::readCounters(IndexedInstrProfReader *PGOReader, bool &AllZeros,
1419 void PGOUseFunc::populateCoverage(IndexedInstrProfReader *PGOReader) {
1530 void PGOUseFunc::populateCounters() {
1610 void PGOUseFunc::setBranchWeights() {
1675 void PGOUseFunc::annotateIrrLoopHeaderWeights() {
1751 void PGOUseFunc::annotateValueSites() {
1763 void PGOUseFunc::annotateValueSites(uint32_t Kind) {
1930 static void fixFuncEntryCount(PGOUseFunc &Func, LoopInfo &LI,
1977 static void verifyFuncBFI(PGOUseFunc &Func, LoopInfo &LI,
2136 PGOUseFunc Func(F, &M, TLI, ComdatMembers, BPI, BFI, PSI, IsCS,
2169 PGOUseFunc::FuncFreqAttr FreqAttr = Func.getFuncFreqAttr();
2170 if (FreqAttr == PGOUseFunc::FFA_Cold)
2172 else if (FreqAttr == PGOUseFunc::FFA_Hot)
2347 template <> struct GraphTraits<PGOUseFunc *> {
2352 static NodeRef getEntryNode(const PGOUseFunc *G) {
2362 static nodes_iterator nodes_begin(const PGOUseFunc *G) {
2366 static nodes_iterator nodes_end(const PGOUseFunc *G) {
2371 template <> struct DOTGraphTraits<PGOUseFunc *> : DefaultDOTGraphTraits {
2375 static std::string getGraphName(const PGOUseFunc *G) {
2379 std::string getNodeLabel(const BasicBlock *Node, const PGOUseFunc *Graph) {