Home
last modified time | relevance | path

Searched refs:XorC (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp356 Constant *XorC = in SimplifyDemandedUseBits() local
358 Instruction *NewXor = BinaryOperator::CreateXor(NewAnd, XorC); in SimplifyDemandedUseBits()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1457 const APInt *XorC; in foldICmpXorConstant() local
1458 if (!match(Y, m_APInt(XorC))) in foldICmpXorConstant()
1469 if (!XorC->isNegative()) { in foldICmpXorConstant()
1486 if (!Cmp.isEquality() && XorC->isSignMask()) { in foldICmpXorConstant()
1489 return new ICmpInst(Pred, X, ConstantInt::get(X->getType(), C ^ *XorC)); in foldICmpXorConstant()
1493 if (!Cmp.isEquality() && XorC->isMaxSignedValue()) { in foldICmpXorConstant()
1497 return new ICmpInst(Pred, X, ConstantInt::get(X->getType(), C ^ *XorC)); in foldICmpXorConstant()
1503 if (Pred == ICmpInst::ICMP_UGT && *XorC == ~C && (C + 1).isPowerOf2()) in foldICmpXorConstant()
1508 if (Pred == ICmpInst::ICMP_ULT && *XorC == -C && C.isPowerOf2()) in foldICmpXorConstant()
DInstCombineSimplifyDemanded.cpp305 Constant *XorC = in SimplifyDemandedUseBits() local
307 Instruction *NewXor = BinaryOperator::CreateXor(NewAnd, XorC); in SimplifyDemandedUseBits()
DInstCombineAndOrXor.cpp1442 const APInt *XorC; in visitAnd() local
1443 if (match(Op0, m_OneUse(m_Xor(m_Value(X), m_APInt(XorC))))) { in visitAnd()
1445 Constant *NewC = ConstantInt::get(I.getType(), *C & *XorC); in visitAnd()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp396 Constant *XorC = in SimplifyDemandedUseBits() local
398 Instruction *NewXor = BinaryOperator::CreateXor(NewAnd, XorC); in SimplifyDemandedUseBits()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86ISelLowering.cpp14179 APInt XorC = cast<ConstantSDNode>(Op1.getOperand(1))->getAPIntValue(); in PerformSubCombine() local
14183 DAG.getConstant(~XorC, VT)); in PerformSubCombine()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp39225 APInt XorC = cast<ConstantSDNode>(Op1.getOperand(1))->getAPIntValue(); in combineSub() local
39229 DAG.getConstant(~XorC, SDLoc(Op1), VT)); in combineSub()