Lines Matching refs:SimplifyQuery

57 static Value *SimplifyAndInst(Value *, Value *, const SimplifyQuery &, unsigned);
58 static Value *simplifyUnOp(unsigned, Value *, const SimplifyQuery &, unsigned);
60 const SimplifyQuery &, unsigned);
61 static Value *SimplifyBinOp(unsigned, Value *, Value *, const SimplifyQuery &,
64 const SimplifyQuery &, unsigned);
65 static Value *SimplifyCmpInst(unsigned, Value *, Value *, const SimplifyQuery &,
68 const SimplifyQuery &Q, unsigned MaxRecurse);
69 static Value *SimplifyOrInst(Value *, Value *, const SimplifyQuery &, unsigned);
70 static Value *SimplifyXorInst(Value *, Value *, const SimplifyQuery &, unsigned);
72 const SimplifyQuery &, unsigned);
73 static Value *SimplifyGEPInst(Type *, ArrayRef<Value *>, const SimplifyQuery &,
76 const SimplifyQuery &, unsigned);
153 const SimplifyQuery &Q, unsigned MaxRecurse, in simplifyCmpSelCase()
170 const SimplifyQuery &Q, in simplifyCmpSelTrueCase()
179 const SimplifyQuery &Q, in simplifyCmpSelFalseCase()
189 const SimplifyQuery &Q, in handleOtherCmpSelSimplifications()
245 const SimplifyQuery &Q, unsigned MaxRecurse) { in expandBinOp()
280 const SimplifyQuery &Q, in expandCommutativeBinOp()
297 const SimplifyQuery &Q, in SimplifyAssociativeBinOp()
396 Value *RHS, const SimplifyQuery &Q, in ThreadBinOpOverSelect()
474 Value *RHS, const SimplifyQuery &Q, in ThreadCmpOverSelect()
520 Value *RHS, const SimplifyQuery &Q, in ThreadBinOpOverPHI()
563 const SimplifyQuery &Q, unsigned MaxRecurse) { in ThreadCmpOverPHI()
604 const SimplifyQuery &Q) { in foldOrCommuteConstant()
619 const SimplifyQuery &Q, unsigned MaxRecurse) { in SimplifyAddInst()
683 const SimplifyQuery &Query) { in SimplifyAddInst()
738 const SimplifyQuery &Q, unsigned MaxRecurse) { in SimplifySubInst()
871 const SimplifyQuery &Q) { in SimplifySubInst()
877 static Value *SimplifyMulInst(Value *Op0, Value *Op1, const SimplifyQuery &Q, in SimplifyMulInst()
935 Value *llvm::SimplifyMulInst(Value *Op0, Value *Op1, const SimplifyQuery &Q) { in SimplifyMulInst()
942 Value *Op1, const SimplifyQuery &Q) { in simplifyDivRem()
1024 const SimplifyQuery &Q, unsigned MaxRecurse) { in isICmpTrue()
1032 static bool isDivZero(Value *X, Value *Y, const SimplifyQuery &Q, in isDivZero()
1084 const SimplifyQuery &Q, unsigned MaxRecurse) { in simplifyDiv()
1128 const SimplifyQuery &Q, unsigned MaxRecurse) { in simplifyRem()
1171 static Value *SimplifySDivInst(Value *Op0, Value *Op1, const SimplifyQuery &Q, in SimplifySDivInst()
1180 Value *llvm::SimplifySDivInst(Value *Op0, Value *Op1, const SimplifyQuery &Q) { in SimplifySDivInst()
1186 static Value *SimplifyUDivInst(Value *Op0, Value *Op1, const SimplifyQuery &Q, in SimplifyUDivInst()
1191 Value *llvm::SimplifyUDivInst(Value *Op0, Value *Op1, const SimplifyQuery &Q) { in SimplifyUDivInst()
1197 static Value *SimplifySRemInst(Value *Op0, Value *Op1, const SimplifyQuery &Q, in SimplifySRemInst()
1212 Value *llvm::SimplifySRemInst(Value *Op0, Value *Op1, const SimplifyQuery &Q) { in SimplifySRemInst()
1218 static Value *SimplifyURemInst(Value *Op0, Value *Op1, const SimplifyQuery &Q, in SimplifyURemInst()
1223 Value *llvm::SimplifyURemInst(Value *Op0, Value *Op1, const SimplifyQuery &Q) { in SimplifyURemInst()
1228 static bool isPoisonShift(Value *Amount, const SimplifyQuery &Q) { in isPoisonShift()
1258 Value *Op1, bool IsNSW, const SimplifyQuery &Q, in SimplifyShift()
1328 Value *Op1, bool isExact, const SimplifyQuery &Q, in SimplifyRightShift()
1356 const SimplifyQuery &Q, unsigned MaxRecurse) { in SimplifyShlInst()
1382 const SimplifyQuery &Q) { in SimplifyShlInst()
1389 const SimplifyQuery &Q, unsigned MaxRecurse) { in SimplifyLShrInst()
1420 const SimplifyQuery &Q) { in SimplifyLShrInst()
1427 const SimplifyQuery &Q, unsigned MaxRecurse) { in SimplifyAShrInst()
1451 const SimplifyQuery &Q) { in SimplifyAShrInst()
1459 const SimplifyQuery &Q) { in simplifyUnsignedRangeCheck()
1801 const SimplifyQuery &Q) { in simplifyAndOfICmps()
1877 const SimplifyQuery &Q) { in simplifyOrOfICmps()
1943 static Value *simplifyAndOrOfCmps(const SimplifyQuery &Q, in simplifyAndOrOfCmps()
2005 static Value *SimplifyAndInst(Value *Op0, Value *Op1, const SimplifyQuery &Q, in SimplifyAndInst()
2171 Value *llvm::SimplifyAndInst(Value *Op0, Value *Op1, const SimplifyQuery &Q) { in SimplifyAndInst()
2177 static Value *SimplifyOrInst(Value *Op0, Value *Op1, const SimplifyQuery &Q, in SimplifyOrInst()
2351 Value *llvm::SimplifyOrInst(Value *Op0, Value *Op1, const SimplifyQuery &Q) { in SimplifyOrInst()
2357 static Value *SimplifyXorInst(Value *Op0, Value *Op1, const SimplifyQuery &Q, in SimplifyXorInst()
2399 Value *llvm::SimplifyXorInst(Value *Op0, Value *Op1, const SimplifyQuery &Q) { in SimplifyXorInst()
2458 const SimplifyQuery &Q) { in computePointerICmp()
2648 Value *RHS, const SimplifyQuery &Q) { in simplifyICmpOfBools()
2722 Value *RHS, const SimplifyQuery &Q) { in simplifyICmpWithZero()
2833 const SimplifyQuery &Q, unsigned MaxRecurse) { in simplifyICmpWithBinOpOnLHS()
2976 Value *RHS, const SimplifyQuery &Q, in simplifyICmpWithBinOp()
3160 Value *RHS, const SimplifyQuery &Q, in simplifyICmpWithMinMax()
3346 const SimplifyQuery &Q) { in simplifyICmpWithDominatingAssume()
3371 const SimplifyQuery &Q, unsigned MaxRecurse) { in SimplifyICmpInst()
3683 const SimplifyQuery &Q) { in SimplifyICmpInst()
3690 FastMathFlags FMF, const SimplifyQuery &Q, in SimplifyFCmpInst()
3892 FastMathFlags FMF, const SimplifyQuery &Q) { in SimplifyFCmpInst()
3897 const SimplifyQuery &Q, in simplifyWithOpReplaced()
4012 const SimplifyQuery &Q, in simplifyWithOpReplaced()
4070 Value *FalseVal, const SimplifyQuery &Q, in simplifySelectWithICmpCond()
4174 const SimplifyQuery &Q) { in simplifySelectWithFCmp()
4205 const SimplifyQuery &Q, unsigned MaxRecurse) { in SimplifySelectInst()
4308 const SimplifyQuery &Q) { in SimplifySelectInst()
4315 const SimplifyQuery &Q, unsigned) { in SimplifyGEPInst()
4439 const SimplifyQuery &Q) { in SimplifyGEPInst()
4446 ArrayRef<unsigned> Idxs, const SimplifyQuery &Q, in SimplifyInsertValueInst()
4474 const SimplifyQuery &Q) { in SimplifyInsertValueInst()
4479 const SimplifyQuery &Q) { in SimplifyInsertElementInst()
4516 const SimplifyQuery &, unsigned) { in SimplifyExtractValueInst() argument
4539 const SimplifyQuery &Q) { in SimplifyExtractValueInst()
4546 const SimplifyQuery &Q, unsigned) { in SimplifyExtractElementInst()
4583 const SimplifyQuery &Q) { in SimplifyExtractElementInst()
4589 const SimplifyQuery &Q) { in SimplifyPHINode()
4626 Type *Ty, const SimplifyQuery &Q, unsigned MaxRecurse) { in SimplifyCastInst()
4660 const SimplifyQuery &Q) { in SimplifyCastInst()
4717 const SimplifyQuery &Q, in SimplifyShuffleVectorInst()
4833 const SimplifyQuery &Q) { in SimplifyShuffleVectorInst()
4838 Value *&Op, const SimplifyQuery &Q) { in foldConstant()
4847 const SimplifyQuery &Q, unsigned MaxRecurse) { in simplifyFNegInst()
4860 const SimplifyQuery &Q) { in SimplifyFNegInst()
4878 const SimplifyQuery &Q, in simplifyFPOp()
4914 const SimplifyQuery &Q, unsigned MaxRecurse, in SimplifyFAddInst()
4968 const SimplifyQuery &Q, unsigned MaxRecurse, in SimplifyFSubInst()
5019 const SimplifyQuery &Q, unsigned MaxRecurse, in SimplifyFMAFMul()
5059 const SimplifyQuery &Q, unsigned MaxRecurse, in SimplifyFMulInst()
5071 const SimplifyQuery &Q, in SimplifyFAddInst()
5079 const SimplifyQuery &Q, in SimplifyFSubInst()
5087 const SimplifyQuery &Q, in SimplifyFMulInst()
5095 const SimplifyQuery &Q, in SimplifyFMAFMul()
5104 const SimplifyQuery &Q, unsigned, in SimplifyFDivInst()
5150 const SimplifyQuery &Q, in SimplifyFDivInst()
5159 const SimplifyQuery &Q, unsigned, in SimplifyFRemInst()
5188 const SimplifyQuery &Q, in SimplifyFRemInst()
5199 static Value *simplifyUnOp(unsigned Opcode, Value *Op, const SimplifyQuery &Q, in simplifyUnOp()
5214 const SimplifyQuery &Q, unsigned MaxRecurse) { in simplifyFPUnOp()
5223 Value *llvm::SimplifyUnOp(unsigned Opcode, Value *Op, const SimplifyQuery &Q) { in SimplifyUnOp()
5228 const SimplifyQuery &Q) { in SimplifyUnOp()
5235 const SimplifyQuery &Q, unsigned MaxRecurse) { in SimplifyBinOp()
5282 const FastMathFlags &FMF, const SimplifyQuery &Q, in SimplifyBinOp()
5299 const SimplifyQuery &Q) { in SimplifyBinOp()
5304 FastMathFlags FMF, const SimplifyQuery &Q) { in SimplifyBinOp()
5310 const SimplifyQuery &Q, unsigned MaxRecurse) { in SimplifyCmpInst()
5317 const SimplifyQuery &Q) { in SimplifyCmpInst()
5396 const SimplifyQuery &Q) { in simplifyUnaryIntrinsic()
5530 const SimplifyQuery &Q) { in simplifyBinaryIntrinsic()
5789 static Value *simplifyIntrinsic(CallBase *Call, const SimplifyQuery &Q) { in simplifyIntrinsic()
5952 static Value *tryConstantFoldCall(CallBase *Call, const SimplifyQuery &Q) { in tryConstantFoldCall()
5973 Value *llvm::SimplifyCall(CallBase *Call, const SimplifyQuery &Q) { in SimplifyCall()
5997 static Value *SimplifyFreezeInst(Value *Op0, const SimplifyQuery &Q) { in SimplifyFreezeInst()
6005 Value *llvm::SimplifyFreezeInst(Value *Op0, const SimplifyQuery &Q) { in SimplifyFreezeInst()
6063 const SimplifyQuery &Q) { in SimplifyLoadInst()
6084 const SimplifyQuery &SQ, in simplifyInstructionWithOperands()
6086 const SimplifyQuery Q = SQ.CxtI ? SQ : SQ.getWithInstruction(I); in simplifyInstructionWithOperands()
6236 const SimplifyQuery &SQ, in SimplifyInstructionWithOperands()
6243 Value *llvm::SimplifyInstruction(Instruction *I, const SimplifyQuery &SQ, in SimplifyInstruction()
6332 const SimplifyQuery getBestSimplifyQuery(Pass &P, Function &F) { in getBestSimplifyQuery()
6342 const SimplifyQuery getBestSimplifyQuery(LoopStandardAnalysisResults &AR, in getBestSimplifyQuery()
6348 const SimplifyQuery getBestSimplifyQuery(AnalysisManager<T, TArgs...> &AM, in getBestSimplifyQuery()
6355 template const SimplifyQuery getBestSimplifyQuery(AnalysisManager<Function> &,