Set the profile weight of successor idx.
Declared in <llvm/IR/Instructions.h>
void
setSuccessorWeight(
unsigned int idx,
CaseWeightOpt W);
| Name | Description |
|---|---|
| idx | Successor index (0 = default). |
| W | Optional profile weight; nullopt clears the weight. |