Searched refs:XorLHS (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 114 Value *XorLHS = 0; ConstantInt *XorRHS = 0; in visitAdd() local 115 if (match(LHS, m_Xor(m_Value(XorLHS), m_ConstantInt(XorRHS)))) { in visitAdd() 130 if (!MaskedValueIsZero(XorLHS, Mask)) in visitAdd() 136 Value *NewShl = Builder->CreateShl(XorLHS, ShAmt, "sext"); in visitAdd()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 1061 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-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 1153 Value *XorLHS = nullptr; ConstantInt *XorRHS = nullptr; in visitAdd() local 1154 if (match(LHS, m_Xor(m_Value(XorLHS), m_ConstantInt(XorRHS)))) { in visitAdd() 1169 if (!MaskedValueIsZero(XorLHS, Mask, 0, &I)) in visitAdd() 1175 Value *NewShl = Builder.CreateShl(XorLHS, ShAmt, "sext"); in visitAdd() 1182 KnownBits LHSKnown = computeKnownBits(XorLHS, 0, &I); in visitAdd() 1185 XorLHS); in visitAdd() 1190 return BinaryOperator::CreateAdd(XorLHS, in visitAdd()
|