Searched refs:getWithInstruction (Results 1 – 14 of 14) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineMulDivRem.cpp | 144 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 D | InstructionCombining.cpp | 429 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 D | InstCombineShifts.cpp | 111 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 D | InstCombineAddSub.cpp | 1276 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 D | InstCombineVectorOps.cpp | 393 SQ.getWithInstruction(&EI))) in visitExtractElementInst() 1504 VecOp, ScalarOp, IdxOp, SQ.getWithInstruction(&IE))) in visitInsertElementInst() 2547 SimplifyQuery ShufQuery = SQ.getWithInstruction(&SVI); in visitShuffleVectorInst()
|
| H A D | InstCombineCalls.cpp | 1140 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 D | InstCombineAndOrXor.cpp | 1732 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 D | InstCombinePHI.cpp | 1373 if (Value *V = simplifyInstruction(&PN, SQ.getWithInstruction(&PN))) in visitPHINode()
|
| H A D | InstCombineCompares.cpp | 1363 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 D | InstCombineSelect.cpp | 2645 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 D | LoopInstSimplify.cpp | 99 Value *V = simplifyInstruction(&I, SQ.getWithInstruction(&I)); in simplifyLoopInst()
|
| H A D | NewGVN.cpp | 1079 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 D | InstructionSimplify.h | 120 SimplifyQuery getWithInstruction(Instruction *I) const { in getWithInstruction() function
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | InstructionSimplify.cpp | 590 Value *V = simplifyCmpInst(Pred, Incoming, RHS, Q.getWithInstruction(InTI), in threadCmpOverPHI() 6297 const SimplifyQuery Q = SQ.CxtI ? SQ : SQ.getWithInstruction(I); in simplifyInstructionWithOperands()
|