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

Declarations

include/llvm/Analysis/ScalarEvolution.h
  489   uint64_t getTypeSizeInBits(Type *Ty) const;

References

lib/Analysis/DependenceAnalysis.cpp
  891     if (SE->getTypeSizeInBits(Start->getType()) <
  892         SE->getTypeSizeInBits(UB->getType())) {
  916     if (SE->getTypeSizeInBits(Start->getType()) <
  917         SE->getTypeSizeInBits(UB->getType())) {
 2333   unsigned BitWidth = SE->getTypeSizeInBits(Src->getType());
lib/Analysis/IVUsers.cpp
  188   uint64_t Width = SE->getTypeSizeInBits(I->getType());
lib/Analysis/ScalarEvolution.cpp
 1177   unsigned W = SE.getTypeSizeInBits(ResultTy);
 1256   assert(getTypeSizeInBits(Op->getType()) > getTypeSizeInBits(Ty) &&
 1256   assert(getTypeSizeInBits(Op->getType()) > getTypeSizeInBits(Ty) &&
 1348   unsigned BitWidth = SE->getTypeSizeInBits(Step->getType());
 1368   unsigned BitWidth = SE->getTypeSizeInBits(Step->getType());
 1482   unsigned BitWidth = SE->getTypeSizeInBits(AR->getType());
 1639   assert(getTypeSizeInBits(Op->getType()) < getTypeSizeInBits(Ty) &&
 1639   assert(getTypeSizeInBits(Op->getType()) < getTypeSizeInBits(Ty) &&
 1676     unsigned TruncBits = getTypeSizeInBits(ST->getType());
 1677     unsigned NewBits = getTypeSizeInBits(Ty);
 1691       unsigned BitWidth = getTypeSizeInBits(AR->getType());
 1922             int NewTruncBits = getTypeSizeInBits(TruncRHS->getType()) -
 1945   assert(getTypeSizeInBits(Op->getType()) < getTypeSizeInBits(Ty) &&
 1945   assert(getTypeSizeInBits(Op->getType()) < getTypeSizeInBits(Ty) &&
 1987     unsigned TruncBits = getTypeSizeInBits(ST->getType());
 1988     unsigned NewBits = getTypeSizeInBits(Ty);
 2035       unsigned BitWidth = getTypeSizeInBits(AR->getType());
 2199   assert(getTypeSizeInBits(Op->getType()) < getTypeSizeInBits(Ty) &&
 2199   assert(getTypeSizeInBits(Op->getType()) < getTypeSizeInBits(Ty) &&
 2213     if (getTypeSizeInBits(NewOp->getType()) < getTypeSizeInBits(Ty))
 2213     if (getTypeSizeInBits(NewOp->getType()) < getTypeSizeInBits(Ty))
 2572     uint64_t BitWidth = getTypeSizeInBits(Ty);
 3106       bool LargerThan64Bits = getTypeSizeInBits(Ty) > 64;
 3205       unsigned MaxShiftAmt = getTypeSizeInBits(Ty) - LZ - 1;
 3211         IntegerType::get(getContext(), getTypeSizeInBits(Ty) + MaxShiftAmt);
 3795   return  getTypeSizeInBits(T1) >= getTypeSizeInBits(T2) ? T1 : T2;
 3795   return  getTypeSizeInBits(T1) >= getTypeSizeInBits(T2) ? T1 : T2;
 4048   if (getTypeSizeInBits(SrcTy) == getTypeSizeInBits(Ty))
 4048   if (getTypeSizeInBits(SrcTy) == getTypeSizeInBits(Ty))
 4050   if (getTypeSizeInBits(SrcTy) > getTypeSizeInBits(Ty))
 4050   if (getTypeSizeInBits(SrcTy) > getTypeSizeInBits(Ty))
 4060   if (getTypeSizeInBits(SrcTy) == getTypeSizeInBits(Ty))
 4060   if (getTypeSizeInBits(SrcTy) == getTypeSizeInBits(Ty))
 4062   if (getTypeSizeInBits(SrcTy) > getTypeSizeInBits(Ty))
 4062   if (getTypeSizeInBits(SrcTy) > getTypeSizeInBits(Ty))
 4072   assert(getTypeSizeInBits(SrcTy) <= getTypeSizeInBits(Ty) &&
 4072   assert(getTypeSizeInBits(SrcTy) <= getTypeSizeInBits(Ty) &&
 4074   if (getTypeSizeInBits(SrcTy) == getTypeSizeInBits(Ty))
 4074   if (getTypeSizeInBits(SrcTy) == getTypeSizeInBits(Ty))
 4084   assert(getTypeSizeInBits(SrcTy) <= getTypeSizeInBits(Ty) &&
 4084   assert(getTypeSizeInBits(SrcTy) <= getTypeSizeInBits(Ty) &&
 4086   if (getTypeSizeInBits(SrcTy) == getTypeSizeInBits(Ty))
 4086   if (getTypeSizeInBits(SrcTy) == getTypeSizeInBits(Ty))
 4096   assert(getTypeSizeInBits(SrcTy) <= getTypeSizeInBits(Ty) &&
 4096   assert(getTypeSizeInBits(SrcTy) <= getTypeSizeInBits(Ty) &&
 4098   if (getTypeSizeInBits(SrcTy) == getTypeSizeInBits(Ty))
 4098   if (getTypeSizeInBits(SrcTy) == getTypeSizeInBits(Ty))
 4108   assert(getTypeSizeInBits(SrcTy) >= getTypeSizeInBits(Ty) &&
 4108   assert(getTypeSizeInBits(SrcTy) >= getTypeSizeInBits(Ty) &&
 4110   if (getTypeSizeInBits(SrcTy) == getTypeSizeInBits(Ty))
 4110   if (getTypeSizeInBits(SrcTy) == getTypeSizeInBits(Ty))
 4120   if (getTypeSizeInBits(LHS->getType()) > getTypeSizeInBits(RHS->getType()))
 4120   if (getTypeSizeInBits(LHS->getType()) > getTypeSizeInBits(RHS->getType()))
 4600   unsigned SourceBits = SE.getTypeSizeInBits(SymbolicPHI->getType());
 4601   unsigned NewBits = SE.getTypeSizeInBits(Op->getType());
 5352     if (getTypeSizeInBits(LHS->getType()) <= getTypeSizeInBits(I->getType())) {
 5352     if (getTypeSizeInBits(LHS->getType()) <= getTypeSizeInBits(I->getType())) {
 5375     if (getTypeSizeInBits(LHS->getType()) <= getTypeSizeInBits(I->getType())) {
 5375     if (getTypeSizeInBits(LHS->getType()) <= getTypeSizeInBits(I->getType())) {
 5392     if (getTypeSizeInBits(LHS->getType()) <= getTypeSizeInBits(I->getType()) &&
 5392     if (getTypeSizeInBits(LHS->getType()) <= getTypeSizeInBits(I->getType()) &&
 5406     if (getTypeSizeInBits(LHS->getType()) <= getTypeSizeInBits(I->getType()) &&
 5406     if (getTypeSizeInBits(LHS->getType()) <= getTypeSizeInBits(I->getType()) &&
 5444                     (uint32_t)getTypeSizeInBits(T->getType()));
 5448     return OpRes == getTypeSizeInBits(E->getOperand()->getType())
 5449                ? getTypeSizeInBits(E->getType())
 5455     return OpRes == getTypeSizeInBits(E->getOperand()->getType())
 5456                ? getTypeSizeInBits(E->getType())
 5471     uint32_t BitWidth = getTypeSizeInBits(M->getType());
 5554   unsigned BitWidth = getTypeSizeInBits(S->getType());
 5679           getTypeSizeInBits(MaxBECount->getType()) <= BitWidth) {
 5823          getTypeSizeInBits(MaxBECount->getType()) <= BitWidth &&
 5868       assert(SE.getTypeSizeInBits(S->getType()) == BitWidth &&
 6343                 unsigned Z0TySize = getTypeSizeInBits(Z0Ty);
 6355                 if (Trunc.zext(getTypeSizeInBits(UTy)) == CI->getValue() &&
 6398       uint64_t BitWidth = getTypeSizeInBits(OuterTy);
 7700     unsigned BitWidth = getTypeSizeInBits(RHS->getType());
 8396   assert(BW == SE.getTypeSizeInBits(B->getType()));
 8582   assert(Range.contains(APInt(SE.getTypeSizeInBits(AddRec->getType()), 0)) &&
 9718   if (getTypeSizeInBits(LHS->getType()) <
 9719       getTypeSizeInBits(FoundLHS->getType())) {
 9727   } else if (getTypeSizeInBits(LHS->getType()) >
 9728       getTypeSizeInBits(FoundLHS->getType())) {
 9875     return APInt(getTypeSizeInBits(More->getType()), 0);
 9995     FoundRHSLimit = APInt::getSignedMinValue(getTypeSizeInBits(RHS->getType())) - *RDiff;
10213   assert(getTypeSizeInBits(LHS->getType()) ==
10214              getTypeSizeInBits(RHS->getType()) &&
10216   assert(getTypeSizeInBits(FoundLHS->getType()) ==
10217              getTypeSizeInBits(FoundRHS->getType()) &&
10259     if (getTypeSizeInBits(LHS->getType()) != getTypeSizeInBits(RHS->getType()))
10259     if (getTypeSizeInBits(LHS->getType()) != getTypeSizeInBits(RHS->getType()))
10486   unsigned BitWidth = getTypeSizeInBits(RHS->getType());
10510   unsigned BitWidth = getTypeSizeInBits(RHS->getType());
10675         Start, Stride, RHS, getTypeSizeInBits(LHS->getType()), IsSigned);
10712         Start, Stride, RHS, getTypeSizeInBits(LHS->getType()), IsSigned);
10774   unsigned BitWidth = getTypeSizeInBits(LHS->getType());
10825   unsigned BitWidth = SE.getTypeSizeInBits(getType());
11971     if (SE.getTypeSizeInBits(CurBECount->getType()) >
11972         SE.getTypeSizeInBits(NewBECount->getType()))
11974     else if (SE.getTypeSizeInBits(CurBECount->getType()) <
11975              SE.getTypeSizeInBits(NewBECount->getType()))
lib/Analysis/ScalarEvolutionAliasAnalysis.cpp
   44     unsigned BitWidth = SE.getTypeSizeInBits(AS->getType());
lib/Analysis/ScalarEvolutionExpander.cpp
  115   assert(SE.getTypeSizeInBits(V->getType()) == SE.getTypeSizeInBits(Ty) &&
  115   assert(SE.getTypeSizeInBits(V->getType()) == SE.getTypeSizeInBits(Ty) &&
  129       SE.getTypeSizeInBits(Ty) == SE.getTypeSizeInBits(V->getType())) {
  129       SE.getTypeSizeInBits(Ty) == SE.getTypeSizeInBits(V->getType())) {
  133           SE.getTypeSizeInBits(CI->getType()) ==
  134           SE.getTypeSizeInBits(CI->getOperand(0)->getType()))
  139           SE.getTypeSizeInBits(CE->getType()) ==
  140           SE.getTypeSizeInBits(CE->getOperand(0)->getType()))
  473         if (SE.getTypeSizeInBits(C->getType()) <= 64) {
 1505     if (SE.getTypeSizeInBits(PN->getType()) >= SE.getTypeSizeInBits(Ty))
 1505     if (SE.getTypeSizeInBits(PN->getType()) >= SE.getTypeSizeInBits(Ty))
 1511       SE.getTypeSizeInBits(CanonicalIV->getType()) >
 1512       SE.getTypeSizeInBits(Ty)) {
 1771     assert(SE.getTypeSizeInBits(Ty) == SE.getTypeSizeInBits(SH->getType()) &&
 1771     assert(SE.getTypeSizeInBits(Ty) == SE.getTypeSizeInBits(SH->getType()) &&
 1885       int64_t ESize = SE.getTypeSizeInBits(Ety);
 2253   unsigned SrcBits = SE.getTypeSizeInBits(ExitCount->getType());
 2254   unsigned DstBits = SE.getTypeSizeInBits(ARTy);
 2266       IntegerType::get(Loc->getContext(), SE.getTypeSizeInBits(ARTy));
 2320   if (SE.getTypeSizeInBits(CountTy) > SE.getTypeSizeInBits(Ty)) {
 2320   if (SE.getTypeSizeInBits(CountTy) > SE.getTypeSizeInBits(Ty)) {
lib/Analysis/TargetTransformInfo.cpp
   80     if (SE.getTypeSizeInBits(EC->getType()) > CountType->getBitWidth())
lib/CodeGen/SafeStack.cpp
  235   uint64_t BitWidth = SE.getTypeSizeInBits(Expr->getType());
lib/Transforms/Scalar/IndVarSimplify.cpp
  901   uint64_t Width = SE->getTypeSizeInBits(Ty);
  909   uint64_t NarrowIVWidth = SE->getTypeSizeInBits(WI.NarrowIV->getType());
  936   if (Width > SE->getTypeSizeInBits(WI.WidestNativeType))
 1312   if (SE->getTypeSizeInBits(NarrowExpr->getType()) >=
 1313       SE->getTypeSizeInBits(WideType)) {
 1382   unsigned CastWidth = SE->getTypeSizeInBits(Op->getType());
 1383   unsigned IVWidth = SE->getTypeSizeInBits(WideType);
 1591       unsigned CastWidth = SE->getTypeSizeInBits(DU.NarrowUse->getType());
 1592       unsigned IVWidth = SE->getTypeSizeInBits(WideType);
 2250   uint64_t BCWidth = SE->getTypeSizeInBits(BECount->getType());
 2275     uint64_t PhiWidth = SE->getTypeSizeInBits(AR->getType());
 2319       else if (PhiWidth <= SE->getTypeSizeInBits(BestPhi->getType()))
 2390     if (SE->getTypeSizeInBits(IVInit->getType())
 2391         > SE->getTypeSizeInBits(ExitCount->getType())) {
 2498   unsigned CmpIndVarSize = SE->getTypeSizeInBits(CmpIndVar->getType());
 2499   unsigned ExitCntSize = SE->getTypeSizeInBits(ExitCnt->getType());
 3125     if (SE->getTypeSizeInBits(BackedgeTakenCount->getType()) <
 3126         SE->getTypeSizeInBits(NewBECount->getType()))
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
 2626     assert(SE->getTypeSizeInBits(Len->getType()) ==
lib/Transforms/Scalar/LoopStrengthReduce.cpp
  632     IntegerType::get(SE.getContext(), SE.getTypeSizeInBits(AR->getType()) + 1);
  640     IntegerType::get(SE.getContext(), SE.getTypeSizeInBits(A->getType()) + 1);
  649                      SE.getTypeSizeInBits(M->getType()) * M->getNumOperands());
 2124     if ((int)SE.getTypeSizeInBits(SrcTy) > Mantissa)
 2431           if (SE.getTypeSizeInBits(A->getType()) !=
 2432               SE.getTypeSizeInBits(B->getType())) {
 2433             if (SE.getTypeSizeInBits(A->getType()) >
 2434                 SE.getTypeSizeInBits(B->getType()))
 2684       if (SE.getTypeSizeInBits(OldStride->getType()) !=
 2685           SE.getTypeSizeInBits(NewStride->getType())) {
 2686         if (SE.getTypeSizeInBits(OldStride->getType()) >
 2687             SE.getTypeSizeInBits(NewStride->getType()))
 3208       assert(SE.getTypeSizeInBits(IVTy) >= SE.getTypeSizeInBits(OperTy) &&
 3208       assert(SE.getTypeSizeInBits(IVTy) >= SE.getTypeSizeInBits(OperTy) &&
 3321         SE.getTypeSizeInBits(LU.WidestFixupType) <
 3322         SE.getTypeSizeInBits(LF.OperandValToReplace->getType()))
 3469             SE.getTypeSizeInBits(LU.WidestFixupType) <
 3470             SE.getTypeSizeInBits(LF.OperandValToReplace->getType()))
 3622     if (InnerSumSC && SE.getTypeSizeInBits(InnerSumSC->getType()) <= 64 &&
 3638     if (SC && SE.getTypeSizeInBits(SC->getType()) <= 64 &&
 3871   if (SE.getTypeSizeInBits(IntTy) > 64) return;
 4192     unsigned BitWidth = SE.getTypeSizeInBits(IntTy);
unittests/Analysis/ScalarEvolutionTest.cpp
 1483       unsigned ExpectedCanonicalIVWidth = SE.getTypeSizeInBits(AR->getType());
 1530       unsigned ExpectedCanonicalIVWidth = SE.getTypeSizeInBits(AR->getType());
 1611       EXPECT_EQ(ARBitWidth, SE.getTypeSizeInBits(AR->getType()));
 1828       unsigned ExpectedCanonicalIVWidth = SE.getTypeSizeInBits(AR->getType());
 1882       EXPECT_EQ(ARBitWidth, SE.getTypeSizeInBits(AR->getType()));