Home
last modified time | relevance | path

Searched refs:SimplifyQuery (Results 1 – 22 of 22) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DInstructionSimplify.h94 struct SimplifyQuery { struct
111 SimplifyQuery(const DataLayout &DL, const Instruction *CXTI = nullptr) argument
114 SimplifyQuery(const DataLayout &DL, const TargetLibraryInfo *TLI, argument
121 SimplifyQuery getWithInstruction(Instruction *I) const { in getWithInstruction() argument
122 SimplifyQuery Copy(*this); in getWithInstruction()
126 SimplifyQuery getWithoutUndef() const { in getWithoutUndef() argument
127 SimplifyQuery Copy(*this); in getWithoutUndef()
149 const SimplifyQuery &Q);
153 const SimplifyQuery &Q);
157 const SimplifyQuery &Q);
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DInstructionSimplify.cpp54 static Value *SimplifyAndInst(Value *, Value *, const SimplifyQuery &, unsigned);
55 static Value *simplifyUnOp(unsigned, Value *, const SimplifyQuery &, unsigned);
57 const SimplifyQuery &, unsigned);
58 static Value *SimplifyBinOp(unsigned, Value *, Value *, const SimplifyQuery &,
61 const SimplifyQuery &, unsigned);
62 static Value *SimplifyCmpInst(unsigned, Value *, Value *, const SimplifyQuery &,
65 const SimplifyQuery &Q, unsigned MaxRecurse);
66 static Value *SimplifyOrInst(Value *, Value *, const SimplifyQuery &, unsigned);
67 static Value *SimplifyXorInst(Value *, Value *, const SimplifyQuery &, unsigned);
69 const SimplifyQuery &, unsigned);
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DInstSimplifyPass.cpp33 static bool runImpl(Function &F, const SimplifyQuery &SQ, in runImpl()
112 const SimplifyQuery SQ(DL, TLI, DT, AC); in runOnFunction()
140 const SimplifyQuery SQ(DL, &TLI, &DT, &AC); in run()
H A DLoopRotation.cpp58 const SimplifyQuery SQ = getBestSimplifyQuery(AR, DL); in run()
122 const SimplifyQuery SQ = getBestSimplifyQuery(*this, F); in runOnLoop()
H A DLoopInstSimplify.cpp55 SimplifyQuery SQ(DL, &TLI, &DT, &AC); in simplifyLoopInst()
H A DCorrelatedValuePropagation.cpp212 const SimplifyQuery &SQ) { in processPHI()
1017 const SimplifyQuery &SQ) { in runImpl()
H A DStructurizeCFG.cpp660 SimplifyQuery Q(Func->getParent()->getDataLayout()); in simplifyAffectedPhis()
H A DEarlyCSE.cpp524 const SimplifyQuery SQ;
H A DNewGVN.cpp508 const SimplifyQuery SQ;
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
H A DLoopRotationUtils.h24 struct SimplifyQuery;
35 MemorySSAUpdater *MSSAU, const SimplifyQuery &SQ,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DLoopRotationUtils.cpp70 const SimplifyQuery &SQ;
79 const SimplifyQuery &SQ, bool RotationOnly, bool IsUtilMode, in LoopRotate()
832 const SimplifyQuery &SQ, bool RotationOnly = true, in LoopRotation()
H A DPromoteMemoryToRegister.cpp232 const SimplifyQuery SQ;
H A DSCCPSolver.cpp947 Value *R = SimplifyBinOp(I.getOpcode(), V1, V2, SimplifyQuery(DL)); in visitBinaryOperator()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h72 const SimplifyQuery SQ;
371 const SimplifyQuery &getSimplifyQuery() const { return SQ; } in getSimplifyQuery()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineInternal.h112 BinaryOperator *Sh0, const SimplifyQuery &SQ,
661 Instruction *foldICmpBinOp(ICmpInst &Cmp, const SimplifyQuery &SQ);
H A DInstCombineShifts.cpp60 BinaryOperator *Sh0, const SimplifyQuery &SQ, in reassociateShiftAmtsOfTwoSameDirectionShifts()
186 const SimplifyQuery &Q, in dropRedundantMaskingOfLeftShiftInput()
892 const SimplifyQuery Q = SQ.getWithInstruction(&I); in visitShl()
H A DInstCombineAndOrXor.cpp995 const SimplifyQuery &Q, in foldUnsignedUnderflowCheck()
1165 const SimplifyQuery &Q) { in foldAndOrOfICmpsWithConstEq()
1208 const SimplifyQuery Q = SQ.getWithInstruction(&And); in foldAndOfICmps()
2366 const SimplifyQuery Q = SQ.getWithInstruction(&Or); in foldOrOfICmps()
H A DInstCombineCompares.cpp3518 foldShiftIntoShiftInAnotherHandOfAndInICmp(ICmpInst &I, const SimplifyQuery SQ, in foldShiftIntoShiftInAnotherHandOfAndInICmp()
3769 const SimplifyQuery &SQ) { in foldICmpBinOp()
3770 const SimplifyQuery Q = SQ.getWithInstruction(&I); in foldICmpBinOp()
5572 const SimplifyQuery Q = SQ.getWithInstruction(&I); in visitICmpInst()
H A DInstCombineVectorOps.cpp2290 SimplifyQuery ShufQuery = SQ.getWithInstruction(&SVI); in visitShuffleVectorInst()
H A DInstructionCombining.cpp838 SimplifyQuery Q = SQ.getWithInstruction(&I); in SimplifySelectsFeedingBinaryOp()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp3346 const SimplifyQuery &SQ;
3354 SimplificationTracker(const SimplifyQuery &sq) in SimplificationTracker()
3453 const SimplifyQuery &SQ;
3459 AddressingModeCombiner(const SimplifyQuery &_SQ, Value *OriginalValue) in AddressingModeCombiner()
5117 const SimplifyQuery SQ(*DL, TLInfo); in optimizeMemoryInst()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp1300 SimplifyQuery Q(DL, &TLI, &DT, &AC, I); in calculatePointerDifference()