Lines Matching refs:SQ
451 if (Value *V = simplifyBinOp(Opcode, B, C, SQ.getWithInstruction(&I))) { in SimplifyAssociativeOrCommutative()
484 if (Value *V = simplifyBinOp(Opcode, A, B, SQ.getWithInstruction(&I))) { in SimplifyAssociativeOrCommutative()
512 if (Value *V = simplifyBinOp(Opcode, C, A, SQ.getWithInstruction(&I))) { in SimplifyAssociativeOrCommutative()
532 if (Value *V = simplifyBinOp(Opcode, C, A, SQ.getWithInstruction(&I))) { in SimplifyAssociativeOrCommutative()
666 static Value *tryFactorization(BinaryOperator &I, const SimplifyQuery &SQ, in tryFactorization() argument
689 V = simplifyBinOp(TopLevelOpcode, B, D, SQ.getWithInstruction(&I)); in tryFactorization()
709 V = simplifyBinOp(TopLevelOpcode, A, C, SQ.getWithInstruction(&I)); in tryFactorization()
1098 if (Value *V = tryFactorization(I, SQ, Builder, LHSOpcode, A, B, C, D)) in tryFactorizationFolds()
1106 tryFactorization(I, SQ, Builder, LHSOpcode, A, B, RHS, Ident)) in tryFactorizationFolds()
1114 tryFactorization(I, SQ, Builder, RHSOpcode, LHS, Ident, C, D)) in tryFactorizationFolds()
1143 auto SQDistributive = SQ.getWithInstruction(&I).getWithoutUndef(); in foldUsingDistributiveLaws()
1182 auto SQDistributive = SQ.getWithInstruction(&I).getWithoutUndef(); in foldUsingDistributiveLaws()
1298 SimplifyQuery Q = SQ.getWithInstruction(&I); in SimplifySelectsFeedingBinaryOp()
1459 OpsKnown[OpNo].getKnownBits(SQ).isNonZero()) in foldFBinOpOfIntCastsFromSign()
1461 return isKnownNonZero(IntOps[OpNo], SQ); in foldFBinOpOfIntCastsFromSign()
1468 return OpsKnown[OpNo].getKnownBits(SQ).isNonNegative(); in foldFBinOpOfIntCastsFromSign()
1494 IntSz - OpsKnown[OpNo].getKnownBits(SQ).countMinLeadingZeros(); in foldFBinOpOfIntCastsFromSign()
1732 const SimplifyQuery SQ) { in simplifyInstructionWithPHI() argument
1749 &I, Ops, SQ.getWithInstruction(InBB->getTerminator())); in simplifyInstructionWithPHI()
1798 if (auto *NewVal = simplifyInstructionWithPHI(I, PN, InVal, InBB, DL, SQ)) { in foldOpIntoPhi()
2487 simplifyAddInst(GO1, SO1, false, false, SQ.getWithInstruction(&GEP)); in visitGEPOfGEP()
2716 SQ.getWithInstruction(&GEP))) in visitGetElementPtrInst()
3005 SimplifyQuery Q = SQ.getWithInstruction(&GEP); in visitGetElementPtrInst()
3965 SQ.getWithInstruction(&EV))) in visitExtractValueInst()
4611 if (Value *V = simplifyFreezeInst(Op0, SQ.getWithInstruction(&I))) in visitFreeze()