LLVM: lib/ProfileData/InstrProfCorrelator.cpp File Reference (original) (raw)

Classes |Namespaces |Macros |Functions

InstrProfCorrelator.cpp File Reference

#include "[llvm/ProfileData/InstrProfCorrelator.h](InstrProfCorrelator%5F8h%5Fsource.html)"
#include "[llvm/DebugInfo/DIContext.h](DIContext%5F8h%5Fsource.html)"
#include "[llvm/DebugInfo/DWARF/DWARFContext.h](DWARFContext%5F8h%5Fsource.html)"
#include "[llvm/DebugInfo/DWARF/DWARFDie.h](DWARFDie%5F8h%5Fsource.html)"
#include "[llvm/DebugInfo/DWARF/DWARFFormValue.h](DWARFFormValue%5F8h%5Fsource.html)"
#include "[llvm/DebugInfo/DWARF/DWARFLocationExpression.h](DWARFLocationExpression%5F8h%5Fsource.html)"
#include "[llvm/DebugInfo/DWARF/DWARFUnit.h](DWARFUnit%5F8h%5Fsource.html)"
#include "[llvm/DebugInfo/DWARF/LowLevel/DWARFExpression.h](DWARFExpression%5F8h%5Fsource.html)"
#include "[llvm/Object/MachO.h](Object%5F2MachO%5F8h%5Fsource.html)"
#include "[llvm/Support/Debug.h](Support%5F2Debug%5F8h%5Fsource.html)"
#include "[llvm/Support/Format.h](Format%5F8h%5Fsource.html)"
#include "[llvm/Support/WithColor.h](WithColor%5F8h%5Fsource.html)"
#include <optional>

Go to the source code of this file.

Classes
struct llvm::yaml::MappingTraits< InstrProfCorrelator::CorrelationData >
struct llvm::yaml::MappingTraits< InstrProfCorrelator::Probe >
struct llvm::yaml::SequenceElementTraits< InstrProfCorrelator::Probe >
Namespaces
namespace llvm
This is an optimization pass for GlobalISel generic memory operations.
Macros
#define DEBUG_TYPE "correlator"
Functions
static Expected< object::SectionRef > getInstrProfSection (const object::ObjectFile &Obj, InstrProfSectKind IPSK)
Get profile section.

Macro Definition Documentation

DEBUG_TYPE

#define DEBUG_TYPE "correlator"

Definition at line 23 of file InstrProfCorrelator.cpp.

Function Documentation

getInstrProfSection()

Expected< object::SectionRef > getInstrProfSection ( const object::ObjectFile & Obj, InstrProfSectKind IPSK ) static

Get profile section.

Definition at line 29 of file InstrProfCorrelator.cpp.

References llvm::Triple::COFF, llvm::getInstrProfSectionName(), llvm::make_error(), N, and llvm::unable_to_correlate_profile.

Referenced by llvm::InstrProfCorrelator::Context::get().


Generated on for LLVM by doxygen 1.14.0