reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Analysis/ScalarEvolution.h
  513   const SCEV *getTruncateExpr(const SCEV *Op, Type *Ty, unsigned Depth = 0);

References

include/llvm/Analysis/ScalarEvolutionExpressions.h
  680                  : SE.getTruncateExpr(Operand, Expr->getType());
lib/Analysis/ScalarEvolution.cpp
 1276     return getTruncateExpr(ST->getOperand(), Ty, Depth + 1);
 1304       const SCEV *S = getTruncateExpr(CommOp->getOperand(i), Ty, Depth + 1);
 1328       Operands.push_back(getTruncateExpr(Op, Ty, Depth + 1));
 1928                     getTruncateExpr(TruncRHS->getOperand(), NewTruncTy), Ty),
 2536         return getTruncateExpr(Fold, Ty);
 3175       return getZeroExtendExpr(getTruncateExpr(LHS, TruncTy), FullTy);
 4051     return getTruncateExpr(V, Ty, Depth);
 4063     return getTruncateExpr(V, Ty, Depth);
 4112   return getTruncateExpr(V, Ty);
 4807       getAddRecExpr(getTruncateExpr(StartVal, TruncTy),
 4808                     getTruncateExpr(Accum, TruncTy), L, SCEV::FlagAnyWrap);
 4836     const SCEV *TruncatedExpr = getTruncateExpr(Expr, TruncTy);
 6290                   getTruncateExpr(ShiftedLHS,
 6423               getTruncateExpr(ShlOp0SCEV, TruncTy), OuterTy);
 6436                 getMulExpr(getTruncateExpr(ShlOp0SCEV, TruncTy),
 6448     return getTruncateExpr(getSCEV(U->getOperand(0)), U->getType());
 8367     return getTruncateExpr(Op, Cast->getType());
lib/Analysis/ScalarEvolutionExpander.cpp
 1520     V = expandCodeFor(SE.getTruncateExpr(SE.getUnknown(V), Ty), nullptr,
 2006           SE.getTruncateExpr(SE.getSCEV(Phi), Phis.back()->getType());
lib/Transforms/Scalar/IndVarSimplify.cpp
 2395         IVInit = SE->getTruncateExpr(IVInit, ExitCount->getType());
 2511     const SCEV *TruncatedIV = SE->getTruncateExpr(SE->getSCEV(CmpIndVar),
lib/Transforms/Scalar/LoopPredication.cpp
  478       SE.getTruncateExpr(LatchCheck.IV, RangeCheckType));
  481   NewLatchCheck.Limit = SE.getTruncateExpr(LatchCheck.Limit, RangeCheckType);
tools/polly/lib/Support/ScopHelper.cpp
  335     return SE.getTruncateExpr(visit(E->getOperand()), E->getType());
unittests/Analysis/ScalarEvolutionTest.cpp
 1113   const auto *A1 = SE.getTruncateExpr(A0, Int32Ty);
 1116   const auto *B0 = SE.getTruncateExpr(ArgSCEV, Int32Ty);