Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DInstructionSimplify.h93 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 DInstSimplifyFolder.h36 SimplifyQuery SQ;
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DInstructionSimplify.cpp55 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 DLoopRotationUtils.h24 struct SimplifyQuery;
35 MemorySSAUpdater *MSSAU, const SimplifyQuery &SQ,
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DInstSimplifyPass.cpp29 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 DLoopRotation.cpp57 const SimplifyQuery SQ = getBestSimplifyQuery(AR, DL); in run()
119 const SimplifyQuery SQ = getBestSimplifyQuery(*this, F); in runOnLoop()
H A DLoopDeletion.cpp180 const SimplifyQuery &SQ) { in getValueOnFirstIteration()
305 const SimplifyQuery SQ(DL); in canProveExitOnFirstIteration()
H A DLoopInstSimplify.cpp51 SimplifyQuery SQ(DL, &TLI, &DT, &AC); in simplifyLoopInst()
H A DCorrelatedValuePropagation.cpp266 const SimplifyQuery &SQ) { in processPHI()
1143 const SimplifyQuery &SQ) { in runImpl()
H A DStructurizeCFG.cpp775 SimplifyQuery Q(Func->getParent()->getDataLayout()); in simplifyAffectedPhis()
H A DNewGVN.cpp507 const SimplifyQuery SQ;
1076 const SimplifyQuery Q = SQ.getWithInstruction(I); in createBinaryExpression()
1150 const SimplifyQuery Q = SQ.getWithInstruction(I); in createExpression()
H A DEarlyCSE.cpp543 const SimplifyQuery SQ;
/openbsd-src/gnu/llvm/llvm/tools/llvm-reduce/deltas/
H A DSimplifyInstructions.cpp33 SimplifyQuery Q(DL, &Inst); in extractInstrFromModule()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DLoopRotationUtils.cpp63 const SimplifyQuery &SQ;
72 const SimplifyQuery &SQ, bool RotationOnly, bool IsUtilMode, in LoopRotate()
839 const SimplifyQuery &SQ, bool RotationOnly = true, in LoopRotation()
H A DPromoteMemoryToRegister.cpp302 const SimplifyQuery SQ;
H A DSCCPSolver.cpp1287 Value *R = simplifyBinOp(I.getOpcode(), V1, V2, SimplifyQuery(DL)); in visitBinaryOperator()
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h74 const SimplifyQuery SQ;
373 const SimplifyQuery &getSimplifyQuery() const { return SQ; } in getSimplifyQuery()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineInternal.h114 BinaryOperator *Sh0, const SimplifyQuery &SQ,
571 Instruction *foldICmpBinOp(ICmpInst &Cmp, const SimplifyQuery &SQ);
H A DInstCombineShifts.cpp59 BinaryOperator *Sh0, const SimplifyQuery &SQ, in reassociateShiftAmtsOfTwoSameDirectionShifts()
185 const SimplifyQuery &Q, in dropRedundantMaskingOfLeftShiftInput()
911 const SimplifyQuery Q = SQ.getWithInstruction(&I); in visitShl()
H A DInstCombineCompares.cpp2782 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 DInstCombineAndOrXor.cpp935 const SimplifyQuery &Q, in foldUnsignedUnderflowCheck()
1096 const SimplifyQuery &Q) { in foldAndOrOfICmpsWithConstEq()
2758 const SimplifyQuery Q = SQ.getWithInstruction(&I); in foldAndOrOfICmps()
H A DInstructionCombining.cpp638 static Value *tryFactorization(BinaryOperator &I, const SimplifyQuery &SQ, in tryFactorization()
887 SimplifyQuery Q = SQ.getWithInstruction(&I); in SimplifySelectsFeedingBinaryOp()
H A DInstCombineVectorOps.cpp2729 SimplifyQuery ShufQuery = SQ.getWithInstruction(&SVI); in visitShuffleVectorInst()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp3468 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 DHexagonVectorCombine.cpp1873 SimplifyQuery Q(DL, &TLI, &DT, &AC, In); in simplify()

12