Lines Matching defs:Weights
1115 // need to divide the weights evenly between the generated cases, ensuring
1117 // will be distributed as weights of 2, 2, and 1.
1149 llvm::MDNode *Weights = nullptr;
1153 Weights = PGO.createBranchWeights(ThisCount, DefaultCount);
1160 Builder.CreateCondBr(Cond, CaseDest, FalseDest, Weights);
1588 "switch weights do not match switch cases");