Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp466 SE.getTruncateExpr(LatchCheck.IV, RangeCheckType)); in isSafeToTruncateWideIVType()
469 NewLatchCheck.Limit = SE.getTruncateExpr(LatchCheck.Limit, RangeCheckType); in isSafeToTruncateWideIVType()
H A DIndVarSimplify.cpp934 AR = cast<SCEVAddRecExpr>(SE->getTruncateExpr(AR, ExitCount->getType())); in genLoopLimit()
1040 const SCEV *TruncatedIV = SE->getTruncateExpr(IV, ExitCnt->getType()); in linearFunctionTestReplace()
1292 MaxIter = SE->getTruncateExpr(MaxIter, ARTy); in createReplacement()
H A DInductiveRangeCheckElimination.cpp815 SE.getTruncateExpr(SCEVCheckWillNotOverflow(REnd), RCType); in isSafeDecreasingBound()
816 REnd = SE.getTruncateExpr(REnd, RCType); in isSafeDecreasingBound()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp1135 const SCEV *ScalarEvolution::getTruncateExpr(const SCEV *Op, Type *Ty, in getTruncateExpr() function in ScalarEvolution
1158 return getTruncateExpr(ST->getOperand(), Ty, Depth + 1); in getTruncateExpr()
1186 const SCEV *S = getTruncateExpr(CommOp->getOperand(i), Ty, Depth + 1); in getTruncateExpr()
1210 Operands.push_back(getTruncateExpr(Op, Ty, Depth + 1)); in getTruncateExpr()
1849 getTruncateExpr(TruncRHS->getOperand(), NewTruncTy), Ty), in getZeroExtendExprImpl()
2152 return getTruncateExpr(Op, Ty); in getCastExpr()
2656 return getTruncateExpr(Fold, Ty); in getAddExpr()
3410 return getZeroExtendExpr(getTruncateExpr(LHS, TruncTy), FullTy); in getURemExpr()
4735 return getTruncateExpr(V, Ty, Depth); in getTruncateOrZeroExtend()
4747 return getTruncateExpr(V, Ty, Depth); in getTruncateOrSignExtend()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScalarEvolutionExpressions.h784 : SE.getTruncateExpr(Operand, Expr->getType()); in visitTruncateExpr()
H A DScalarEvolution.h571 const SCEV *getTruncateExpr(const SCEV *Op, Type *Ty, unsigned Depth = 0);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp1237 V = expand(SE.getTruncateExpr(SE.getUnknown(V), Ty), NewInsertPt); in visitAddRecExpr()
1741 SE.getTruncateExpr(PhiExpr, Phis.back()->getType()); in replaceCongruentIVs()