Home
last modified time | relevance | path

Searched refs:XorLHS (Results 1 – 5 of 5) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1061 Value *XorLHS = nullptr; ConstantInt *XorRHS = nullptr; in visitAdd() local
1062 if (match(LHS, m_Xor(m_Value(XorLHS), m_ConstantInt(XorRHS)))) { in visitAdd()
1077 if (!MaskedValueIsZero(XorLHS, Mask, 0, &I)) in visitAdd()
1083 Value *NewShl = Builder->CreateShl(XorLHS, ShAmt, "sext"); in visitAdd()
1093 computeKnownBits(XorLHS, LHSKnownZero, LHSKnownOne, 0, &I); in visitAdd()
1096 XorLHS); in visitAdd()
1101 return BinaryOperator::CreateAdd(XorLHS, in visitAdd()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1232 Value *XorLHS = nullptr; ConstantInt *XorRHS = nullptr; in visitAdd() local
1233 if (match(LHS, m_Xor(m_Value(XorLHS), m_ConstantInt(XorRHS)))) { in visitAdd()
1248 if (!MaskedValueIsZero(XorLHS, Mask, 0, &I)) in visitAdd()
1254 Value *NewShl = Builder.CreateShl(XorLHS, ShAmt, "sext"); in visitAdd()
1261 KnownBits LHSKnown = computeKnownBits(XorLHS, 0, &I); in visitAdd()
1264 XorLHS); in visitAdd()
1269 return BinaryOperator::CreateAdd(XorLHS, in visitAdd()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp3805 SDValue XorLHS = Op0.getOperand(0); in SimplifySetCC() local
3809 (getBooleanContents(XorLHS.getOperand(0).getValueType()) == in SimplifySetCC()
3815 return DAG.getSetCC(dl, VT, XorLHS, XorRHS, Cond); in SimplifySetCC()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp3500 SDValue XorLHS = Op0.getOperand(0); in SimplifySetCC() local
3504 (getBooleanContents(XorLHS.getOperand(0).getValueType()) == in SimplifySetCC()
3510 return DAG.getSetCC(dl, VT, XorLHS, XorRHS, Cond); in SimplifySetCC()
/external/llvm-project/clang/lib/Sema/
DSemaExpr.cpp12091 static void diagnoseXorMisusedAsPow(Sema &S, const ExprResult &XorLHS, in diagnoseXorMisusedAsPow() argument
12100 const auto *LHSInt = dyn_cast<IntegerLiteral>(XorLHS.get()); in diagnoseXorMisusedAsPow()