LLVM 23.0.0git
StaticDataProfileInfo.h File Reference
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/Analysis/ProfileSummaryInfo.h"
#include "llvm/IR/Analysis.h"
#include "llvm/IR/Constant.h"
#include "llvm/IR/PassManager.h"
#include "llvm/Pass.h"
#include "llvm/Support/Compiler.h"
#include <memory>

Go to the source code of this file.

Classes

class  llvm::StaticDataProfileInfo
 A class that holds the constants that represent static data and their profile information and provides methods to operate on them. More...
class  llvm::StaticDataProfileInfoWrapperPass
 This wraps the StaticDataProfileInfo object as an immutable pass, for a backend pass to operate on. More...
class  llvm::StaticDataProfileInfoAnalysis
class  llvm::StaticDataProfileInfoAnalysis::Result

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::memprof

Enumerations

enum class  llvm::memprof::AnnotationKind : uint8_t { llvm::memprof::AnnotationOK , llvm::memprof::DeclForLinker , llvm::memprof::ExplicitSection , llvm::memprof::ReservedName }

Functions

LLVM_ABI AnnotationKind llvm::memprof::getAnnotationKind (const GlobalVariable &GV)
 Returns the annotation kind of the global variable GV.
LLVM_ABI bool llvm::memprof::IsAnnotationOK (const GlobalVariable &GV)
 Returns true if the annotation kind of the global variable GV is AnnotationOK.