Lines Matching refs:CodeGenPGO
29 void CodeGenPGO::setFuncName(StringRef Name, in setFuncName()
56 void CodeGenPGO::setFuncName(llvm::Function *Fn) { in setFuncName()
60 void CodeGenPGO::createFuncNameVar(llvm::GlobalValue::LinkageTypes Linkage) { in createFuncNameVar()
239 CodeGenPGO &PGO;
257 CodeGenPGO &PGO) in ComputeRegionCounts()
657 void CodeGenPGO::checkGlobalDecl(GlobalDecl GD) { in checkGlobalDecl()
671 void CodeGenPGO::assignRegionCounters(const Decl *D, llvm::Function *Fn) { in assignRegionCounters()
692 void CodeGenPGO::mapRegionCounters(const Decl *D) { in mapRegionCounters()
708 void CodeGenPGO::emitCounterRegionMapping(const Decl *D) { in emitCounterRegionMapping()
732 CodeGenPGO::emitEmptyCounterMapping(const Decl *D, StringRef FuncName, in emitEmptyCounterMapping()
757 void CodeGenPGO::computeRegionCounts(const Decl *D) { in computeRegionCounts()
771 CodeGenPGO::applyFunctionAttributes(llvm::IndexedInstrProfReader *PGOReader, in applyFunctionAttributes()
788 void CodeGenPGO::emitCounterIncrement(CGBuilderTy &Builder, unsigned Counter) { in emitCounterIncrement()
801 void CodeGenPGO::loadRegionCounts(llvm::IndexedInstrProfReader *PGOReader, in loadRegionCounts()
842 llvm::MDNode *CodeGenPGO::createBranchWeights(uint64_t TrueCount, in createBranchWeights()
856 llvm::MDNode *CodeGenPGO::createBranchWeights(ArrayRef<uint64_t> Weights) { in createBranchWeights()
878 llvm::MDNode *CodeGenPGO::createLoopWeights(const Stmt *Cond, in createLoopWeights()