Lines Matching refs:LH
1514 Stmt::Likelihood LH) { in EmitBranchOnBoolExpr() argument
1529 TrueCount, LH); in EmitBranchOnBoolExpr()
1538 TrueCount, LH); in EmitBranchOnBoolExpr()
1555 LH == Stmt::LH_Unlikely ? Stmt::LH_None : LH); in EmitBranchOnBoolExpr()
1565 LH); in EmitBranchOnBoolExpr()
1580 TrueCount, LH); in EmitBranchOnBoolExpr()
1589 TrueCount, LH); in EmitBranchOnBoolExpr()
1609 LH == Stmt::LH_Likely ? Stmt::LH_None : LH); in EmitBranchOnBoolExpr()
1619 LH); in EmitBranchOnBoolExpr()
1633 LH = static_cast<Stmt::Likelihood>(-LH); in EmitBranchOnBoolExpr()
1636 FalseCount, LH); in EmitBranchOnBoolExpr()
1669 LHSScaledTrueCount, LH); in EmitBranchOnBoolExpr()
1676 TrueCount - LHSScaledTrueCount, LH); in EmitBranchOnBoolExpr()
1705 llvm::MDNode *Weights = createBranchWeights(LH); in EmitBranchOnBoolExpr()
2561 getLikelihoodWeights(Stmt::Likelihood LH) { in getLikelihoodWeights() argument
2562 switch (LH) { in getLikelihoodWeights()
2575 llvm::MDNode *CodeGenFunction::createBranchWeights(Stmt::Likelihood LH) const { in createBranchWeights()
2576 Optional<std::pair<uint32_t, uint32_t>> LHW = getLikelihoodWeights(LH); in createBranchWeights()