Home
last modified time | relevance | path

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

12

/dports/security/clamav-lts/clamav-0.103.5/libclamav/c++/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp266 BinaryOperator *LHSBO = isReassociableOp(LHS, Opcode); in LinearizeExprTree() local
272 if (!LHSBO && LHS->hasOneUse() && BinaryOperator::isNeg(LHS)) { in LinearizeExprTree()
274 LHSBO = isReassociableOp(LHS, Opcode); in LinearizeExprTree()
282 if (!LHSBO) { in LinearizeExprTree()
296 std::swap(LHSBO, RHSBO); in LinearizeExprTree()
306 LHS = LHSBO = cast<BinaryOperator>(I->getOperand(0)); in LinearizeExprTree()
317 LHSBO->moveBefore(I); in LinearizeExprTree()
320 LinearizeExprTree(LHSBO, Ops); in LinearizeExprTree()
/dports/devel/llvm80/llvm-8.0.1.src/lib/Analysis/
H A DValueTracking.cpp5393 const BinaryOperator *LHSBO = dyn_cast<BinaryOperator>(LHS); in isImpliedCondition() local
5394 if (LHSBO && RHSCmp) { in isImpliedCondition()
5395 if ((LHSBO->getOpcode() == Instruction::And || in isImpliedCondition()
5396 LHSBO->getOpcode() == Instruction::Or)) in isImpliedCondition()
5397 return isImpliedCondAndOr(LHSBO, RHSCmp, DL, LHSIsTrue, Depth); in isImpliedCondition()
/dports/devel/llvm70/llvm-7.0.1.src/lib/Analysis/
H A DValueTracking.cpp5128 const BinaryOperator *LHSBO = dyn_cast<BinaryOperator>(LHS);
5129 if (LHSBO && RHSCmp) {
5130 if ((LHSBO->getOpcode() == Instruction::And ||
5131 LHSBO->getOpcode() == Instruction::Or))
5132 return isImpliedCondAndOr(LHSBO, RHSCmp, DL, LHSIsTrue, Depth);
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp5554 const BinaryOperator *LHSBO = dyn_cast<BinaryOperator>(LHS); in isImpliedCondition() local
5555 if (LHSBO && RHSCmp) { in isImpliedCondition()
5556 if ((LHSBO->getOpcode() == Instruction::And || in isImpliedCondition()
5557 LHSBO->getOpcode() == Instruction::Or)) in isImpliedCondition()
5558 return isImpliedCondAndOr(LHSBO, RHSCmp, DL, LHSIsTrue, Depth); in isImpliedCondition()
/dports/devel/llvm10/llvm-10.0.1.src/lib/Analysis/
H A DValueTracking.cpp5554 const BinaryOperator *LHSBO = dyn_cast<BinaryOperator>(LHS); in isImpliedCondition() local
5555 if (LHSBO && RHSCmp) { in isImpliedCondition()
5556 if ((LHSBO->getOpcode() == Instruction::And || in isImpliedCondition()
5557 LHSBO->getOpcode() == Instruction::Or)) in isImpliedCondition()
5558 return isImpliedCondAndOr(LHSBO, RHSCmp, DL, LHSIsTrue, Depth); in isImpliedCondition()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A DValueTracking.cpp5554 const BinaryOperator *LHSBO = dyn_cast<BinaryOperator>(LHS); in isImpliedCondition() local
5555 if (LHSBO && RHSCmp) { in isImpliedCondition()
5556 if ((LHSBO->getOpcode() == Instruction::And || in isImpliedCondition()
5557 LHSBO->getOpcode() == Instruction::Or)) in isImpliedCondition()
5558 return isImpliedCondAndOr(LHSBO, RHSCmp, DL, LHSIsTrue, Depth); in isImpliedCondition()
/dports/devel/llvm90/llvm-9.0.1.src/lib/Analysis/
H A DValueTracking.cpp5372 const BinaryOperator *LHSBO = dyn_cast<BinaryOperator>(LHS); in isImpliedCondition() local
5373 if (LHSBO && RHSCmp) { in isImpliedCondition()
5374 if ((LHSBO->getOpcode() == Instruction::And || in isImpliedCondition()
5375 LHSBO->getOpcode() == Instruction::Or)) in isImpliedCondition()
5376 return isImpliedCondAndOr(LHSBO, RHSCmp, DL, LHSIsTrue, Depth); in isImpliedCondition()
/dports/devel/llvm11/llvm-11.0.1.src/lib/Analysis/
H A DValueTracking.cpp6032 const BinaryOperator *LHSBO = dyn_cast<BinaryOperator>(LHS); in isImpliedCondition() local
6033 if (LHSBO) { in isImpliedCondition()
6034 if ((LHSBO->getOpcode() == Instruction::And || in isImpliedCondition()
6035 LHSBO->getOpcode() == Instruction::Or)) in isImpliedCondition()
6036 return isImpliedCondAndOr(LHSBO, RHSPred, RHSOp0, RHSOp1, DL, LHSIsTrue, in isImpliedCondition()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/lib/Analysis/
H A DValueTracking.cpp6203 const BinaryOperator *LHSBO = dyn_cast<BinaryOperator>(LHS); in isImpliedCondition() local
6204 if (LHSBO) { in isImpliedCondition()
6205 if ((LHSBO->getOpcode() == Instruction::And || in isImpliedCondition()
6206 LHSBO->getOpcode() == Instruction::Or)) in isImpliedCondition()
6207 return isImpliedCondAndOr(LHSBO, RHSPred, RHSOp0, RHSOp1, DL, LHSIsTrue, in isImpliedCondition()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/lib/Analysis/
H A DValueTracking.cpp6192 const BinaryOperator *LHSBO = dyn_cast<BinaryOperator>(LHS); in isImpliedCondition() local
6193 if (LHSBO) { in isImpliedCondition()
6194 if ((LHSBO->getOpcode() == Instruction::And || in isImpliedCondition()
6195 LHSBO->getOpcode() == Instruction::Or)) in isImpliedCondition()
6196 return isImpliedCondAndOr(LHSBO, RHSPred, RHSOp0, RHSOp1, DL, LHSIsTrue, in isImpliedCondition()
/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/lib/Sema/
H A DSemaExpr.cpp12245 BinaryOperator *LHSBO = dyn_cast<BinaryOperator>(LHSExpr); in DiagnoseBitwisePrecedence() local
12249 bool isLeftComp = LHSBO && LHSBO->isComparisonOp(); in DiagnoseBitwisePrecedence()
12256 bool isLeftBitwise = LHSBO && LHSBO->isBitwiseOp(); in DiagnoseBitwisePrecedence()
12264 StringRef OpStr = isLeftComp ? LHSBO->getOpcodeStr() : RHSBO->getOpcodeStr(); in DiagnoseBitwisePrecedence()
12266 SourceRange(LHSBO->getRHS()->getLocStart(), RHSExpr->getLocEnd()) in DiagnoseBitwisePrecedence()
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/lib/Sema/
H A DSemaExpr.cpp12732 BinaryOperator *LHSBO = dyn_cast<BinaryOperator>(LHSExpr); in DiagnoseBitwisePrecedence() local
12736 bool isLeftComp = LHSBO && LHSBO->isComparisonOp(); in DiagnoseBitwisePrecedence()
12743 bool isLeftBitwise = LHSBO && LHSBO->isBitwiseOp(); in DiagnoseBitwisePrecedence()
12751 StringRef OpStr = isLeftComp ? LHSBO->getOpcodeStr() : RHSBO->getOpcodeStr(); in DiagnoseBitwisePrecedence()
12754 ? SourceRange(LHSBO->getRHS()->getBeginLoc(), RHSExpr->getEndLoc()) in DiagnoseBitwisePrecedence()
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/lib/Sema/
H A DSemaExpr.cpp12508 BinaryOperator *LHSBO = dyn_cast<BinaryOperator>(LHSExpr); in DiagnoseBitwisePrecedence() local
12512 bool isLeftComp = LHSBO && LHSBO->isComparisonOp(); in DiagnoseBitwisePrecedence()
12519 bool isLeftBitwise = LHSBO && LHSBO->isBitwiseOp(); in DiagnoseBitwisePrecedence()
12527 StringRef OpStr = isLeftComp ? LHSBO->getOpcodeStr() : RHSBO->getOpcodeStr(); in DiagnoseBitwisePrecedence()
12530 ? SourceRange(LHSBO->getRHS()->getBeginLoc(), RHSExpr->getEndLoc()) in DiagnoseBitwisePrecedence()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp13206 BinaryOperator *LHSBO = dyn_cast<BinaryOperator>(LHSExpr); in DiagnoseBitwisePrecedence() local
13210 bool isLeftComp = LHSBO && LHSBO->isComparisonOp(); in DiagnoseBitwisePrecedence()
13217 bool isLeftBitwise = LHSBO && LHSBO->isBitwiseOp(); in DiagnoseBitwisePrecedence()
13225 StringRef OpStr = isLeftComp ? LHSBO->getOpcodeStr() : RHSBO->getOpcodeStr(); in DiagnoseBitwisePrecedence()
13228 ? SourceRange(LHSBO->getRHS()->getBeginLoc(), RHSExpr->getEndLoc()) in DiagnoseBitwisePrecedence()
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/lib/Sema/
H A DSemaExpr.cpp14120 BinaryOperator *LHSBO = dyn_cast<BinaryOperator>(LHSExpr); in DiagnoseBitwisePrecedence() local
14124 bool isLeftComp = LHSBO && LHSBO->isComparisonOp(); in DiagnoseBitwisePrecedence()
14131 bool isLeftBitwise = LHSBO && LHSBO->isBitwiseOp(); in DiagnoseBitwisePrecedence()
14139 StringRef OpStr = isLeftComp ? LHSBO->getOpcodeStr() : RHSBO->getOpcodeStr(); in DiagnoseBitwisePrecedence()
14142 ? SourceRange(LHSBO->getRHS()->getBeginLoc(), RHSExpr->getEndLoc()) in DiagnoseBitwisePrecedence()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/lib/Sema/
H A DSemaExpr.cpp14195 BinaryOperator *LHSBO = dyn_cast<BinaryOperator>(LHSExpr); in DiagnoseBitwisePrecedence() local
14199 bool isLeftComp = LHSBO && LHSBO->isComparisonOp(); in DiagnoseBitwisePrecedence()
14206 bool isLeftBitwise = LHSBO && LHSBO->isBitwiseOp(); in DiagnoseBitwisePrecedence()
14214 StringRef OpStr = isLeftComp ? LHSBO->getOpcodeStr() : RHSBO->getOpcodeStr(); in DiagnoseBitwisePrecedence()
14217 ? SourceRange(LHSBO->getRHS()->getBeginLoc(), RHSExpr->getEndLoc()) in DiagnoseBitwisePrecedence()
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/lib/Sema/
H A DSemaExpr.cpp13206 BinaryOperator *LHSBO = dyn_cast<BinaryOperator>(LHSExpr); in DiagnoseBitwisePrecedence() local
13210 bool isLeftComp = LHSBO && LHSBO->isComparisonOp(); in DiagnoseBitwisePrecedence()
13217 bool isLeftBitwise = LHSBO && LHSBO->isBitwiseOp(); in DiagnoseBitwisePrecedence()
13225 StringRef OpStr = isLeftComp ? LHSBO->getOpcodeStr() : RHSBO->getOpcodeStr(); in DiagnoseBitwisePrecedence()
13228 ? SourceRange(LHSBO->getRHS()->getBeginLoc(), RHSExpr->getEndLoc()) in DiagnoseBitwisePrecedence()
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/lib/Sema/
H A DSemaExpr.cpp13961 BinaryOperator *LHSBO = dyn_cast<BinaryOperator>(LHSExpr); in DiagnoseBitwisePrecedence() local
13965 bool isLeftComp = LHSBO && LHSBO->isComparisonOp(); in DiagnoseBitwisePrecedence()
13972 bool isLeftBitwise = LHSBO && LHSBO->isBitwiseOp(); in DiagnoseBitwisePrecedence()
13980 StringRef OpStr = isLeftComp ? LHSBO->getOpcodeStr() : RHSBO->getOpcodeStr(); in DiagnoseBitwisePrecedence()
13983 ? SourceRange(LHSBO->getRHS()->getBeginLoc(), RHSExpr->getEndLoc()) in DiagnoseBitwisePrecedence()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/lib/Sema/
H A DSemaExpr.cpp14023 BinaryOperator *LHSBO = dyn_cast<BinaryOperator>(LHSExpr); in DiagnoseBitwisePrecedence() local
14027 bool isLeftComp = LHSBO && LHSBO->isComparisonOp(); in DiagnoseBitwisePrecedence()
14034 bool isLeftBitwise = LHSBO && LHSBO->isBitwiseOp(); in DiagnoseBitwisePrecedence()
14042 StringRef OpStr = isLeftComp ? LHSBO->getOpcodeStr() : RHSBO->getOpcodeStr(); in DiagnoseBitwisePrecedence()
14045 ? SourceRange(LHSBO->getRHS()->getBeginLoc(), RHSExpr->getEndLoc()) in DiagnoseBitwisePrecedence()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang/lib/Sema/
H A DSemaExpr.cpp14120 BinaryOperator *LHSBO = dyn_cast<BinaryOperator>(LHSExpr); in DiagnoseBitwisePrecedence() local
14124 bool isLeftComp = LHSBO && LHSBO->isComparisonOp(); in DiagnoseBitwisePrecedence()
14131 bool isLeftBitwise = LHSBO && LHSBO->isBitwiseOp(); in DiagnoseBitwisePrecedence()
14139 StringRef OpStr = isLeftComp ? LHSBO->getOpcodeStr() : RHSBO->getOpcodeStr(); in DiagnoseBitwisePrecedence()
14142 ? SourceRange(LHSBO->getRHS()->getBeginLoc(), RHSExpr->getEndLoc()) in DiagnoseBitwisePrecedence()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/lib/Sema/
H A DSemaExpr.cpp14388 BinaryOperator *LHSBO = dyn_cast<BinaryOperator>(LHSExpr); in DiagnoseBitwisePrecedence() local
14392 bool isLeftComp = LHSBO && LHSBO->isComparisonOp(); in DiagnoseBitwisePrecedence()
14399 bool isLeftBitwise = LHSBO && LHSBO->isBitwiseOp(); in DiagnoseBitwisePrecedence()
14407 StringRef OpStr = isLeftComp ? LHSBO->getOpcodeStr() : RHSBO->getOpcodeStr(); in DiagnoseBitwisePrecedence()
14410 ? SourceRange(LHSBO->getRHS()->getBeginLoc(), RHSExpr->getEndLoc()) in DiagnoseBitwisePrecedence()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/lib/Sema/
H A DSemaExpr.cpp14355 BinaryOperator *LHSBO = dyn_cast<BinaryOperator>(LHSExpr); in DiagnoseBitwisePrecedence() local
14359 bool isLeftComp = LHSBO && LHSBO->isComparisonOp(); in DiagnoseBitwisePrecedence()
14366 bool isLeftBitwise = LHSBO && LHSBO->isBitwiseOp(); in DiagnoseBitwisePrecedence()
14374 StringRef OpStr = isLeftComp ? LHSBO->getOpcodeStr() : RHSBO->getOpcodeStr(); in DiagnoseBitwisePrecedence()
14377 ? SourceRange(LHSBO->getRHS()->getBeginLoc(), RHSExpr->getEndLoc()) in DiagnoseBitwisePrecedence()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/lib/Sema/
H A DSemaExpr.cpp14355 BinaryOperator *LHSBO = dyn_cast<BinaryOperator>(LHSExpr); in DiagnoseBitwisePrecedence() local
14359 bool isLeftComp = LHSBO && LHSBO->isComparisonOp(); in DiagnoseBitwisePrecedence()
14366 bool isLeftBitwise = LHSBO && LHSBO->isBitwiseOp(); in DiagnoseBitwisePrecedence()
14374 StringRef OpStr = isLeftComp ? LHSBO->getOpcodeStr() : RHSBO->getOpcodeStr(); in DiagnoseBitwisePrecedence()
14377 ? SourceRange(LHSBO->getRHS()->getBeginLoc(), RHSExpr->getEndLoc()) in DiagnoseBitwisePrecedence()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp14355 BinaryOperator *LHSBO = dyn_cast<BinaryOperator>(LHSExpr); in DiagnoseBitwisePrecedence() local
14359 bool isLeftComp = LHSBO && LHSBO->isComparisonOp(); in DiagnoseBitwisePrecedence()
14366 bool isLeftBitwise = LHSBO && LHSBO->isBitwiseOp(); in DiagnoseBitwisePrecedence()
14374 StringRef OpStr = isLeftComp ? LHSBO->getOpcodeStr() : RHSBO->getOpcodeStr(); in DiagnoseBitwisePrecedence()
14377 ? SourceRange(LHSBO->getRHS()->getBeginLoc(), RHSExpr->getEndLoc()) in DiagnoseBitwisePrecedence()
/dports/devel/llvm13/llvm-project-13.0.1.src/clang/lib/Sema/
H A DSemaExpr.cpp14355 BinaryOperator *LHSBO = dyn_cast<BinaryOperator>(LHSExpr); in DiagnoseBitwisePrecedence() local
14359 bool isLeftComp = LHSBO && LHSBO->isComparisonOp(); in DiagnoseBitwisePrecedence()
14366 bool isLeftBitwise = LHSBO && LHSBO->isBitwiseOp(); in DiagnoseBitwisePrecedence()
14374 StringRef OpStr = isLeftComp ? LHSBO->getOpcodeStr() : RHSBO->getOpcodeStr(); in DiagnoseBitwisePrecedence()
14377 ? SourceRange(LHSBO->getRHS()->getBeginLoc(), RHSExpr->getEndLoc()) in DiagnoseBitwisePrecedence()

12