Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:CodeGenPGO

1 //===--- CodeGenPGO.cpp - PGO Instrumentation for LLVM CodeGen --*- C++ -*-===//
14 #include "CodeGenPGO.h"
27 void CodeGenPGO::setFuncName(llvm::Function *Fn) {
107 llvm::GlobalVariable *CodeGenPGO::buildDataVar() {
157 void CodeGenPGO::emitInstrumentationData() {
174 llvm::Function *CodeGenPGO::emitInitialization(CodeGenModule &CGM) {
360 CodeGenPGO &PGO;
378 CodeGenPGO &PGO)
810 void CodeGenPGO::assignRegionCounters(const Decl *D, llvm::Function *Fn) {
847 void CodeGenPGO::mapRegionCounters(const Decl *D) {
863 void CodeGenPGO::computeRegionCounts(const Decl *D) {
877 CodeGenPGO::applyFunctionAttributes(llvm::IndexedInstrProfReader *PGOReader,
894 void CodeGenPGO::emitCounterVariables() {
906 void CodeGenPGO::emitCounterIncrement(CGBuilderTy &Builder, unsigned Counter) {
916 void CodeGenPGO::loadRegionCounts(llvm::IndexedInstrProfReader *PGOReader,
931 void CodeGenPGO::destroyRegionCounters() {
962 llvm::MDNode *CodeGenPGO::createBranchWeights(uint64_t TrueCount,
976 llvm::MDNode *CodeGenPGO::createBranchWeights(ArrayRef<uint64_t> Weights) {
998 llvm::MDNode *CodeGenPGO::createLoopWeights(const Stmt *Cond,