Home | History | Annotate | Download | only in AST

Lines Matching defs:Size

113   /// path, and find the size of the containing array, if any.
120 for (unsigned I = 0, N = Path.size(); I != N; ++I) {
164 /// The size of the array of which the most-derived object is an element, or
232 MostDerivedPathLength = Entries.size();
246 MostDerivedPathLength = Entries.size();
259 MostDerivedPathLength = Entries.size();
265 if (MostDerivedPathLength == Entries.size() && MostDerivedArraySize) {
365 *Diag << StringRef(Buffer.data(), Buffer.size());
383 *Diag << StringRef(Buffer.data(), Buffer.size());
767 : Info(Info), OldStackSize(Info.CleanupStack.size()) {}
776 for (unsigned I = OldStackSize, N = Info.CleanupStack.size();
811 if (MostDerivedPathLength == Entries.size() && MostDerivedArraySize)
1042 if (Path.size() >= 2)
1043 Expected = Path[Path.size() - 2];
1679 // OpenCL 6.3j: shift values are effectively % word size of LHS.
1710 // OpenCL 6.3j: shift values are effectively % word size of LHS.
1776 if (TruncatedElements == D.Entries.size())
1785 for (unsigned I = TruncatedElements, N = D.Entries.size(); I != N; ++I) {
1877 /// Get the size of the given type in char units.
1879 QualType Type, CharUnits &Size) {
1883 Size = CharUnits::One();
1894 Size = Info.Ctx.getTypeSizeInChars(Type);
1997 Notes.size() + 1) << VD;
2003 Notes.size() + 1) << VD;
2077 unsigned Size = Array.getArraySize();
2078 assert(Index < Size);
2083 NewElts = std::min(Size, std::max(NewElts, 8u));
2086 APValue NewValue(APValue::UninitArray(), NewElts, Size);
2201 for (unsigned I = 0, N = Sub.Entries.size(); /**/; ++I) {
2453 unsigned I = 0, N = std::min(A.Entries.size(), B.Entries.size());
2488 if (A.Entries.size() != B.Entries.size())
2492 if (IsArray && A.MostDerivedPathLength != A.Entries.size())
2501 return CommonLength >= A.Entries.size() - IsArray;
3081 if (LV.Designator.MostDerivedPathLength + MemPtr.Path.size() >
3082 LV.Designator.Entries.size()) {
3087 LV.Designator.Entries.size() - MemPtr.Path.size();
3088 for (unsigned I = 0, N = MemPtr.Path.size(); I != N; ++I) {
3104 LV.Designator.Entries.reserve(LV.Designator.Entries.size() +
3105 MemPtr.Path.size() + IncludeMember);
3113 for (unsigned I = 1, N = MemPtr.Path.size(); I != N; ++I) {
3173 if (D.MostDerivedPathLength + E->path_size() > D.Entries.size()) {
3181 unsigned NewEntriesSize = D.Entries.size() - E->path_size();
3714 ArgVector ArgValues(Args.size());
3761 ArgVector ArgValues(Args.size());
4547 for (unsigned I = 0, N = CommaLHSs.size(); I != N; ++I)
4576 for (unsigned I = Adjustments.size(); I != 0; /**/) {
4892 unsigned Size = Info.Ctx.getTypeSize(E->getType());
4893 uint64_t N = Value.getInt().extOrTrunc(Size).getZExtValue();
5504 assert(V.size() == E->getType()->castAs<VectorType>()->getNumElements());
5506 Result = APValue(V.data(), V.size());
5916 bool Success(CharUnits Size, const Expr *E) {
5917 return Success(Size.getQuantity(), E);
6217 CharUnits Size = Info.Ctx.getTypeSizeInChars(T);
6220 if (!Offset.isNegative() && Offset <= Size)
6221 Size -= Offset;
6223 Size = CharUnits::Zero();
6224 return Success(Size, E);
6236 // If evaluating the argument has side-effects, we can't determine the size
6246 // size of the referenced object.
6412 if (Off >= 0 && (uint64_t)Off <= (uint64_t)Str.size() &&
6420 return Success(Str.size(), E);
6447 // For __atomic_is_lock_free(sizeof(_Atomic(T))), if the size is a power
6449 // lock-free. If the size isn't a power of two, or greater than the
6457 CharUnits Size = CharUnits::fromQuantity(SizeVal.getZExtValue());
6458 if (Size.isPowerOfTwo()) {
6462 if (Size <= Info.Ctx.toCharUnitsFromBits(InlineWidthBits)) {
6464 Size == CharUnits::One() ||
6467 // OK, we will inline appropriately-aligned operations of this size,
6474 Info.Ctx.getTypeAlignInChars(PointeeType) >= Size) {
6524 auto Size = Ctx.getTypeSizeInChars(getType(LV.getLValueBase()));
6525 return LV.getLValueOffset() == Size;
6638 Queue.resize(Queue.size()+1);
7036 // As an extension, a type may have zero size (empty struct or union in
7051 // Compute (LHSOffset - RHSOffset) / Size carefully, checking for
7098 if (!WasArrayIndex && Mismatch < LHSDesignator.Entries.size() &&
7099 Mismatch < RHSDesignator.Entries.size()) {
7137 CharUnits Size = Info.Ctx.getTypeSizeInChars(BaseTy);
7138 uint64_t OffsetLimit = Size.getQuantity();
7241 // the result is the size of the referenced type."
7462 // FIXME: Allow a larger integer size than the pointer size, and allow
7464 // FIXME: Check integer type's active bits, not its type size.
9109 ArgVector ArgValues(Args.size());