| /openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/ |
| H A D | InstructionSimplify.h | 93 struct SimplifyQuery { struct 110 SimplifyQuery(const DataLayout &DL, const Instruction *CXTI = nullptr) argument 113 SimplifyQuery(const DataLayout &DL, const TargetLibraryInfo *TLI, argument 120 SimplifyQuery getWithInstruction(Instruction *I) const { in getWithInstruction() argument 121 SimplifyQuery Copy(*this); in getWithInstruction() 125 SimplifyQuery getWithoutUndef() const { in getWithoutUndef() argument 126 SimplifyQuery Copy(*this); in getWithoutUndef() 148 const SimplifyQuery &Q); 152 const SimplifyQuery &Q); 156 const SimplifyQuery &Q); [all …]
|
| H A D | InstSimplifyFolder.h | 36 SimplifyQuery SQ;
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | InstructionSimplify.cpp | 55 static Value *simplifyAndInst(Value *, Value *, const SimplifyQuery &, 57 static Value *simplifyUnOp(unsigned, Value *, const SimplifyQuery &, unsigned); 59 const SimplifyQuery &, unsigned); 60 static Value *simplifyBinOp(unsigned, Value *, Value *, const SimplifyQuery &, 63 const SimplifyQuery &, unsigned); 64 static Value *simplifyCmpInst(unsigned, Value *, Value *, const SimplifyQuery &, 67 const SimplifyQuery &Q, unsigned MaxRecurse); 68 static Value *simplifyOrInst(Value *, Value *, const SimplifyQuery &, unsigned); 69 static Value *simplifyXorInst(Value *, Value *, const SimplifyQuery &, 71 static Value *simplifyCastInst(unsigned, Value *, Type *, const SimplifyQuery &, [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Utils/ |
| H A D | LoopRotationUtils.h | 24 struct SimplifyQuery; 35 MemorySSAUpdater *MSSAU, const SimplifyQuery &SQ,
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | InstSimplifyPass.cpp | 29 static bool runImpl(Function &F, const SimplifyQuery &SQ, in runImpl() 108 const SimplifyQuery SQ(DL, TLI, DT, AC); in runOnFunction() 136 const SimplifyQuery SQ(DL, &TLI, &DT, &AC); in run()
|
| H A D | LoopRotation.cpp | 57 const SimplifyQuery SQ = getBestSimplifyQuery(AR, DL); in run() 119 const SimplifyQuery SQ = getBestSimplifyQuery(*this, F); in runOnLoop()
|
| H A D | LoopDeletion.cpp | 180 const SimplifyQuery &SQ) { in getValueOnFirstIteration() 305 const SimplifyQuery SQ(DL); in canProveExitOnFirstIteration()
|
| H A D | LoopInstSimplify.cpp | 51 SimplifyQuery SQ(DL, &TLI, &DT, &AC); in simplifyLoopInst()
|
| H A D | CorrelatedValuePropagation.cpp | 266 const SimplifyQuery &SQ) { in processPHI() 1143 const SimplifyQuery &SQ) { in runImpl()
|
| H A D | StructurizeCFG.cpp | 775 SimplifyQuery Q(Func->getParent()->getDataLayout()); in simplifyAffectedPhis()
|
| H A D | NewGVN.cpp | 507 const SimplifyQuery SQ; 1076 const SimplifyQuery Q = SQ.getWithInstruction(I); in createBinaryExpression() 1150 const SimplifyQuery Q = SQ.getWithInstruction(I); in createExpression()
|
| H A D | EarlyCSE.cpp | 543 const SimplifyQuery SQ;
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-reduce/deltas/ |
| H A D | SimplifyInstructions.cpp | 33 SimplifyQuery Q(DL, &Inst); in extractInstrFromModule()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | LoopRotationUtils.cpp | 63 const SimplifyQuery &SQ; 72 const SimplifyQuery &SQ, bool RotationOnly, bool IsUtilMode, in LoopRotate() 839 const SimplifyQuery &SQ, bool RotationOnly = true, in LoopRotation()
|
| H A D | PromoteMemoryToRegister.cpp | 302 const SimplifyQuery SQ;
|
| H A D | SCCPSolver.cpp | 1287 Value *R = simplifyBinOp(I.getOpcode(), V1, V2, SimplifyQuery(DL)); in visitBinaryOperator()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/InstCombine/ |
| H A D | InstCombiner.h | 74 const SimplifyQuery SQ; 373 const SimplifyQuery &getSimplifyQuery() const { return SQ; } in getSimplifyQuery()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineInternal.h | 114 BinaryOperator *Sh0, const SimplifyQuery &SQ, 571 Instruction *foldICmpBinOp(ICmpInst &Cmp, const SimplifyQuery &SQ);
|
| H A D | InstCombineShifts.cpp | 59 BinaryOperator *Sh0, const SimplifyQuery &SQ, in reassociateShiftAmtsOfTwoSameDirectionShifts() 185 const SimplifyQuery &Q, in dropRedundantMaskingOfLeftShiftInput() 911 const SimplifyQuery Q = SQ.getWithInstruction(&I); in visitShl()
|
| H A D | InstCombineCompares.cpp | 2782 const SimplifyQuery Q = SQ.getWithInstruction(&Cmp); in foldICmpAddConstant() 3768 foldShiftIntoShiftInAnotherHandOfAndInICmp(ICmpInst &I, const SimplifyQuery SQ, in foldShiftIntoShiftInAnotherHandOfAndInICmp() 4028 const SimplifyQuery &SQ) { in foldICmpBinOp() 4029 const SimplifyQuery Q = SQ.getWithInstruction(&I); in foldICmpBinOp() 6153 const SimplifyQuery Q = SQ.getWithInstruction(&I); in visitICmpInst()
|
| H A D | InstCombineAndOrXor.cpp | 935 const SimplifyQuery &Q, in foldUnsignedUnderflowCheck() 1096 const SimplifyQuery &Q) { in foldAndOrOfICmpsWithConstEq() 2758 const SimplifyQuery Q = SQ.getWithInstruction(&I); in foldAndOrOfICmps()
|
| H A D | InstructionCombining.cpp | 638 static Value *tryFactorization(BinaryOperator &I, const SimplifyQuery &SQ, in tryFactorization() 887 SimplifyQuery Q = SQ.getWithInstruction(&I); in SimplifySelectsFeedingBinaryOp()
|
| H A D | InstCombineVectorOps.cpp | 2729 SimplifyQuery ShufQuery = SQ.getWithInstruction(&SVI); in visitShuffleVectorInst()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 3468 const SimplifyQuery &SQ; 3476 SimplificationTracker(const SimplifyQuery &sq) : SQ(sq) {} in SimplificationTracker() 3572 const SimplifyQuery &SQ; 3578 AddressingModeCombiner(const SimplifyQuery &_SQ, Value *OriginalValue) in AddressingModeCombiner() 5224 const SimplifyQuery SQ(*DL, TLInfo); in optimizeMemoryInst()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/ |
| H A D | HexagonVectorCombine.cpp | 1873 SimplifyQuery Q(DL, &TLI, &DT, &AC, In); in simplify()
|