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
231 MostDerivedPathLength = Entries.size();
245 MostDerivedPathLength = Entries.size();
258 MostDerivedPathLength = Entries.size();
264 if (MostDerivedPathLength == Entries.size() && MostDerivedArraySize) {
364 *Diag << StringRef(Buffer.data(), Buffer.size());
382 *Diag << StringRef(Buffer.data(), Buffer.size());
766 : Info(Info), OldStackSize(Info.CleanupStack.size()) {}
775 for (unsigned I = OldStackSize, N = Info.CleanupStack.size();
810 if (MostDerivedPathLength == Entries.size() && MostDerivedArraySize)
1041 if (Path.size() >= 2)
1042 Expected = Path[Path.size() - 2];
1662 // OpenCL 6.3j: shift values are effectively % word size of LHS.
1693 // OpenCL 6.3j: shift values are effectively % word size of LHS.
1759 if (TruncatedElements == D.Entries.size())
1768 for (unsigned I = TruncatedElements, N = D.Entries.size(); I != N; ++I) {
1860 /// Get the size of the given type in char units.
1862 QualType Type, CharUnits &Size) {
1866 Size = CharUnits::One();
1877 Size = Info.Ctx.getTypeSizeInChars(Type);
1980 Notes.size() + 1) << VD;
1986 Notes.size() + 1) << VD;
2058 unsigned Size = Array.getArraySize();
2059 assert(Index < Size);
2064 NewElts = std::min(Size, std::max(NewElts, 8u));
2067 APValue NewValue(APValue::UninitArray(), NewElts, Size);
2124 for (unsigned I = 0, N = Sub.Entries.size(); /**/; ++I) {
2368 unsigned I = 0, N = std::min(A.Entries.size(), B.Entries.size());
2403 if (A.Entries.size() != B.Entries.size())
2407 if (IsArray && A.MostDerivedPathLength != A.Entries.size())
2416 return CommonLength >= A.Entries.size() - IsArray;
2995 if (LV.Designator.MostDerivedPathLength + MemPtr.Path.size() >
2996 LV.Designator.Entries.size()) {
3001 LV.Designator.Entries.size() - MemPtr.Path.size();
3002 for (unsigned I = 0, N = MemPtr.Path.size(); I != N; ++I) {
3018 LV.Designator.Entries.reserve(LV.Designator.Entries.size() +
3019 MemPtr.Path.size() + IncludeMember);
3027 for (unsigned I = 1, N = MemPtr.Path.size(); I != N; ++I) {
3087 if (D.MostDerivedPathLength + E->path_size() > D.Entries.size()) {
3095 unsigned NewEntriesSize = D.Entries.size() - E->path_size();
3612 ArgVector ArgValues(Args.size());
3655 ArgVector ArgValues(Args.size());
4434 for (unsigned I = 0, N = CommaLHSs.size(); I != N; ++I)
4463 for (unsigned I = Adjustments.size(); I != 0; /**/) {
4778 unsigned Size = Info.Ctx.getTypeSize(E->getType());
4779 uint64_t N = Value.getInt().extOrTrunc(Size).getZExtValue();
5291 assert(V.size() == E->getType()->castAs<VectorType>()->getNumElements());
5293 Result = APValue(V.data(), V.size());
5703 bool Success(CharUnits Size, const Expr *E) {
5704 return Success(Size.getQuantity(), E);
5994 CharUnits Size = Info.Ctx.getTypeSizeInChars(T);
5997 if (!Offset.isNegative() && Offset <= Size)
5998 Size -= Offset;
6000 Size = CharUnits::Zero();
6001 return Success(Size, E);
6013 // If evaluating the argument has side-effects, we can't determine the size
6023 // size of the referenced object.
6189 if (Off >= 0 && (uint64_t)Off <= (uint64_t)Str.size() &&
6197 return Success(Str.size(), E);
6224 // For __atomic_is_lock_free(sizeof(_Atomic(T))), if the size is a power
6226 // lock-free. If the size isn't a power of two, or greater than the
6234 CharUnits Size = CharUnits::fromQuantity(SizeVal.getZExtValue());
6235 if (Size.isPowerOfTwo()) {
6239 if (Size <= Info.Ctx.toCharUnitsFromBits(InlineWidthBits)) {
6241 Size == CharUnits::One() ||
6244 // OK, we will inline appropriately-aligned operations of this size,
6251 Info.Ctx.getTypeAlignInChars(PointeeType) >= Size) {
6394 Queue.resize(Queue.size()+1);
6764 // As an extension, a type may have zero size (empty struct or union in
6779 // Compute (LHSOffset - RHSOffset) / Size carefully, checking for
6826 if (!WasArrayIndex && Mismatch < LHSDesignator.Entries.size() &&
6827 Mismatch < RHSDesignator.Entries.size()) {
6865 CharUnits Size = Info.Ctx.getTypeSizeInChars(BaseTy);
6866 Size.getQuantity();
7002 // the result is the size of the referenced type."
7223 // FIXME: Allow a larger integer size than the pointer size, and allow
7225 // FIXME: Check integer type's active bits, not its type size.
8736 ArgVector ArgValues(Args.size());