Home
last modified time | relevance | path

Searched refs:CondBOp (Results 1 – 1 of 1) sorted by relevance

/external/clang/lib/CodeGen/
DCodeGenFunction.cpp646 if (const BinaryOperator *CondBOp = dyn_cast<BinaryOperator>(Cond)) { in EmitBranchOnBoolExpr() local
648 if (CondBOp->getOpcode() == BO_LAnd) { in EmitBranchOnBoolExpr()
652 if (ConstantFoldsToSimpleInteger(CondBOp->getLHS(), ConstantBool) && in EmitBranchOnBoolExpr()
655 return EmitBranchOnBoolExpr(CondBOp->getRHS(), TrueBlock, FalseBlock); in EmitBranchOnBoolExpr()
660 if (ConstantFoldsToSimpleInteger(CondBOp->getRHS(), ConstantBool) && in EmitBranchOnBoolExpr()
663 return EmitBranchOnBoolExpr(CondBOp->getLHS(), TrueBlock, FalseBlock); in EmitBranchOnBoolExpr()
671 EmitBranchOnBoolExpr(CondBOp->getLHS(), LHSTrue, FalseBlock); in EmitBranchOnBoolExpr()
676 EmitBranchOnBoolExpr(CondBOp->getRHS(), TrueBlock, FalseBlock); in EmitBranchOnBoolExpr()
682 if (CondBOp->getOpcode() == BO_LOr) { in EmitBranchOnBoolExpr()
686 if (ConstantFoldsToSimpleInteger(CondBOp->getLHS(), ConstantBool) && in EmitBranchOnBoolExpr()
[all …]