Lines Matching refs:MaxWidth
1251 unsigned MaxWidth) { in CheckARMBuiltinExclusiveCall() argument
1325 if (Context.getTypeSize(ValType) > MaxWidth) { in CheckARMBuiltinExclusiveCall()
1326 assert(MaxWidth == 64 && "Diagnostic unexpectedly inaccurate"); in CheckARMBuiltinExclusiveCall()
7061 IntRange GetValueRange(ASTContext &C, llvm::APSInt &value, unsigned MaxWidth) { in GetValueRange() argument
7065 if (value.getBitWidth() > MaxWidth) in GetValueRange()
7066 value = value.trunc(MaxWidth); in GetValueRange()
7074 unsigned MaxWidth) { in GetValueRange() argument
7076 return GetValueRange(C, result.getInt(), MaxWidth); in GetValueRange()
7079 IntRange R = GetValueRange(C, result.getVectorElt(0), Ty, MaxWidth); in GetValueRange()
7081 IntRange El = GetValueRange(C, result.getVectorElt(i), Ty, MaxWidth); in GetValueRange()
7088 IntRange R = GetValueRange(C, result.getComplexIntReal(), MaxWidth); in GetValueRange()
7089 IntRange I = GetValueRange(C, result.getComplexIntImag(), MaxWidth); in GetValueRange()
7099 return IntRange(MaxWidth, Ty->isUnsignedIntegerOrEnumerationType()); in GetValueRange()
7113 IntRange GetExprRange(ASTContext &C, const Expr *E, unsigned MaxWidth) { in GetExprRange() argument
7119 return GetValueRange(C, result.Val, GetExprType(E), MaxWidth); in GetExprRange()
7126 return GetExprRange(C, CE->getSubExpr(), MaxWidth); in GetExprRange()
7139 std::min(MaxWidth, OutputTypeRange.Width)); in GetExprRange()
7157 MaxWidth); in GetExprRange()
7160 IntRange L = GetExprRange(C, CO->getTrueExpr(), MaxWidth); in GetExprRange()
7161 IntRange R = GetExprRange(C, CO->getFalseExpr(), MaxWidth); in GetExprRange()
7195 return GetExprRange(C, BO->getRHS(), MaxWidth); in GetExprRange()
7205 return IntRange::meet(GetExprRange(C, BO->getLHS(), MaxWidth), in GetExprRange()
7206 GetExprRange(C, BO->getRHS(), MaxWidth)); in GetExprRange()
7227 IntRange L = GetExprRange(C, BO->getLHS(), MaxWidth); in GetExprRange()
7246 return GetExprRange(C, BO->getRHS(), MaxWidth); in GetExprRange()
7268 L.Width = std::min(L.Width - log2, MaxWidth); in GetExprRange()
7286 meet.Width = std::min(meet.Width, MaxWidth); in GetExprRange()
7300 IntRange L = GetExprRange(C, BO->getLHS(), MaxWidth); in GetExprRange()
7301 IntRange R = GetExprRange(C, BO->getRHS(), MaxWidth); in GetExprRange()
7317 return GetExprRange(C, UO->getSubExpr(), MaxWidth); in GetExprRange()
7322 return GetExprRange(C, OVE->getSourceExpr(), MaxWidth); in GetExprRange()