/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | IVDescriptors.cpp | 799 const SCEV *Step, BinaryOperator *BOp, in InductionDescriptor() argument 801 : StartValue(Start), IK(K), Step(Step), InductionBinOp(BOp) { in InductionDescriptor() 874 BinaryOperator *BOp = dyn_cast<BinaryOperator>(BEValue); in isFPInductionPHI() local 875 if (!BOp) in isFPInductionPHI() 879 if (BOp->getOpcode() == Instruction::FAdd) { in isFPInductionPHI() 880 if (BOp->getOperand(0) == Phi) in isFPInductionPHI() 881 Addend = BOp->getOperand(1); in isFPInductionPHI() 882 else if (BOp->getOperand(1) == Phi) in isFPInductionPHI() 883 Addend = BOp->getOperand(0); in isFPInductionPHI() 884 } else if (BOp->getOpcode() == Instruction::FSub) in isFPInductionPHI() [all …]
|
D | PHITransAddr.cpp | 264 if (BinaryOperator *BOp = dyn_cast<BinaryOperator>(LHS)) in PHITranslateSubExpr() local 265 if (BOp->getOpcode() == Instruction::Add) in PHITranslateSubExpr() 266 if (ConstantInt *CI = dyn_cast<ConstantInt>(BOp->getOperand(1))) { in PHITranslateSubExpr() 267 LHS = BOp->getOperand(0); in PHITranslateSubExpr() 272 if (is_contained(InstInputs, BOp)) { in PHITranslateSubExpr() 273 RemoveInstInputs(BOp, InstInputs); in PHITranslateSubExpr()
|
D | BasicAliasAnalysis.cpp | 302 if (const BinaryOperator *BOp = dyn_cast<BinaryOperator>(V)) { in GetLinearExpression() local 303 if (ConstantInt *RHSC = dyn_cast<ConstantInt>(BOp->getOperand(1))) { in GetLinearExpression() 309 switch (BOp->getOpcode()) { in GetLinearExpression() 319 if (!MaskedValueIsZero(BOp->getOperand(0), RHSC->getValue(), DL, 0, AC, in GetLinearExpression() 320 BOp, DT)) { in GetLinearExpression() 327 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits, in GetLinearExpression() 332 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits, in GetLinearExpression() 337 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits, in GetLinearExpression() 343 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits, in GetLinearExpression() 366 if (isa<OverflowingBinaryOperator>(BOp)) { in GetLinearExpression() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 1533 BinaryOperator *BOp = in OptimizeAdd() local 1535 if (!BOp) in OptimizeAdd() 1540 FindSingleUseMultiplyFactors(BOp, Factors); in OptimizeAdd() 1605 BinaryOperator *BOp = in OptimizeAdd() local 1607 if (!BOp) in OptimizeAdd()
|
D | EarlyCSE.cpp | 859 if (BinaryOperator *BOp = dyn_cast<BinaryOperator>(I)) in handleBranchCondition() local 860 return BOp->getOpcode() == Opcode; in handleBranchCondition()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 2065 if (const CmpInst *BOp = dyn_cast<CmpInst>(Cond)) { in EmitBranchForMergedCondition() local 2070 (isExportableFromCurrentBlock(BOp->getOperand(0), BB) && in EmitBranchForMergedCondition() 2071 isExportableFromCurrentBlock(BOp->getOperand(1), BB))) { in EmitBranchForMergedCondition() 2086 CaseBlock CB(Condition, BOp->getOperand(0), BOp->getOperand(1), nullptr, in EmitBranchForMergedCondition() 2119 const Instruction *BOp = dyn_cast<Instruction>(Cond); in FindMergedConditions() local 2126 if (BOp) { in FindMergedConditions() 2127 BOpc = BOp->getOpcode(); in FindMergedConditions() 2137 if (!BOp || !(isa<BinaryOperator>(BOp) || isa<CmpInst>(BOp)) || in FindMergedConditions() 2138 BOpc != unsigned(Opc) || !BOp->hasOneUse() || in FindMergedConditions() 2139 BOp->getParent() != CurBB->getBasicBlock() || in FindMergedConditions() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 1073 if (auto *BOp = dyn_cast<BinaryOperator>(NotMask)) { in canonicalizeLowbitMask() local 1075 BOp->setHasNoSignedWrap(); in canonicalizeLowbitMask() 1076 BOp->setHasNoUnsignedWrap(I.hasNoUnsignedWrap()); in canonicalizeLowbitMask()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 1952 Value *BOp = Builder.CreateBinOp(BinOp, Val, MulOp, "induction"); in getStepVector() local 1953 if (isa<Instruction>(BOp)) in getStepVector() 1954 cast<Instruction>(BOp)->setFastMathFlags(Flags); in getStepVector() 1955 return BOp; in getStepVector() 2898 Value *BOp = B.CreateBinOp(InductionBinOp->getOpcode(), StartValue, MulExp, in emitTransformedIndex() local 2900 if (isa<Instruction>(BOp)) in emitTransformedIndex() 2901 cast<Instruction>(BOp)->setFastMathFlags(Flags); in emitTransformedIndex() 2903 return BOp; in emitTransformedIndex()
|