Searched refs:XorC (Results 1 – 7 of 7) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 356 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/ |
D | InstCombineCompares.cpp | 1457 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()
|
D | InstCombineSimplifyDemanded.cpp | 305 Constant *XorC = in SimplifyDemandedUseBits() local 307 Instruction *NewXor = BinaryOperator::CreateXor(NewAnd, XorC); in SimplifyDemandedUseBits()
|
D | InstCombineAndOrXor.cpp | 1442 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/ |
D | InstCombineSimplifyDemanded.cpp | 396 Constant *XorC = in SimplifyDemandedUseBits() local 398 Instruction *NewXor = BinaryOperator::CreateXor(NewAnd, XorC); in SimplifyDemandedUseBits()
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86ISelLowering.cpp | 14179 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/ |
D | X86ISelLowering.cpp | 39225 APInt XorC = cast<ConstantSDNode>(Op1.getOperand(1))->getAPIntValue(); in combineSub() local 39229 DAG.getConstant(~XorC, SDLoc(Op1), VT)); in combineSub()
|