class BasicBlockSectionsProfileReader

Declaration

class BasicBlockSectionsProfileReader : public ImmutablePass { /* full declaration omitted */ };

Description

ImmutablePass class - This class is used to provide information that does not need to be run. This is useful for things like target information and "basic" versions of AnalysisGroups.

Declared at: llvm/include/llvm/CodeGen/BasicBlockSectionsProfileReader.h:45

Inherits from: ImmutablePass

Member Variables

private const llvm::MemoryBuffer* MBuf = nullptr
private llvm::ProgramBBClusterInfoMapTy ProgramBBClusterInfo
private StringMap<llvm::StringRef> FuncAliasMap
public static char ID

Method Overview

Inherited from ImmutablePass:

Inherited from ModulePass:

Inherited from Pass:

Methods

BasicBlockSectionsProfileReader(
    const llvm::MemoryBuffer* Buf)

Declared at: llvm/include/llvm/CodeGen/BasicBlockSectionsProfileReader.h:49

Parameters

const llvm::MemoryBuffer* Buf

BasicBlockSectionsProfileReader()

Declared at: llvm/include/llvm/CodeGen/BasicBlockSectionsProfileReader.h:55

llvm::StringRef getAliasName(
    llvm::StringRef FuncName) const

Declared at: llvm/include/llvm/CodeGen/BasicBlockSectionsProfileReader.h:81

Parameters

llvm::StringRef FuncName

std::pair<bool, SmallVector<BBClusterInfo>>
getBBClusterInfoForFunction(
    llvm::StringRef FuncName) const

Declared at: llvm/include/llvm/CodeGen/BasicBlockSectionsProfileReader.h:75

Parameters

llvm::StringRef FuncName

llvm::StringRef getPassName() const

Description

getPassName - Return a nice clean name for a pass. This usually implemented in terms of the name that is registered by one of the Registration templates, but can be overloaded directly.

Declared at: llvm/include/llvm/CodeGen/BasicBlockSectionsProfileReader.h:60

void initializePass()

Description

Read profiles of basic blocks if available here.

Declared at: llvm/include/llvm/CodeGen/BasicBlockSectionsProfileReader.h:78

bool isFunctionHot(llvm::StringRef FuncName) const

Declared at: llvm/include/llvm/CodeGen/BasicBlockSectionsProfileReader.h:66

Parameters

llvm::StringRef FuncName