class Function::ProfileCount
Declaration
class Function::ProfileCount { /* full declaration omitted */ };
Description
Class to represent profile counts. This class represents both real and synthetic profile counts.
Declared at: llvm/include/llvm/IR/Function.h:260
Method Overview
- public ProfileCount()
- public ProfileCount(uint64_t Count, llvm::Function::ProfileCountType PCT)
- public uint64_t getCount() const
- public static llvm::Function::ProfileCount getInvalid()
- public llvm::Function::ProfileCountType getType() const
- public bool hasValue() const
- public bool isSynthetic() const
- public bool operator bool()
- public llvm::Function::ProfileCount & setCount(uint64_t C)
Methods
¶ProfileCount()
ProfileCount()
Declared at: llvm/include/llvm/IR/Function.h:267
¶ProfileCount(uint64_t Count,
llvm::Function::ProfileCountType PCT)
ProfileCount(uint64_t Count,
llvm::Function::ProfileCountType PCT)
Declared at: llvm/include/llvm/IR/Function.h:268
Parameters
- uint64_t Count
- llvm::Function::ProfileCountType PCT
¶uint64_t getCount() const
uint64_t getCount() const
Declared at: llvm/include/llvm/IR/Function.h:271
¶static llvm::Function::ProfileCount getInvalid()
static llvm::Function::ProfileCount getInvalid()
Declared at: llvm/include/llvm/IR/Function.h:281
¶llvm::Function::ProfileCountType getType() const
llvm::Function::ProfileCountType getType() const
Declared at: llvm/include/llvm/IR/Function.h:272
¶bool hasValue() const
bool hasValue() const
Declared at: llvm/include/llvm/IR/Function.h:270
¶bool isSynthetic() const
bool isSynthetic() const
Declared at: llvm/include/llvm/IR/Function.h:273
¶bool operator bool()
bool operator bool()
Declared at: llvm/include/llvm/IR/Function.h:274
¶llvm::Function::ProfileCount& setCount(uint64_t C)
llvm::Function::ProfileCount& setCount(uint64_t C)
Declared at: llvm/include/llvm/IR/Function.h:277
Parameters
- uint64_t C