struct FlowBlock
Declaration
struct FlowBlock { /* full declaration omitted */ };
Description
A wrapper of a binary basic block.
Declared at: llvm/include/llvm/Transforms/Utils/SampleProfileInference.h:48
Member Variables
- public uint64_t Index
- public uint64_t Weight = {0}
- public bool UnknownWeight = {false}
- public uint64_t Flow = {0}
- public bool HasSelfEdge = {false}
- public std::vector<FlowJump*> SuccJumps
- public std::vector<FlowJump*> PredJumps
Method Overview
Methods
¶bool isEntry() const
bool isEntry() const
Description
Check if it is the entry block in the function.
Declared at: llvm/include/llvm/Transforms/Utils/SampleProfileInference.h:58
¶bool isExit() const
bool isExit() const
Description
Check if it is an exit block in the function.
Declared at: llvm/include/llvm/Transforms/Utils/SampleProfileInference.h:61