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

References

include/llvm/ADT/APSInt.h
  312       return compareValues(I1, I2.extend(I1.getBitWidth()));
  314       return compareValues(I1.extend(I2.getBitWidth()), I2);
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConv.h
  557       NewInt = Int.extend(Ctx.getTypeSize(Ctx.BoolTy));
tools/clang/lib/AST/ExprConstant.cpp
  470         N = N.extend(std::max<unsigned>(N.getBitWidth() + 1, 65));
 1759     Int = Int.extend(Int.getBitWidth() + 1);
 2406     Int = Int.trunc(NewBitWidth).extend(OldBitWidth);
 2470   APSInt Value(Op(LHS.extend(BitWidth), RHS.extend(BitWidth)), false);
 2470   APSInt Value(Op(LHS.extend(BitWidth), RHS.extend(BitWidth)), false);
 2472   if (Result.extend(BitWidth) != Value) {
 2514       return HandleOverflow(Info, E, -LHS.extend(LHS.getBitWidth() + 1),
11887     if (Result.extend(65) != TrueResult &&
12039         !HandleOverflow(Info, E, -Value.extend(Value.getBitWidth() + 1),
tools/clang/lib/AST/Interp/Interp.h
  748     APSInt APOffset(Offset.toAPSInt().extend(Bits + 2), false);
  749     APSInt APIndex(Index.toAPSInt().extend(Bits + 2), false);
tools/clang/lib/AST/Type.cpp
  165   SizeExtended = SizeExtended.extend(std::max(SizeTypeBits,
tools/clang/lib/Basic/FixedPoint.cpp
   28     NewVal = NewVal.extend(NewVal.getBitWidth() + DstScale - getScale());
  230     Result = Result.extend(DstWidth);
  232     DstMin = DstMin.extend(SrcWidth);
  233     DstMax = DstMax.extend(SrcWidth);
tools/clang/lib/Lex/PPExpressions.cpp
  379       Result.Val = Val.extend(Result.Val.getBitWidth());
tools/clang/lib/Sema/SemaChecking.cpp
11009   TruncatedValue = TruncatedValue.extend(OriginalWidth);
tools/clang/lib/Sema/SemaExpr.cpp
 9850   llvm::APSInt Result = Left.extend(ResultBits.getLimitedValue());
tools/clang/lib/Sema/SemaInit.cpp
 1897         maxElements = maxElements.extend(elementIndex.getBitWidth());
 1899         elementIndex = elementIndex.extend(maxElements.getBitWidth());
 3183           EndValue = EndValue.extend(StartValue.getBitWidth());
 3185           StartValue = StartValue.extend(EndValue.getBitWidth());
tools/clang/lib/Sema/SemaOverload.cpp
  448         InitializerValue = InitializerValue.extend(
  454         ConvertedValue = ConvertedValue.extend(InitializerValue.getBitWidth());
tools/clang/lib/Sema/SemaTemplateDeduction.cpp
  116     X = X.extend(Y.getBitWidth());
  118     Y = Y.extend(X.getBitWidth());