Searched refs:ROp (Results 1 – 7 of 7) sorted by relevance
6009 ROp, PrevROp: IReplaceOp;6020 if (not Supports(Op, IReplaceOp, ROp)) then6028 if (IOp.Index >= ROp.Index) and (IOp.Index <= ROp.LastIndex) then6040 if (PrevROp.Index >= ROp.Index) and (PrevROp.LastIndex <= ROp.LastIndex) then6047 Disjoint := (PrevROp.LastIndex < ROp.Index) or (PrevROp.Index > ROp.LastIndex);6048 Same := (PrevROp.Index = ROp.Index) and (PrevROp.LastIndex = ROp.LastIndex);6051 + ROp.ToString + ' overlap with previous ' + PrevROp.ToString);6085 if (IOp.Index = ROp.Index) then6087 ROp.Text := CatOpText(IOp.Text, ROp.Text);6091 if (IOp.Index >= ROp.Index) and (IOp.Index <= ROp.LastIndex) then[all …]
489 Instruction::BinaryOps ROp) { in leftDistributesOverRight() argument493 return ROp == Instruction::Or || ROp == Instruction::Xor; in leftDistributesOverRight()497 return ROp == Instruction::And; in leftDistributesOverRight()502 return ROp == Instruction::Add || ROp == Instruction::Sub; in leftDistributesOverRight()510 Instruction::BinaryOps ROp) { in rightDistributesOverLeft() argument511 if (Instruction::isCommutative(ROp)) in rightDistributesOverLeft()512 return leftDistributesOverRight(ROp, LOp); in rightDistributesOverLeft()515 return Instruction::isBitwiseLogicOp(LOp) && Instruction::isShift(ROp); in rightDistributesOverLeft()
333 Instruction::BinaryOps ROp) { in LeftDistributesOverRight() argument340 switch (ROp) { in LeftDistributesOverRight()350 switch (ROp) { in LeftDistributesOverRight()360 switch (ROp) { in LeftDistributesOverRight()372 Instruction::BinaryOps ROp) { in RightDistributesOverLeft() argument373 if (Instruction::isCommutative(ROp)) in RightDistributesOverLeft()374 return LeftDistributesOverRight(ROp, LOp); in RightDistributesOverLeft()385 switch (ROp) { in RightDistributesOverLeft()
530 Instruction::BinaryOps ROp) { in leftDistributesOverRight() argument534 return ROp == Instruction::Or || ROp == Instruction::Xor; in leftDistributesOverRight()538 return ROp == Instruction::And; in leftDistributesOverRight()543 return ROp == Instruction::Add || ROp == Instruction::Sub; in leftDistributesOverRight()551 Instruction::BinaryOps ROp) { in rightDistributesOverLeft() argument552 if (Instruction::isCommutative(ROp)) in rightDistributesOverLeft()553 return leftDistributesOverRight(ROp, LOp); in rightDistributesOverLeft()556 return Instruction::isBitwiseLogicOp(LOp) && Instruction::isShift(ROp); in rightDistributesOverLeft()
905 DefInit *ROp = dyn_cast<DefInit>(RHSs->getOperator()); in Fold() local907 (!ROp && !isa<UnsetInit>(RHSs->getOperator()))) in Fold()909 if (LOp && ROp && LOp->getDef() != ROp->getDef()) { in Fold()914 Init *Op = LOp ? LOp : ROp; in Fold()
919 DefInit *ROp = dyn_cast<DefInit>(RHSs->getOperator()); in Fold() local921 (!ROp && !isa<UnsetInit>(RHSs->getOperator()))) in Fold()923 if (LOp && ROp && LOp->getDef() != ROp->getDef()) { in Fold()928 Init *Op = LOp ? LOp : ROp; in Fold()
806 DefInit *ROp = dyn_cast<DefInit>(RHSs->getOperator()); in Fold() local807 if (!LOp || !ROp || LOp->getDef() != ROp->getDef()) in Fold()