Lines Matching refs:Result
106 llvm::APSInt Result;
107 if (SemaBuiltinConstantArg(TheCall, ArgNo, Result))
233 llvm::APSInt Result;
247 if (SemaBuiltinConstantArg(TheCall, ArgNo, Result))
250 TV = Result.getLimitedValue(32);
271 if (SemaBuiltinConstantArg(TheCall, i, Result))
275 unsigned Val = Result.getZExtValue();
591 // Change the result type of the call to match the original value type. This
621 ConversionResult Result = ConvertUTF8toUTF16(&FromPtr, FromPtr + NumBytes,
625 if (Result != conversionOK)
835 llvm::APSInt Result(32);
836 if (!TheCall->getArg(i)->isIntegerConstantExpr(Result, Context))
841 if (Result.getActiveBits() > 64 || Result.getZExtValue() >= numElements*2)
877 llvm::APSInt Result;
878 if (SemaBuiltinConstantArg(TheCall, i, Result))
885 if (Result.getLimitedValue() > 1)
889 if (Result.getLimitedValue() > 3)
901 llvm::APSInt &Result) {
908 if (!Arg->isIntegerConstantExpr(Result, Context))
920 llvm::APSInt Result;
923 if (SemaBuiltinConstantArg(TheCall, 1, Result))
927 if (Result.getSExtValue() < 0 || Result.getSExtValue() > 3) {
939 llvm::APSInt Result;
942 if (SemaBuiltinConstantArg(TheCall, 1, Result))
945 if (Result != 1)
2209 if (Expr *Result = EvalAddr(
2212 return Result;
2318 if (Expr *Result = EvalVal(
2321 return Result;
2491 IntRange GetValueRange(ASTContext &C, APValue &result, QualType Ty,
2493 if (result.isInt())
2494 return GetValueRange(C, result.getInt(), MaxWidth);
2496 if (result.isVector()) {
2497 IntRange R = GetValueRange(C, result.getVectorElt(0), Ty, MaxWidth);
2498 for (unsigned i = 1, e = result.getVectorLength(); i != e; ++i) {
2499 IntRange El = GetValueRange(C, result.getVectorElt(i), Ty, MaxWidth);
2505 if (result.isComplexInt()) {
2506 IntRange R = GetValueRange(C, result.getComplexIntReal(), MaxWidth);
2507 IntRange I = GetValueRange(C, result.getComplexIntImag(), MaxWidth);
2516 assert(result.isLValue());
2528 Expr::EvalResult result;
2529 if (E->Evaluate(result, C))
2530 return GetValueRange(C, result.Val, E->getType(), MaxWidth);
2664 // The width of a division result is mostly determined by the size
2687 // The result of a remainder can't be larger than the result of
2866 // whose result is a constant.
2907 // change the result of the comparison.
3125 Expr::EvalResult result;
3126 if (E->Evaluate(result, S.Context)) {
3128 if (IsSameFloatAfterCast(result.Val,