Searched refs:BOp (Results 1 – 4 of 4) sorted by relevance
/external/llvm/lib/Analysis/ |
D | PHITransAddr.cpp | 271 if (BinaryOperator *BOp = dyn_cast<BinaryOperator>(LHS)) in PHITranslateSubExpr() local 272 if (BOp->getOpcode() == Instruction::Add) in PHITranslateSubExpr() 273 if (ConstantInt *CI = dyn_cast<ConstantInt>(BOp->getOperand(1))) { in PHITranslateSubExpr() 274 LHS = BOp->getOperand(0); in PHITranslateSubExpr() 279 if (std::count(InstInputs.begin(), InstInputs.end(), BOp)) { in PHITranslateSubExpr() 280 RemoveInstInputs(BOp, InstInputs); in PHITranslateSubExpr()
|
D | BasicAliasAnalysis.cpp | 218 if (BinaryOperator *BOp = dyn_cast<BinaryOperator>(V)) { in GetLinearExpression() local 219 if (ConstantInt *RHSC = dyn_cast<ConstantInt>(BOp->getOperand(1))) { in GetLinearExpression() 220 switch (BOp->getOpcode()) { in GetLinearExpression() 225 if (!MaskedValueIsZero(BOp->getOperand(0), RHSC->getValue(), &DL)) in GetLinearExpression() 229 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, Extension, in GetLinearExpression() 234 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, Extension, in GetLinearExpression() 240 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, Extension, in GetLinearExpression()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 1466 BinaryOperator *BOp = isReassociableOp(Ops[i].Op, Instruction::Mul); in OptimizeAdd() local 1467 if (!BOp) in OptimizeAdd() 1472 FindSingleUseMultiplyFactors(BOp, Factors, Ops); in OptimizeAdd() 1512 BinaryOperator *BOp = isReassociableOp(Ops[i].Op, Instruction::Mul); in OptimizeAdd() local 1513 if (!BOp) in OptimizeAdd()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 1388 if (const CmpInst *BOp = dyn_cast<CmpInst>(Cond)) { in EmitBranchForMergedCondition() local 1393 (isExportableFromCurrentBlock(BOp->getOperand(0), BB) && in EmitBranchForMergedCondition() 1394 isExportableFromCurrentBlock(BOp->getOperand(1), BB))) { in EmitBranchForMergedCondition() 1407 CaseBlock CB(Condition, BOp->getOperand(0), BOp->getOperand(1), nullptr, in EmitBranchForMergedCondition() 1437 const Instruction *BOp = dyn_cast<Instruction>(Cond); in FindMergedConditions() local 1438 if (!BOp || !(isa<BinaryOperator>(BOp) || isa<CmpInst>(BOp)) || in FindMergedConditions() 1439 (unsigned)BOp->getOpcode() != Opc || !BOp->hasOneUse() || in FindMergedConditions() 1440 BOp->getParent() != CurBB->getBasicBlock() || in FindMergedConditions() 1441 !InBlock(BOp->getOperand(0), CurBB->getBasicBlock()) || in FindMergedConditions() 1442 !InBlock(BOp->getOperand(1), CurBB->getBasicBlock())) { in FindMergedConditions() [all …]
|