/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | PHITransAddr.cpp | 253 if (BinaryOperator *BOp = dyn_cast<BinaryOperator>(LHS)) in translateSubExpr() local 254 if (BOp->getOpcode() == Instruction::Add) in translateSubExpr() 255 if (ConstantInt *CI = dyn_cast<ConstantInt>(BOp->getOperand(1))) { in translateSubExpr() 256 LHS = BOp->getOperand(0); in translateSubExpr() 261 if (is_contained(InstInputs, BOp)) { in translateSubExpr() 262 RemoveInstInputs(BOp, InstInputs); in translateSubExpr()
|
H A D | IVDescriptors.cpp | 1234 const SCEV *Step, BinaryOperator *BOp, in InductionDescriptor() argument 1236 : StartValue(Start), IK(K), Step(Step), InductionBinOp(BOp) { in InductionDescriptor() 1300 BinaryOperator *BOp = dyn_cast<BinaryOperator>(BEValue); in isFPInductionPHI() local 1301 if (!BOp) in isFPInductionPHI() 1305 if (BOp->getOpcode() == Instruction::FAdd) { in isFPInductionPHI() 1306 if (BOp->getOperand(0) == Phi) in isFPInductionPHI() 1307 Addend = BOp->getOperand(1); in isFPInductionPHI() 1308 else if (BOp->getOperand(1) == Phi) in isFPInductionPHI() 1309 Addend = BOp->getOperand(0); in isFPInductionPHI() 1310 } else if (BOp->getOpcode() == Instruction::FSub) in isFPInductionPHI() [all …]
|
H A D | BasicAliasAnalysis.cpp | 406 if (const BinaryOperator *BOp = dyn_cast<BinaryOperator>(Val.V)) { in GetLinearExpression() local 407 if (ConstantInt *RHSC = dyn_cast<ConstantInt>(BOp->getOperand(1))) { in GetLinearExpression() 412 if (isa<OverflowingBinaryOperator>(BOp)) { in GetLinearExpression() 413 NUW &= BOp->hasNoUnsignedWrap(); in GetLinearExpression() 414 NSW &= BOp->hasNoSignedWrap(); in GetLinearExpression() 425 switch (BOp->getOpcode()) { in GetLinearExpression() 432 if (!cast<PossiblyDisjointInst>(BOp)->isDisjoint()) in GetLinearExpression() 437 E = GetLinearExpression(Val.withValue(BOp->getOperand(0), false), DL, in GetLinearExpression() 444 E = GetLinearExpression(Val.withValue(BOp->getOperand(0), false), DL, in GetLinearExpression() 451 E = GetLinearExpression(Val.withValue(BOp->getOperand(0), false), DL, in GetLinearExpression() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | MallocOverflowSecurityChecker.cpp | 192 if (const BinaryOperator *BOp = dyn_cast<BinaryOperator>(rhse)) { in CheckAssignmentExpr() local 193 if (BOp->getOpcode() == BO_Div) { in CheckAssignmentExpr() 194 const Expr *denom = BOp->getRHS()->IgnoreParenImpCasts(); in CheckAssignmentExpr() 200 const Expr *numerator = BOp->getLHS()->IgnoreParenImpCasts(); in CheckAssignmentExpr()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SILoadStoreOptimizer.cpp | 886 for (const auto &BOp : B.operands()) { in canSwapInstructions() local 887 if (!BOp.isReg()) in canSwapInstructions() 889 if ((BOp.isDef() || BOp.readsReg()) && ARegDefs.contains(BOp.getReg())) in canSwapInstructions() 891 if (BOp.isDef() && ARegUses.contains(BOp.getReg())) in canSwapInstructions()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | Reassociate.cpp | 1590 BinaryOperator *BOp = in OptimizeAdd() local 1592 if (!BOp) in OptimizeAdd() 1597 FindSingleUseMultiplyFactors(BOp, Factors); in OptimizeAdd() 1661 BinaryOperator *BOp = in OptimizeAdd() local 1663 if (!BOp) in OptimizeAdd()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | IRTranslator.cpp | 389 if (const CmpInst *BOp = dyn_cast<CmpInst>(Cond)) { in emitBranchForMergedCondition() local 398 SwitchCG::CaseBlock CB(Condition, false, BOp->getOperand(0), in emitBranchForMergedCondition() 399 BOp->getOperand(1), nullptr, TBB, FBB, CurBB, in emitBranchForMergedCondition() 437 const Instruction *BOp = dyn_cast<Instruction>(Cond); in findMergedConditions() local 445 if (BOp) { in findMergedConditions() 446 BOpc = match(BOp, m_LogicalAnd(m_Value(BOpOp0), m_Value(BOpOp1))) in findMergedConditions() 448 : (match(BOp, m_LogicalOr(m_Value(BOpOp0), m_Value(BOpOp1))) in findMergedConditions() 461 bool BOpIsInOrAndTree = BOpc && BOpc == Opc && BOp->hasOneUse(); in findMergedConditions() 462 if (!BOpIsInOrAndTree || BOp->getParent() != CurBB->getBasicBlock() || in findMergedConditions()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGBuilder.cpp | 2441 if (const CmpInst *BOp = dyn_cast<CmpInst>(Cond)) { in EmitBranchForMergedCondition() local 2446 (isExportableFromCurrentBlock(BOp->getOperand(0), BB) && in EmitBranchForMergedCondition() 2447 isExportableFromCurrentBlock(BOp->getOperand(1), BB))) { in EmitBranchForMergedCondition() 2462 CaseBlock CB(Condition, BOp->getOperand(0), BOp->getOperand(1), nullptr, in EmitBranchForMergedCondition() 2641 const Instruction *BOp = dyn_cast<Instruction>(Cond); in FindMergedConditions() local 2649 if (BOp) { in FindMergedConditions() 2650 BOpc = match(BOp, m_LogicalAnd(m_Value(BOpOp0), m_Value(BOpOp1))) in FindMergedConditions() 2652 : (match(BOp, m_LogicalOr(m_Value(BOpOp0), m_Value(BOpOp1))) in FindMergedConditions() 2665 bool BOpIsInOrAndTree = BOpc && BOpc == Opc && BOp->hasOneUse(); in FindMergedConditions() 2666 if (!BOpIsInOrAndTree || BOp->getParent() != CurBB->getBasicBlock() || in FindMergedConditions() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenFunction.cpp | 1732 const BinaryOperator *BOp = dyn_cast<BinaryOperator>(stripCond(C)); in isInstrumentedCondition() local 1733 return (!BOp || !BOp->isLogicalOp()); in isInstrumentedCondition()
|
H A D | CodeGenFunction.h | 1655 const BinaryOperator *BOp = dyn_cast<BinaryOperator>(E->IgnoreParens()); 1656 return (BOp && BOp->isLogicalOp());
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineAddSub.cpp | 1222 if (auto *BOp = dyn_cast<BinaryOperator>(NotMask)) { in canonicalizeLowbitMask() local 1224 BOp->setHasNoSignedWrap(); in canonicalizeLowbitMask() 1225 BOp->setHasNoUnsignedWrap(I.hasNoUnsignedWrap()); in canonicalizeLowbitMask()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/ |
H A D | M68kInstrData.td | 241 (MOV32bi MxType32.BOp :$dst, MxType32.IOp :$src)>;
|
H A D | M68kInstrInfo.td | 632 MxOperand BOp = bOp;
|
H A D | M68kInstrArithmetic.td | 296 def NAME#"32ab" : MxBiArOp_R_RM<MN, NODE, MxType32a, MxType32.BOp, MxType32.BPat,
|