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

References

include/llvm/Analysis/ScalarEvolutionExpander.h
  366     Value *visitTruncateExpr(const SCEVTruncateExpr *S);
include/llvm/Analysis/ScalarEvolutionExpressions.h
  676     const SCEV *visitTruncateExpr(const SCEVTruncateExpr *Expr) {
include/llvm/Support/Casting.h
   58     return To::classof(&Val);
  106     return isa_impl<To, From>::doit(*Val);
  122     return isa_impl_wrap<To, SimpleFrom,
  132     return isa_impl_cl<To,FromTy>::doit(Val);
  142   return isa_impl_wrap<X, const Y,
  176   using ret_type = const To *; // Constant pointer arg case, return const Ty*
  198   using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
  204   using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
  210       To, From, typename simplify_type<From>::SimpleType>::ret_type;
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  228     typename cast_retty<To, FromTy>::ret_type Res2
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  265   return cast_convert_val<X, Y*,
  337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
  342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
lib/Analysis/ScalarEvolution.cpp
  244     const SCEVTruncateExpr *Trunc = cast<SCEVTruncateExpr>(this);
  244     const SCEVTruncateExpr *Trunc = cast<SCEVTruncateExpr>(this);
  940   void visitTruncateExpr(const SCEVTruncateExpr *Numerator) {}
 1275   if (const SCEVTruncateExpr *ST = dyn_cast<SCEVTruncateExpr>(Op))
 1275   if (const SCEVTruncateExpr *ST = dyn_cast<SCEVTruncateExpr>(Op))
 1288         new (SCEVAllocator) SCEVTruncateExpr(ID.Intern(SCEVAllocator), Op, Ty);
 1305       if (!isa<SCEVCastExpr>(CommOp->getOperand(i)) && isa<SCEVTruncateExpr>(S))
 1335   SCEV *S = new (SCEVAllocator) SCEVTruncateExpr(ID.Intern(SCEVAllocator),
 1671   if (const SCEVTruncateExpr *ST = dyn_cast<SCEVTruncateExpr>(Op)) {
 1671   if (const SCEVTruncateExpr *ST = dyn_cast<SCEVTruncateExpr>(Op)) {
 1921           if (auto *TruncRHS = dyn_cast<SCEVTruncateExpr>(SM->getOperand(1))) {
 1982   if (const SCEVTruncateExpr *ST = dyn_cast<SCEVTruncateExpr>(Op)) {
 1982   if (const SCEVTruncateExpr *ST = dyn_cast<SCEVTruncateExpr>(Op)) {
 2211   if (const SCEVTruncateExpr *T = dyn_cast<SCEVTruncateExpr>(Op)) {
 2211   if (const SCEVTruncateExpr *T = dyn_cast<SCEVTruncateExpr>(Op)) {
 2484     if (auto *T = dyn_cast<SCEVTruncateExpr>(Ops[Idx]))
 2488       if (const auto *T = dyn_cast<SCEVTruncateExpr>(LastOp))
 2488       if (const auto *T = dyn_cast<SCEVTruncateExpr>(LastOp))
 2499       if (const SCEVTruncateExpr *T = dyn_cast<SCEVTruncateExpr>(Ops[i])) {
 2499       if (const SCEVTruncateExpr *T = dyn_cast<SCEVTruncateExpr>(Ops[i])) {
 2510           if (const SCEVTruncateExpr *T =
 2511                 dyn_cast<SCEVTruncateExpr>(M->getOperand(j))) {
 4609   const SCEVTruncateExpr *Trunc =
 4610       SExt ? dyn_cast<SCEVTruncateExpr>(SExt->getOperand())
 4611            : dyn_cast<SCEVTruncateExpr>(ZExt->getOperand());
 5442   if (const SCEVTruncateExpr *T = dyn_cast<SCEVTruncateExpr>(S))
 5442   if (const SCEVTruncateExpr *T = dyn_cast<SCEVTruncateExpr>(S))
 5640   if (const SCEVTruncateExpr *Trunc = dyn_cast<SCEVTruncateExpr>(S)) {
 5640   if (const SCEVTruncateExpr *Trunc = dyn_cast<SCEVTruncateExpr>(S)) {
 8070       const SCEVTruncateExpr *ST = cast<SCEVTruncateExpr>(V);
 8070       const SCEVTruncateExpr *ST = cast<SCEVTruncateExpr>(V);
 8363   if (const SCEVTruncateExpr *Cast = dyn_cast<SCEVTruncateExpr>(V)) {
 8363   if (const SCEVTruncateExpr *Cast = dyn_cast<SCEVTruncateExpr>(V)) {
lib/Analysis/ScalarEvolutionExpander.cpp
 1634 Value *SCEVExpander::visitTruncateExpr(const SCEVTruncateExpr *S) {
 2146     return isHighCostExpansionHelper(cast<SCEVTruncateExpr>(S)->getOperand(),
lib/Transforms/Scalar/LoopStrengthReduce.cpp
  912     return isHighCostExpansion(cast<SCEVTruncateExpr>(S)->getOperand(),
 2772     return getExprBase(cast<SCEVTruncateExpr>(S)->getOperand());
tools/polly/include/polly/Support/SCEVAffinator.h
   98   PWACtx visitTruncateExpr(const llvm::SCEVTruncateExpr *E);
tools/polly/lib/Support/SCEVAffinator.cpp
  263 PWACtx SCEVAffinator::visitTruncateExpr(const SCEVTruncateExpr *Expr) {
tools/polly/lib/Support/SCEVValidator.cpp
  164   class ValidatorResult visitTruncateExpr(const SCEVTruncateExpr *Expr) {
tools/polly/lib/Support/ScopHelper.cpp
  334   const SCEV *visitTruncateExpr(const SCEVTruncateExpr *E) {