Searched refs:SCCPSolver (Results 1 – 7 of 7) sorted by relevance
| /src/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SCCPSolver.cpp | 47 bool SCCPSolver::isConstant(const ValueLatticeElement &LV) { in isConstant() 52 bool SCCPSolver::isOverdefined(const ValueLatticeElement &LV) { in isOverdefined() 53 return !LV.isUnknownOrUndef() && !SCCPSolver::isConstant(LV); in isOverdefined() 68 bool SCCPSolver::tryToReplaceWithConstant(Value *V) { in tryToReplaceWithConstant() 99 static bool refineInstruction(SCCPSolver &Solver, in refineInstruction() 168 static bool replaceSignedInst(SCCPSolver &Solver, in replaceSignedInst() 237 bool SCCPSolver::simplifyInstsInBlock(BasicBlock &BB, in simplifyInstsInBlock() 261 bool SCCPSolver::removeNonFeasibleEdges(BasicBlock *BB, DomTreeUpdater &DTU, in removeNonFeasibleEdges() 938 if (!SCCPSolver::isConstant(LV)) in isStructLatticeConstant() 964 if (any_of(LVs, SCCPSolver::isOverdefined)) in getConstantOrNull() [all …]
|
| /src/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | SCCP.cpp | 52 SCCPSolver &Solver) { in findReturnsToZap() 81 return !SCCPSolver::isOverdefined(LV); in findReturnsToZap() 92 return !SCCPSolver::isOverdefined(Solver.getLatticeValueFor(U)); in findReturnsToZap() 118 SCCPSolver Solver(DL, GetTLI, M.getContext()); in runIPSCCP() 303 if (SCCPSolver::isConstant(ReturnValue) || ReturnValue.isUnknownOrUndef()) in runIPSCCP() 355 if (SCCPSolver::isOverdefined(I.second)) in runIPSCCP()
|
| H A D | FunctionSpecialization.cpp | 765 if (SCCPSolver::isOverdefined(It->second)) in run() 1063 ? any_of(Solver.getStructLatticeValueFor(A), SCCPSolver::isOverdefined) in isArgumentInteresting() 1064 : SCCPSolver::isOverdefined(Solver.getLatticeValueFor(A)); in isArgumentInteresting()
|
| /src/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | SCCPSolver.h | 65 class SCCPSolver { 69 SCCPSolver(const DataLayout &DL, 73 ~SCCPSolver();
|
| /src/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
| H A D | FunctionSpecialization.h | 179 SCCPSolver &Solver; 196 TargetTransformInfo &TTI, SCCPSolver &Solver) in InstCostVisitor() 252 SCCPSolver &Solver; 273 SCCPSolver &Solver, Module &M, FunctionAnalysisManager *FAM, in FunctionSpecializer()
|
| /src/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SCCP.cpp | 65 SCCPSolver Solver( in runSCCP()
|
| /src/lib/clang/libllvm/ |
| H A D | Makefile | 1979 SRCS_MIN+= Transforms/Utils/SCCPSolver.cpp
|