Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp144 SQ.getWithInstruction(&I))) in visitMul()
465 SQ.getWithInstruction(&I))) in visitFMul()
1031 SQ.getWithInstruction(&I))) in visitUDiv()
1101 SQ.getWithInstruction(&I))) in visitSDiv()
1336 SQ.getWithInstruction(&I))) in visitFDiv()
1498 SQ.getWithInstruction(&I))) in visitURem()
1551 SQ.getWithInstruction(&I))) in visitSRem()
1624 SQ.getWithInstruction(&I))) in visitFRem()
H A DInstructionCombining.cpp429 if (Value *V = simplifyBinOp(Opcode, B, C, SQ.getWithInstruction(&I))) { in SimplifyAssociativeOrCommutative()
462 if (Value *V = simplifyBinOp(Opcode, A, B, SQ.getWithInstruction(&I))) { in SimplifyAssociativeOrCommutative()
658 V = simplifyBinOp(TopLevelOpcode, B, D, SQ.getWithInstruction(&I)); in tryFactorization()
677 V = simplifyBinOp(TopLevelOpcode, A, C, SQ.getWithInstruction(&I)); in tryFactorization()
785 auto SQDistributive = SQ.getWithInstruction(&I).getWithoutUndef(); in SimplifyUsingDistributiveLaws()
824 auto SQDistributive = SQ.getWithInstruction(&I).getWithoutUndef(); in SimplifyUsingDistributiveLaws()
876 SimplifyQuery Q = SQ.getWithInstruction(&I); in SimplifySelectsFeedingBinaryOp()
2123 simplifyAddInst(GO1, SO1, false, false, SQ.getWithInstruction(&GEP)); in visitGEPOfGEP()
2271 SQ.getWithInstruction(&GEP))) in visitGetElementPtrInst()
3257 SQ.getWithInstruction(&EV))) in visitExtractValueInst()
[all …]
H A DInstCombineShifts.cpp111 SQ.getWithInstruction(Sh0))); in reassociateShiftAmtsOfTwoSameDirectionShifts()
830 const SimplifyQuery Q = SQ.getWithInstruction(&I); in visitShl()
1060 SQ.getWithInstruction(&I))) in visitLShr()
1369 SQ.getWithInstruction(&I))) in visitAShr()
H A DInstCombineAddSub.cpp1276 SQ.getWithInstruction(&I))) in visitAdd()
1534 SQ.getWithInstruction(&I))) in visitFAdd()
1803 SQ.getWithInstruction(&I))) in visitSub()
2301 getSimplifyQuery().getWithInstruction(&I))) in visitFNeg()
2353 getSimplifyQuery().getWithInstruction(&I))) in visitFSub()
H A DInstCombineVectorOps.cpp393 SQ.getWithInstruction(&EI))) in visitExtractElementInst()
1504 VecOp, ScalarOp, IdxOp, SQ.getWithInstruction(&IE))) in visitInsertElementInst()
2547 SimplifyQuery ShufQuery = SQ.getWithInstruction(&SVI); in visitShuffleVectorInst()
H A DInstCombineCalls.cpp1140 if (Value *V = simplifyCall(&CI, SQ.getWithInstruction(&CI))) in visitCallInst()
1245 if (simplifyConstrainedFPCall(&CI, SQ.getWithInstruction(&CI))) in visitCallInst()
1847 SQ.getWithInstruction(II))) { in visitCallInst()
1878 SQ.getWithInstruction(II))) { in visitCallInst()
H A DInstCombineAndOrXor.cpp1732 SQ.getWithInstruction(&I))) in visitAnd()
2519 const SimplifyQuery Q = SQ.getWithInstruction(&I); in foldAndOrOfICmps()
2702 SQ.getWithInstruction(&I))) in visitOr()
3616 SQ.getWithInstruction(&I))) in visitXor()
H A DInstCombinePHI.cpp1373 if (Value *V = simplifyInstruction(&PN, SQ.getWithInstruction(&PN))) in visitPHINode()
H A DInstCombineCompares.cpp1363 cast<BinaryOperator>(Val), SQ.getWithInstruction(Val), in foldSignBitTest()
3896 /*isNUW=*/false, SQ.getWithInstruction(&I))); in foldShiftIntoShiftInAnotherHandOfAndInICmp()
4070 const SimplifyQuery Q = SQ.getWithInstruction(&I); in foldICmpBinOp()
6123 const SimplifyQuery Q = SQ.getWithInstruction(&I); in visitICmpInst()
6762 SQ.getWithInstruction(&I))) in visitFCmpInst()
H A DInstCombineSelect.cpp2645 SQ.getWithInstruction(&SI))) in visitSelectInst()
3190 if (Value *V = simplifyAndInst(CondVal, Mask, SQ.getWithInstruction(&SI))) in visitSelectInst()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopInstSimplify.cpp99 Value *V = simplifyInstruction(&I, SQ.getWithInstruction(&I)); in simplifyLoopInst()
H A DNewGVN.cpp1079 const SimplifyQuery Q = SQ.getWithInstruction(I); in createBinaryExpression()
1153 const SimplifyQuery Q = SQ.getWithInstruction(I); in createExpression()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DInstructionSimplify.h120 SimplifyQuery getWithInstruction(Instruction *I) const { in getWithInstruction() function
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DInstructionSimplify.cpp590 Value *V = simplifyCmpInst(Pred, Incoming, RHS, Q.getWithInstruction(InTI), in threadCmpOverPHI()
6297 const SimplifyQuery Q = SQ.CxtI ? SQ : SQ.getWithInstruction(I); in simplifyInstructionWithOperands()