Lines Matching refs:FuncInfo
347 FuncPGOInstrumentation<PGOEdge, BBInfo> FuncInfo(F, true, BPI, BFI); in instrumentOneFunc() local
348 for (auto &E : FuncInfo.MST.AllEdges) { in instrumentOneFunc()
355 for (auto &E : FuncInfo.MST.AllEdges) { in instrumentOneFunc()
356 BasicBlock *InstrBB = FuncInfo.getInstrBB(E.get()); in instrumentOneFunc()
365 {llvm::ConstantExpr::getBitCast(FuncInfo.FuncNameVar, I8PtrTy), in instrumentOneFunc()
366 Builder.getInt64(FuncInfo.FunctionHash), Builder.getInt32(NumCounters), in instrumentOneFunc()
384 {llvm::ConstantExpr::getBitCast(FuncInfo.FuncNameVar, I8PtrTy), in instrumentOneFunc()
385 Builder.getInt64(FuncInfo.FunctionHash), in instrumentOneFunc()
461 : F(Func), M(Modu), FuncInfo(Func, false, BPI, BFI), in PGOUseFunc()
489 FuncPGOInstrumentation<PGOUseEdge, UseBBInfo> FuncInfo; member in __anon10d6878d0211::PGOUseFunc
493 return FuncInfo.getBBInfo(BB); in getBBInfo()
514 const std::string getFuncName() const { return FuncInfo.FuncName; } in getFuncName()
540 for (auto &E : FuncInfo.MST.AllEdges) in setInstrumentedCounts()
545 BasicBlock *InstrBB = FuncInfo.getInstrBB(E); in setInstrumentedCounts()
559 PGOUseEdge &NewEdge = FuncInfo.MST.addEdge(SrcBB, InstrBB, 0); in setInstrumentedCounts()
562 PGOUseEdge &NewEdge1 = FuncInfo.MST.addEdge(InstrBB, DestBB, 0); in setInstrumentedCounts()
590 PGOReader->getInstrProfRecord(FuncInfo.FuncName, FuncInfo.FunctionHash); in readCounters()
638 for (auto &E : FuncInfo.MST.AllEdges) { in populateCounters()
706 DEBUG(FuncInfo.dumpInfo("after reading profile.")); in populateCounters()
760 createPGOFuncNameMetadata(F, FuncInfo.FuncName); in annotateIndirectCallSites()