Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:Weights

1126     // need to divide the weights evenly between the generated cases, ensuring
1128 // will be distributed as weights of 2, 2, and 1.
1160 llvm::MDNode *Weights = nullptr;
1164 Weights = createProfileWeights(ThisCount, DefaultCount);
1171 Builder.CreateCondBr(Cond, CaseDest, FalseDest, Weights);
1612 "switch weights do not match switch cases");