LLVM: llvm::SwitchInstProfUpdateWrapper Class Reference (original) (raw)
A wrapper class to simplify modification of SwitchInst cases along with their prof branch_weights metadata. More...
#include "[llvm/IR/Instructions.h](Instructions%5F8h%5Fsource.html)"
A wrapper class to simplify modification of SwitchInst cases along with their prof branch_weights metadata.
Definition at line 3492 of file Instructions.h.
◆ CaseWeightOpt
llvm::SwitchInstProfUpdateWrapper::SwitchInstProfUpdateWrapper ( SwitchInst & SI) |
inline |
◆ ~SwitchInstProfUpdateWrapper()
llvm::SwitchInstProfUpdateWrapper::~SwitchInstProfUpdateWrapper ( ) |
inline |
◆ addCase()
◆ buildProfBranchWeightsMD()
MDNode * SwitchInstProfUpdateWrapper::buildProfBranchWeightsMD ( ) |
protected |
◆ eraseFromParent()
◆ getSuccessorWeight() [1/2]
◆ getSuccessorWeight() [2/2]
◆ init()
void SwitchInstProfUpdateWrapper::init ( ) |
protected |
◆ operator SwitchInst *()
llvm::SwitchInstProfUpdateWrapper::operator SwitchInst * ( ) |
inline |
◆ operator*()
SwitchInst & llvm::SwitchInstProfUpdateWrapper::operator* ( ) |
inline |
◆ operator->()
SwitchInst * llvm::SwitchInstProfUpdateWrapper::operator-> ( ) |
inline |
◆ removeCase()
◆ setSuccessorWeight()
The documentation for this class was generated from the following files: