Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DReassociate.cpp278 BinaryOperator *LHSBO = isReassociableOp(LHS, Opcode); in LinearizeExprTree() local
284 if (!LHSBO && LHS->hasOneUse() && BinaryOperator::isNeg(LHS)) { in LinearizeExprTree()
286 LHSBO = isReassociableOp(LHS, Opcode); in LinearizeExprTree()
294 if (!LHSBO) { in LinearizeExprTree()
308 std::swap(LHSBO, RHSBO); in LinearizeExprTree()
318 LHS = LHSBO = cast<BinaryOperator>(I->getOperand(0)); in LinearizeExprTree()
329 LHSBO->moveBefore(I); in LinearizeExprTree()
332 LinearizeExprTree(LHSBO, Ops); in LinearizeExprTree()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DValueTracking.cpp5128 const BinaryOperator *LHSBO = dyn_cast<BinaryOperator>(LHS); in isImpliedCondition() local
5129 if (LHSBO && RHSCmp) { in isImpliedCondition()
5130 if ((LHSBO->getOpcode() == Instruction::And || in isImpliedCondition()
5131 LHSBO->getOpcode() == Instruction::Or)) in isImpliedCondition()
5132 return isImpliedCondAndOr(LHSBO, RHSCmp, DL, LHSIsTrue, Depth); in isImpliedCondition()
/external/clang/lib/Sema/
DSemaExpr.cpp10992 BinaryOperator *LHSBO = dyn_cast<BinaryOperator>(LHSExpr); in DiagnoseBitwisePrecedence() local
10996 bool isLeftComp = LHSBO && LHSBO->isComparisonOp(); in DiagnoseBitwisePrecedence()
11003 bool isLeftBitwise = LHSBO && LHSBO->isBitwiseOp(); in DiagnoseBitwisePrecedence()
11011 StringRef OpStr = isLeftComp ? LHSBO->getOpcodeStr() : RHSBO->getOpcodeStr(); in DiagnoseBitwisePrecedence()
11013 SourceRange(LHSBO->getRHS()->getLocStart(), RHSExpr->getLocEnd()) in DiagnoseBitwisePrecedence()