Home
last modified time | relevance | path

Searched refs:getWithInstruction (Results 1 – 18 of 18) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h471 llvm::computeKnownBits(V, Known, Depth, SQ.getWithInstruction(CxtI)); in computeKnownBits()
476 return llvm::computeKnownBits(V, Depth, SQ.getWithInstruction(CxtI)); in computeKnownBits()
487 return llvm::MaskedValueIsZero(V, Mask, SQ.getWithInstruction(CxtI), Depth);
504 SQ.getWithInstruction(CxtI)); in computeOverflowForUnsignedMul()
510 SQ.getWithInstruction(CxtI)); in computeOverflowForSignedMul()
518 SQ.getWithInstruction(CxtI)); in computeOverflowForUnsignedAdd()
526 SQ.getWithInstruction(CxtI)); in computeOverflowForSignedAdd()
533 SQ.getWithInstruction(CxtI)); in computeOverflowForUnsignedSub()
539 SQ.getWithInstruction(CxtI)); in computeOverflowForSignedSub()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp216 Depth, SQ.getWithInstruction(CxtI)); in SimplifyDemandedUseBits()
249 Depth, SQ.getWithInstruction(CxtI)); in SimplifyDemandedUseBits()
271 if (haveNoCommonBitsSet(LHSCache, RHSCache, SQ.getWithInstruction(I))) { in SimplifyDemandedUseBits()
298 Depth, SQ.getWithInstruction(CxtI)); in SimplifyDemandedUseBits()
1106 Depth, SQ.getWithInstruction(CxtI)); in SimplifyMultipleUseDemandedBits()
1107 computeKnownBitsFromContext(I, Known, Depth, SQ.getWithInstruction(CxtI)); in SimplifyMultipleUseDemandedBits()
1127 Depth, SQ.getWithInstruction(CxtI)); in SimplifyMultipleUseDemandedBits()
1128 computeKnownBitsFromContext(I, Known, Depth, SQ.getWithInstruction(CxtI)); in SimplifyMultipleUseDemandedBits()
1150 Depth, SQ.getWithInstruction(CxtI)); in SimplifyMultipleUseDemandedBits()
1151 computeKnownBitsFromContext(I, Known, Depth, SQ.getWithInstruction(CxtI)); in SimplifyMultipleUseDemandedBits()
[all …]
H A DInstCombineMulDivRem.cpp195 SQ.getWithInstruction(&I))) in visitMul()
751 SQ.getWithInstruction(&I))) in visitFMul()
1380 SQ.getWithInstruction(&I))) in visitUDiv()
1449 SQ.getWithInstruction(&I))) in visitSDiv()
1551 if (isKnownNonNegative(Op1, SQ.getWithInstruction(&I))) { in visitSDiv()
1715 SQ.getWithInstruction(&I))) in visitFDiv()
2010 SQ.getWithInstruction(&I))) in visitURem()
2063 simplifyICmpInst(ICmpInst::ICMP_ULT, X, Op1, SQ.getWithInstruction(&I)); in visitURem()
2076 SQ.getWithInstruction(&I))) in visitSRem()
2149 SQ.getWithInstruction(&I))) in visitFRem()
H A DInstructionCombining.cpp433 if (Value *V = simplifyBinOp(Opcode, B, C, SQ.getWithInstruction(&I))) { in SimplifyAssociativeOrCommutative()
669 V = simplifyBinOp(TopLevelOpcode, B, D, SQ.getWithInstruction(&I)); in tryFactorization()
689 V = simplifyBinOp(TopLevelOpcode, A, C, SQ.getWithInstruction(&I)); in tryFactorization()
1120 auto SQDistributive = SQ.getWithInstruction(&I).getWithoutUndef(); in foldUsingDistributiveLaws()
1159 auto SQDistributive = SQ.getWithInstruction(&I).getWithoutUndef(); in foldUsingDistributiveLaws()
1275 SimplifyQuery Q = SQ.getWithInstruction(&I); in SimplifySelectsFeedingBinaryOp()
1542 &I, Ops, SQ.getWithInstruction(InBB->getTerminator())); in simplifyInstructionWithPHI()
2245 simplifyAddInst(GO1, SO1, false, false, SQ.getWithInstruction(&GEP)); in visitGEPOfGEP()
2389 SQ.getWithInstruction(&GEP))) in visitGetElementPtrInst()
3484 SQ.getWithInstruction(&EV))) in visitExtractValueInst()
[all …]
H A DInstCombineShifts.cpp111 SQ.getWithInstruction(Sh0))); in reassociateShiftAmtsOfTwoSameDirectionShifts()
1001 const SimplifyQuery Q = SQ.getWithInstruction(&I); in visitShl()
1237 SQ.getWithInstruction(&I))) in visitLShr()
1478 const SimplifyQuery Q = SQ.getWithInstruction(&I); in visitLShr()
1566 SQ.getWithInstruction(&I))) in visitAShr()
1642 const SimplifyQuery Q = SQ.getWithInstruction(&I); in visitAShr()
H A DInstCombineAddSub.cpp988 const SimplifyQuery Q = SQ.getWithInstruction(&Add); in foldAddWithConstant()
1447 SQ.getWithInstruction(&I))) in visitAdd()
1585 if (haveNoCommonBitsSet(LHSCache, RHSCache, SQ.getWithInstruction(&I))) in visitAdd()
1724 haveNoCommonBitsSet(A, B, SQ.getWithInstruction(&I))) in visitAdd()
1830 SQ.getWithInstruction(&I))) in visitFAdd()
2122 SQ.getWithInstruction(&I))) in visitSub()
2738 getSimplifyQuery().getWithInstruction(&I))) in visitFNeg()
2812 getSimplifyQuery().getWithInstruction(&I))) in visitFSub()
H A DInstCombineCompares.cpp1210 if (isKnownPositive(A, SQ.getWithInstruction(&Cmp))) in foldICmpWithZero()
1212 if (isKnownPositive(B, SQ.getWithInstruction(&Cmp))) in foldICmpWithZero()
1252 const SimplifyQuery Q = SQ.getWithInstruction(&Cmp); in foldICmpWithZero()
3027 const SimplifyQuery Q = SQ.getWithInstruction(&Cmp); in foldICmpAddConstant()
3841 const SimplifyQuery Q = SQ.getWithInstruction(&Cmp); in foldICmpIntrinsicWithConstant()
4564 const SimplifyQuery Q = SQ.getWithInstruction(&I); in foldICmpBinOp()
5058 if (isKnownNonNegative(Z, SQ.getWithInstruction(&I)) && in foldICmpWithMinMax()
5059 isKnownNonNegative(MinMax, SQ.getWithInstruction(&I))) { in foldICmpWithMinMax()
5064 SimplifyQuery Q = SQ.getWithInstruction(&I); in foldICmpWithMinMax()
6938 const SimplifyQuery Q = SQ.getWithInstruction(&I); in visitICmpInst()
[all …]
H A DInstCombineVectorOps.cpp402 SQ.getWithInstruction(&EI))) in visitExtractElementInst()
1144 SQ.getWithInstruction(&I))) in visitInsertValueInst()
1604 VecOp, ScalarOp, IdxOp, SQ.getWithInstruction(&IE))) in visitInsertElementInst()
2770 SimplifyQuery ShufQuery = SQ.getWithInstruction(&SVI); in visitShuffleVectorInst()
H A DInstCombineCalls.cpp1445 SQ.getWithInstruction(&CI))) in visitCallInst()
1557 if (simplifyConstrainedFPCall(&CI, SQ.getWithInstruction(&CI))) in visitCallInst()
1809 I0, IsSigned, SQ.getWithInstruction(II)); in visitCallInst()
2369 SQ.getWithInstruction(II))) { in visitCallInst()
2400 SQ.getWithInstruction(II))) { in visitCallInst()
H A DInstCombineAndOrXor.cpp2189 SQ.getWithInstruction(&I))) in visitAnd()
3149 const SimplifyQuery Q = SQ.getWithInstruction(&I); in foldAndOrOfICmps()
3346 SQ.getWithInstruction(&I))) in visitOr()
4369 isKnownNegative(X, SQ.getWithInstruction(NotVal))) in foldNot()
4513 SQ.getWithInstruction(&I))) in visitXor()
H A DInstCombineSelect.cpp3370 SQ.getWithInstruction(&SI))) in visitSelectInst()
3788 if (Value *V = simplifyAndInst(CondVal, Mask, SQ.getWithInstruction(&SI))) in visitSelectInst()
3820 SQ.getWithInstruction(&SI))) in visitSelectInst()
H A DInstCombineCasts.cpp1247 if (isKnownNonNegative(Src, SQ.getWithInstruction(&Zext))) { in visitZExt()
1405 if (isKnownNonNegative(Src, SQ.getWithInstruction(&Sext))) { in visitSExt()
H A DInstCombineLoadStoreAlloca.cpp1009 if (Value *Res = simplifyLoadInst(&LI, Op, SQ.getWithInstruction(&LI))) in visitLoadInst()
H A DInstCombinePHI.cpp1384 if (Value *V = simplifyInstruction(&PN, SQ.getWithInstruction(&PN))) in visitPHINode()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DSimplifyQuery.h96 SimplifyQuery getWithInstruction(const Instruction *I) const { in getWithInstruction() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopInstSimplify.cpp98 Value *V = simplifyInstruction(&I, SQ.getWithInstruction(&I)); in simplifyLoopInst()
H A DNewGVN.cpp1073 const SimplifyQuery Q = SQ.getWithInstruction(I); in createBinaryExpression()
1147 const SimplifyQuery Q = SQ.getWithInstruction(I); in createExpression()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp548 Q.getWithInstruction(InTI), MaxRecurse) in threadBinOpOverPHI()
550 Q.getWithInstruction(InTI), MaxRecurse); in threadBinOpOverPHI()
594 Value *V = simplifyCmpInst(Pred, Incoming, RHS, Q.getWithInstruction(InTI), in threadCmpOverPHI()
6981 const SimplifyQuery Q = SQ.CxtI ? SQ : SQ.getWithInstruction(I); in simplifyInstructionWithOperands()