reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/CodeGen/CodeGenFunction.cpp
 1375     if (CondBOp->getOpcode() == BO_LAnd) {
 1379       if (ConstantFoldsToSimpleInteger(CondBOp->getLHS(), ConstantBool) &&
 1382         incrementProfileCounter(CondBOp);
 1383         return EmitBranchOnBoolExpr(CondBOp->getRHS(), TrueBlock, FalseBlock,
 1389       if (ConstantFoldsToSimpleInteger(CondBOp->getRHS(), ConstantBool) &&
 1392         return EmitBranchOnBoolExpr(CondBOp->getLHS(), TrueBlock, FalseBlock,
 1401       uint64_t RHSCount = getProfileCount(CondBOp->getRHS());
 1406         EmitBranchOnBoolExpr(CondBOp->getLHS(), LHSTrue, FalseBlock, RHSCount);
 1410       incrementProfileCounter(CondBOp);
 1411       setCurrentProfileCount(getProfileCount(CondBOp->getRHS()));
 1415       EmitBranchOnBoolExpr(CondBOp->getRHS(), TrueBlock, FalseBlock, TrueCount);
 1421     if (CondBOp->getOpcode() == BO_LOr) {
 1425       if (ConstantFoldsToSimpleInteger(CondBOp->getLHS(), ConstantBool) &&
 1428         incrementProfileCounter(CondBOp);
 1429         return EmitBranchOnBoolExpr(CondBOp->getRHS(), TrueBlock, FalseBlock,
 1435       if (ConstantFoldsToSimpleInteger(CondBOp->getRHS(), ConstantBool) &&
 1438         return EmitBranchOnBoolExpr(CondBOp->getLHS(), TrueBlock, FalseBlock,
 1449           getCurrentProfileCount() - getProfileCount(CondBOp->getRHS());
 1455         EmitBranchOnBoolExpr(CondBOp->getLHS(), TrueBlock, LHSFalse, LHSCount);
 1459       incrementProfileCounter(CondBOp);
 1460       setCurrentProfileCount(getProfileCount(CondBOp->getRHS()));
 1464       EmitBranchOnBoolExpr(CondBOp->getRHS(), TrueBlock, FalseBlock, RHSCount);