Home
last modified time | relevance | path

Searched refs:OldRHS (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp656 Value *OldRHS = Op->getOperand(1); in RewriteExprTree() local
658 if (NewLHS == OldLHS && NewRHS == OldRHS) in RewriteExprTree()
662 if (NewLHS == OldRHS && NewRHS == OldLHS) { in RewriteExprTree()
681 if (NewRHS != OldRHS) { in RewriteExprTree()
682 BinaryOperator *BO = isReassociableOp(OldRHS, Opcode); in RewriteExprTree()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DReassociate.cpp673 Value *OldRHS = Op->getOperand(1); in RewriteExprTree() local
675 if (NewLHS == OldLHS && NewRHS == OldRHS) in RewriteExprTree()
679 if (NewLHS == OldRHS && NewRHS == OldLHS) { in RewriteExprTree()
698 if (NewRHS != OldRHS) { in RewriteExprTree()
699 BinaryOperator *BO = isReassociableOp(OldRHS, Opcode); in RewriteExprTree()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp88 Value *OldRHS = I.getOperand(1); in SimplifyBSwap() local
97 if (match(OldRHS, m_BSwap(m_Value(NewRHS)))) { in SimplifyBSwap()
99 if (!OldLHS->hasOneUse() && !OldRHS->hasOneUse()) in SimplifyBSwap()
102 } else if (match(OldRHS, m_APInt(C))) { in SimplifyBSwap()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp110 Value *OldRHS = I.getOperand(1); in SimplifyBSwap() local
112 ConstantInt *ConstRHS = dyn_cast<ConstantInt>(OldRHS); in SimplifyBSwap()
114 IntrinsicInst *IntrRHS = dyn_cast<IntrinsicInst>(OldRHS); in SimplifyBSwap()