Home
last modified time | relevance | path

Searched refs:getTruncateExpr (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/llvm/test/Analysis/ScalarEvolution/
H A Dtruncate.ll3 ; Regression test for assert ScalarEvolution::getTruncateExpr.
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp497 SE.getTruncateExpr(LatchCheck.IV, RangeCheckType)); in generateLoopLatchCheck()
500 NewLatchCheck.Limit = SE.getTruncateExpr(LatchCheck.Limit, RangeCheckType); in generateLoopLatchCheck()
H A DIndVarSimplify.cpp1034 IVInit = SE->getTruncateExpr(IVInit, ExitCount->getType()); in genLoopLimit()
1150 const SCEV *TruncatedIV = SE->getTruncateExpr(SE->getSCEV(CmpIndVar), in linearFunctionTestReplace()
1405 MaxIter = SE->getTruncateExpr(MaxIter, ARTy); in optimizeLoopExitWithUnknownExitCount()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DScalarEvolution.cpp1226 return getTruncateExpr(ST->getOperand(), Ty, Depth + 1); in getTruncateExpr()
1279 Operands.push_back(getTruncateExpr(Op, Ty, Depth + 1)); in getTruncateExpr()
2137 return getTruncateExpr(Op, Ty); in getCastExpr()
2600 return getTruncateExpr(Fold, Ty); in getAddExpr()
4571 return getTruncateExpr(V, Ty, Depth); in getTruncateOrZeroExtend()
4583 return getTruncateExpr(V, Ty, Depth); in getTruncateOrSignExtend()
4632 return getTruncateExpr(V, Ty); in getTruncateOrNoop()
5403 getAddRecExpr(getTruncateExpr(StartVal, TruncTy), in createAddRecFromPHIWithCastsImpl()
5432 const SCEV *TruncatedExpr = getTruncateExpr(Expr, TruncTy); in createAddRecFromPHIWithCastsImpl()
7589 getTruncateExpr(ShiftedLHS, in createSCEV()
[all …]
/llvm-project-15.0.7/polly/lib/Support/
H A DScopHelper.cpp344 return SE.getTruncateExpr(visit(E->getOperand()), E->getType()); in visitTruncateExpr()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DScalarEvolutionExpressions.h793 : SE.getTruncateExpr(Operand, Expr->getType()); in visitTruncateExpr()
H A DScalarEvolution.h563 const SCEV *getTruncateExpr(const SCEV *Op, Type *Ty, unsigned Depth = 0);
/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DScalarEvolutionTest.cpp1027 const auto *A1 = SE.getTruncateExpr(A0, Int32Ty); in TEST_F()
1030 const auto *B0 = SE.getTruncateExpr(ArgSCEV, Int32Ty); in TEST_F()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp1543 V = expandCodeForImpl(SE.getTruncateExpr(SE.getUnknown(V), Ty), nullptr, in visitAddRecExpr()
1973 SE.getTruncateExpr(SE.getSCEV(Phi), Phis.back()->getType()); in replaceCongruentIVs()