LLVM 20.0.0git
|
A wrapper of a binary basic block. More...
#include "llvm/Transforms/Utils/SampleProfileInference.h"
Public Member Functions | |
bool | isEntry () const |
Check if it is the entry block in the function. | |
bool | isExit () const |
Check if it is an exit block in the function. | |
Public Attributes | |
uint64_t | Index |
uint64_t | Weight {0} |
bool | HasUnknownWeight {true} |
bool | IsUnlikely {false} |
uint64_t | Flow {0} |
std::vector< FlowJump * > | SuccJumps |
std::vector< FlowJump * > | PredJumps |
A wrapper of a binary basic block.
Definition at line 26 of file SampleProfileInference.h.
|
inline |
Check if it is the entry block in the function.
Definition at line 36 of file SampleProfileInference.h.
References PredJumps.
|
inline |
Check if it is an exit block in the function.
Definition at line 39 of file SampleProfileInference.h.
References SuccJumps.
uint64_t llvm::FlowBlock::Flow {0} |
Definition at line 31 of file SampleProfileInference.h.
Definition at line 29 of file SampleProfileInference.h.
uint64_t llvm::FlowBlock::Index |
Definition at line 27 of file SampleProfileInference.h.
bool llvm::FlowBlock::IsUnlikely {false} |
Definition at line 30 of file SampleProfileInference.h.
std::vector<FlowJump *> llvm::FlowBlock::PredJumps |
Definition at line 33 of file SampleProfileInference.h.
Referenced by isEntry().
std::vector<FlowJump *> llvm::FlowBlock::SuccJumps |
Definition at line 32 of file SampleProfileInference.h.
Referenced by isExit().
uint64_t llvm::FlowBlock::Weight {0} |
Definition at line 28 of file SampleProfileInference.h.