reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Transforms/Utils/LoopRotationUtils.h
   24 struct SimplifyQuery;

References

include/llvm/Analysis/InstructionSimplify.h
  110   SimplifyQuery getWithInstruction(Instruction *I) const {
  111     SimplifyQuery Copy(*this);
  123                         const SimplifyQuery &Q);
  127                        const SimplifyQuery &Q);
  131                        const SimplifyQuery &Q);
  135                         const SimplifyQuery &Q);
  139                         const SimplifyQuery &Q);
  143                         const SimplifyQuery &Q);
  150                        const SimplifyQuery &Q);
  153 Value *SimplifyMulInst(Value *LHS, Value *RHS, const SimplifyQuery &Q);
  156 Value *SimplifySDivInst(Value *LHS, Value *RHS, const SimplifyQuery &Q);
  159 Value *SimplifyUDivInst(Value *LHS, Value *RHS, const SimplifyQuery &Q);
  163                         const SimplifyQuery &Q);
  166 Value *SimplifySRemInst(Value *LHS, Value *RHS, const SimplifyQuery &Q);
  169 Value *SimplifyURemInst(Value *LHS, Value *RHS, const SimplifyQuery &Q);
  173                         const SimplifyQuery &Q);
  177                        const SimplifyQuery &Q);
  181                         const SimplifyQuery &Q);
  185                         const SimplifyQuery &Q);
  188 Value *SimplifyAndInst(Value *LHS, Value *RHS, const SimplifyQuery &Q);
  191 Value *SimplifyOrInst(Value *LHS, Value *RHS, const SimplifyQuery &Q);
  194 Value *SimplifyXorInst(Value *LHS, Value *RHS, const SimplifyQuery &Q);
  198                         const SimplifyQuery &Q);
  202                         FastMathFlags FMF, const SimplifyQuery &Q);
  206                           const SimplifyQuery &Q);
  210                        const SimplifyQuery &Q);
  214                                const SimplifyQuery &Q);
  218                                  const SimplifyQuery &Q);
  222                                 const SimplifyQuery &Q);
  226                                   const SimplifyQuery &Q);
  230                         const SimplifyQuery &Q);
  234                                  Type *RetTy, const SimplifyQuery &Q);
  240                        const SimplifyQuery &Q);
  243 Value *SimplifyUnOp(unsigned Opcode, Value *Op, const SimplifyQuery &Q);
  248                     const SimplifyQuery &Q);
  252                      const SimplifyQuery &Q);
  257                      FastMathFlags FMF, const SimplifyQuery &Q);
  260 Value *SimplifyCall(CallBase *Call, const SimplifyQuery &Q);
  264 Value *SimplifyInstruction(Instruction *I, const SimplifyQuery &Q,
  295 const SimplifyQuery getBestSimplifyQuery(Pass &, Function &);
  297 const SimplifyQuery getBestSimplifyQuery(AnalysisManager<T, TArgs...> &,
  299 const SimplifyQuery getBestSimplifyQuery(LoopStandardAnalysisResults &,
include/llvm/Transforms/Utils/LoopRotationUtils.h
   35                   MemorySSAUpdater *MSSAU, const SimplifyQuery &SQ,
lib/Analysis/InstructionSimplify.cpp
   53 static Value *SimplifyAndInst(Value *, Value *, const SimplifyQuery &, unsigned);
   54 static Value *simplifyUnOp(unsigned, Value *, const SimplifyQuery &, unsigned);
   56                              const SimplifyQuery &, unsigned);
   57 static Value *SimplifyBinOp(unsigned, Value *, Value *, const SimplifyQuery &,
   60                             const SimplifyQuery &, unsigned);
   61 static Value *SimplifyCmpInst(unsigned, Value *, Value *, const SimplifyQuery &,
   64                                const SimplifyQuery &Q, unsigned MaxRecurse);
   65 static Value *SimplifyOrInst(Value *, Value *, const SimplifyQuery &, unsigned);
   66 static Value *SimplifyXorInst(Value *, Value *, const SimplifyQuery &, unsigned);
   68                                const SimplifyQuery &, unsigned);
   69 static Value *SimplifyGEPInst(Type *, ArrayRef<Value *>, const SimplifyQuery &,
  173                           const SimplifyQuery &Q, unsigned MaxRecurse) {
  231                                        const SimplifyQuery &Q,
  330                                     Value *RHS, const SimplifyQuery &Q,
  402                                   Value *RHS, const SimplifyQuery &Q,
  484                                  Value *RHS, const SimplifyQuery &Q,
  527                                const SimplifyQuery &Q, unsigned MaxRecurse) {
  562                                        const SimplifyQuery &Q) {
  577                               const SimplifyQuery &Q, unsigned MaxRecurse) {
  641                              const SimplifyQuery &Query) {
  697                               const SimplifyQuery &Q, unsigned MaxRecurse) {
  825                              const SimplifyQuery &Q) {
  831 static Value *SimplifyMulInst(Value *Op0, Value *Op1, const SimplifyQuery &Q,
  885 Value *llvm::SimplifyMulInst(Value *Op0, Value *Op1, const SimplifyQuery &Q) {
  949                        const SimplifyQuery &Q, unsigned MaxRecurse) {
  957 static bool isDivZero(Value *X, Value *Y, const SimplifyQuery &Q,
 1009                           const SimplifyQuery &Q, unsigned MaxRecurse) {
 1067                           const SimplifyQuery &Q, unsigned MaxRecurse) {
 1110 static Value *SimplifySDivInst(Value *Op0, Value *Op1, const SimplifyQuery &Q,
 1119 Value *llvm::SimplifySDivInst(Value *Op0, Value *Op1, const SimplifyQuery &Q) {
 1125 static Value *SimplifyUDivInst(Value *Op0, Value *Op1, const SimplifyQuery &Q,
 1130 Value *llvm::SimplifyUDivInst(Value *Op0, Value *Op1, const SimplifyQuery &Q) {
 1136 static Value *SimplifySRemInst(Value *Op0, Value *Op1, const SimplifyQuery &Q,
 1151 Value *llvm::SimplifySRemInst(Value *Op0, Value *Op1, const SimplifyQuery &Q) {
 1157 static Value *SimplifyURemInst(Value *Op0, Value *Op1, const SimplifyQuery &Q,
 1162 Value *llvm::SimplifyURemInst(Value *Op0, Value *Op1, const SimplifyQuery &Q) {
 1196                             Value *Op1, const SimplifyQuery &Q, unsigned MaxRecurse) {
 1246                                  Value *Op1, bool isExact, const SimplifyQuery &Q,
 1273                               const SimplifyQuery &Q, unsigned MaxRecurse) {
 1298                              const SimplifyQuery &Q) {
 1305                                const SimplifyQuery &Q, unsigned MaxRecurse) {
 1336                               const SimplifyQuery &Q) {
 1343                                const SimplifyQuery &Q, unsigned MaxRecurse) {
 1367                               const SimplifyQuery &Q) {
 1375                                          const SimplifyQuery &Q) {
 1658                                  const SimplifyQuery &Q) {
 1731                                 const SimplifyQuery &Q) {
 1794 static Value *simplifyAndOrOfCmps(const SimplifyQuery &Q,
 1903 static Value *SimplifyAndInst(Value *Op0, Value *Op1, const SimplifyQuery &Q,
 2053 Value *llvm::SimplifyAndInst(Value *Op0, Value *Op1, const SimplifyQuery &Q) {
 2059 static Value *SimplifyOrInst(Value *Op0, Value *Op1, const SimplifyQuery &Q,
 2197 Value *llvm::SimplifyOrInst(Value *Op0, Value *Op1, const SimplifyQuery &Q) {
 2203 static Value *SimplifyXorInst(Value *Op0, Value *Op1, const SimplifyQuery &Q,
 2242 Value *llvm::SimplifyXorInst(Value *Op0, Value *Op1, const SimplifyQuery &Q) {
 2488                                   Value *RHS, const SimplifyQuery &Q) {
 2562                                    Value *RHS, const SimplifyQuery &Q) {
 2665                                     Value *RHS, const SimplifyQuery &Q,
 2979                                      Value *RHS, const SimplifyQuery &Q,
 3183                                const SimplifyQuery &Q, unsigned MaxRecurse) {
 3470                               const SimplifyQuery &Q) {
 3477                                FastMathFlags FMF, const SimplifyQuery &Q,
 3659                               FastMathFlags FMF, const SimplifyQuery &Q) {
 3665                                            const SimplifyQuery &Q,
 3814                                          Value *FalseVal, const SimplifyQuery &Q,
 3935                                  const SimplifyQuery &Q, unsigned MaxRecurse) {
 3982                                 const SimplifyQuery &Q) {
 3989                               const SimplifyQuery &Q, unsigned) {
 4101                              const SimplifyQuery &Q) {
 4108                                       ArrayRef<unsigned> Idxs, const SimplifyQuery &Q,
 4136                                      const SimplifyQuery &Q) {
 4141                                        const SimplifyQuery &Q) {
 4177                                        const SimplifyQuery &, unsigned) {
 4200                                       const SimplifyQuery &Q) {
 4206 static Value *SimplifyExtractElementInst(Value *Vec, Value *Idx, const SimplifyQuery &,
 4239                                         const SimplifyQuery &Q) {
 4244 static Value *SimplifyPHINode(PHINode *PN, const SimplifyQuery &Q) {
 4277                                Type *Ty, const SimplifyQuery &Q, unsigned MaxRecurse) {
 4311                               const SimplifyQuery &Q) {
 4367                                         Type *RetTy, const SimplifyQuery &Q,
 4444                                        Type *RetTy, const SimplifyQuery &Q) {
 4449                               Value *&Op, const SimplifyQuery &Q) {
 4458                                const SimplifyQuery &Q, unsigned MaxRecurse) {
 4471                               const SimplifyQuery &Q) {
 4502                                const SimplifyQuery &Q, unsigned MaxRecurse) {
 4549                                const SimplifyQuery &Q, unsigned MaxRecurse) {
 4594                               const SimplifyQuery &Q, unsigned MaxRecurse) {
 4628                                const SimplifyQuery &Q, unsigned MaxRecurse) {
 4637                               const SimplifyQuery &Q) {
 4643                               const SimplifyQuery &Q) {
 4648                               const SimplifyQuery &Q) {
 4653                              const SimplifyQuery &Q) {
 4658                                const SimplifyQuery &Q, unsigned) {
 4698                               const SimplifyQuery &Q) {
 4703                                const SimplifyQuery &Q, unsigned) {
 4726                               const SimplifyQuery &Q) {
 4734 static Value *simplifyUnOp(unsigned Opcode, Value *Op, const SimplifyQuery &Q,
 4749                              const SimplifyQuery &Q, unsigned MaxRecurse) {
 4758 Value *llvm::SimplifyUnOp(unsigned Opcode, Value *Op, const SimplifyQuery &Q) {
 4763                           const SimplifyQuery &Q) {
 4770                             const SimplifyQuery &Q, unsigned MaxRecurse) {
 4817                             const FastMathFlags &FMF, const SimplifyQuery &Q,
 4834                            const SimplifyQuery &Q) {
 4839                            FastMathFlags FMF, const SimplifyQuery &Q) {
 4845                               const SimplifyQuery &Q, unsigned MaxRecurse) {
 4852                              const SimplifyQuery &Q) {
 4930                                      const SimplifyQuery &Q) {
 5003                                       const SimplifyQuery &Q) {
 5140 static Value *simplifyIntrinsic(CallBase *Call, const SimplifyQuery &Q) {
 5203 Value *llvm::SimplifyCall(CallBase *Call, const SimplifyQuery &Q) {
 5238 Value *llvm::SimplifyInstruction(Instruction *I, const SimplifyQuery &SQ,
 5240   const SimplifyQuery Q = SQ.CxtI ? SQ : SQ.getWithInstruction(I);
 5493 const SimplifyQuery getBestSimplifyQuery(Pass &P, Function &F) {
 5503 const SimplifyQuery getBestSimplifyQuery(LoopStandardAnalysisResults &AR,
 5509 const SimplifyQuery getBestSimplifyQuery(AnalysisManager<T, TArgs...> &AM,
lib/CodeGen/CodeGenPrepare.cpp
 2980   const SimplifyQuery &SQ;
 2988   SimplificationTracker(const SimplifyQuery &sq)
 3087   const SimplifyQuery &SQ;
 3093   AddressingModeCombiner(const SimplifyQuery &_SQ, Value *OriginalValue)
 4673   const SimplifyQuery SQ(*DL, TLInfo);
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
 1056                                          const SimplifyQuery &Q,
 1147   const SimplifyQuery Q = SQ.getWithInstruction(&CxtI);
 2189   const SimplifyQuery Q = SQ.getWithInstruction(&CxtI);
lib/Transforms/InstCombine/InstCombineCompares.cpp
 3453 foldShiftIntoShiftInAnotherHandOfAndInICmp(ICmpInst &I, const SimplifyQuery SQ,
 3667 Instruction *InstCombiner::foldICmpBinOp(ICmpInst &I, const SimplifyQuery &SQ) {
 3668   const SimplifyQuery Q = SQ.getWithInstruction(&I);
 5379   const SimplifyQuery Q = SQ.getWithInstruction(&I);
lib/Transforms/InstCombine/InstCombineInternal.h
  326   const SimplifyQuery SQ;
  394       BinaryOperator *Sh0, const SimplifyQuery &SQ,
  919   Instruction *foldICmpBinOp(ICmpInst &Cmp, const SimplifyQuery &SQ);
lib/Transforms/InstCombine/InstCombineSelect.cpp
 1106                                      const SimplifyQuery &Q) {
 1138                                          const SimplifyQuery &Q) {
lib/Transforms/InstCombine/InstCombineShifts.cpp
   32     BinaryOperator *Sh0, const SimplifyQuery &SQ,
  177                                      const SimplifyQuery &Q,
  846   const SimplifyQuery Q = SQ.getWithInstruction(&I);
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  212                        const SimplifyQuery &SQ) {
  830                     const SimplifyQuery &SQ) {
lib/Transforms/Scalar/EarlyCSE.cpp
  448   const SimplifyQuery SQ;
lib/Transforms/Scalar/InstSimplifyPass.cpp
   30 static bool runImpl(Function &F, const SimplifyQuery &SQ,
  109     const SimplifyQuery SQ(DL, TLI, DT, AC);
  137   const SimplifyQuery SQ(DL, &TLI, &DT, &AC);
lib/Transforms/Scalar/LoopInstSimplify.cpp
   54   SimplifyQuery SQ(DL, &TLI, &DT, &AC);
lib/Transforms/Scalar/LoopRotation.cpp
   42   const SimplifyQuery SQ = getBestSimplifyQuery(AR, DL);
   99     const SimplifyQuery SQ = getBestSimplifyQuery(*this, F);
lib/Transforms/Scalar/NewGVN.cpp
  505   const SimplifyQuery SQ;
lib/Transforms/Scalar/StructurizeCFG.cpp
  644     SimplifyQuery Q(Func->getParent()->getDataLayout());
lib/Transforms/Utils/LoopRotationUtils.cpp
   59   const SimplifyQuery &SQ;
   67              const SimplifyQuery &SQ, bool RotationOnly, bool IsUtilMode)
  658                         const SimplifyQuery &SQ, bool RotationOnly = true,
lib/Transforms/Utils/PromoteMemoryToRegister.cpp
  235   const SimplifyQuery SQ;