Home | History | Annotate | Download | only in AST

Lines Matching defs:Unsigned

38 unsigned ASTContext::NumImplicitDefaultConstructors;
39 unsigned ASTContext::NumImplicitDefaultConstructorsDeclared;
40 unsigned ASTContext::NumImplicitCopyConstructors;
41 unsigned ASTContext::NumImplicitCopyConstructorsDeclared;
42 unsigned ASTContext::NumImplicitMoveConstructors;
43 unsigned ASTContext::NumImplicitMoveConstructorsDeclared;
44 unsigned ASTContext::NumImplicitCopyAssignmentOperators;
45 unsigned ASTContext::NumImplicitCopyAssignmentOperatorsDeclared;
46 unsigned ASTContext::NumImplicitMoveAssignmentOperators;
47 unsigned ASTContext::NumImplicitMoveAssignmentOperatorsDeclared;
48 unsigned ASTContext::NumImplicitDestructors;
49 unsigned ASTContext::NumImplicitDestructorsDeclared;
80 for (unsigned I = 0, N = NTTP->getNumExpansionTypes(); I != N; ++I)
128 for (unsigned I = 0, N = NTTP->getNumExpansionTypes(); I != N; ++I) {
203 static const unsigned FakeAddrSpaceMap[] = {
218 unsigned size_reserve) :
251 for (unsigned I = 0, N = Deallocations.size(); I != N; ++I)
295 unsigned counts[] = {
302 for (unsigned i = 0, e = Types.size(); i != e; ++i) {
304 counts[(unsigned)T->getTypeClass()]++;
307 unsigned Idx = 0;
308 unsigned TotalBytes = 0;
396 else // -fshort-wchar makes wchar_t be unsigned.
609 unsigned
647 unsigned Align = Target.getCharWidth();
650 if (unsigned AlignFromAttr = D->getMaxAlignment()) {
687 unsigned MinWidth = Target.getLargeArrayMinWidth();
712 unsigned fieldAlign = toBits(layout.getAlignment());
721 fieldAlign = static_cast<unsigned>(lowBitOfOffset);
733 std::pair<uint64_t, unsigned> Info = getTypeInfo(T);
749 std::pair<uint64_t, unsigned>
752 unsigned Align=8;
778 std::pair<uint64_t, unsigned> EltInfo = getTypeInfo(CAT->getElementType());
787 std::pair<uint64_t, unsigned> EltInfo = getTypeInfo(VT->getElementType());
886 unsigned AS = getTargetAddressSpace(
896 unsigned AS = getTargetAddressSpace(
903 unsigned AS = getTargetAddressSpace(cast<PointerType>(T)->getPointeeType());
910 std::pair<uint64_t, unsigned> PtrDiffInfo =
919 std::pair<uint64_t, unsigned> EltInfo =
969 std::pair<uint64_t, unsigned> Info
974 if (unsigned AttrAlign = Typedef->getMaxAlignment())
1053 unsigned ASTContext::getPreferredTypeAlign(const Type *T) const {
1054 unsigned ABIAlign = getTypeAlign(T);
1061 return std::max(ABIAlign, (unsigned)getTypeSize(T));
1151 unsigned ASTContext::CountNonClassIvars(const ObjCInterfaceDecl *OI) const {
1152 unsigned count = 0;
1224 unsigned DataSize) const {
1261 unsigned fastQuals = quals.getFastQualifiers();
1290 unsigned AddressSpace) const {
1556 unsigned IndexTypeQuals) const {
1728 unsigned IndexTypeQuals,
1756 unsigned elementTypeQuals,
1822 unsigned elementTypeQuals) const {
1858 QualType ASTContext::getVectorType(QualType vecType, unsigned NumElts,
1890 ASTContext::getExtVectorType(QualType vecType, unsigned NumElts) const {
2003 const QualType *ArgArray, unsigned NumArgs,
2017 for (unsigned i = 0; i != NumArgs && isCanonical; ++i)
2031 for (unsigned i = 0; i != NumArgs; ++i)
2266 QualType ASTContext::getTemplateTypeParmType(unsigned Depth, unsigned Index,
2311 for (unsigned i = 0, e = TL.getNumArgs(); i != e; ++i)
2323 unsigned NumArgs = Args.size();
2327 for (unsigned i = 0; i != NumArgs; ++i)
2337 unsigned NumArgs,
2379 unsigned NumArgs) const {
2394 for (unsigned I = 0; I != NumArgs; ++I)
2513 for (unsigned I = 0, E = Args.size(); I != E; ++I)
2525 unsigned NumArgs,
2547 for (unsigned I = 0; I != NumArgs; ++I) {
2574 llvm::Optional<unsigned> NumExpansions) {
2608 unsigned NumProtocols) {
2611 for (unsigned i = 1; i != NumProtocols; ++i)
2618 unsigned &NumProtocols) {
2631 unsigned NumProtocols) const {
2652 unsigned UniqueCount = NumProtocols;
2666 unsigned Size = sizeof(ObjCObjectTypeImpl);
2911 /// getUnsignedWCharType - Return the type of "unsigned wchar_t".
3175 unsigned Idx = 0;
3450 unsigned ASTContext::getIntegerRank(const Type *T) const {
3512 // For instance, unsigned long bf : 4 gets promoted to signed int.
3572 unsigned LHSRank = getIntegerRank(LHSC);
3573 unsigned RHSRank = getIntegerRank(RHSC);
3575 if (LHSUnsigned == RHSUnsigned) { // Both signed or both unsigned.
3580 // Otherwise, the LHS is signed and the RHS is unsigned or visa versa.
3582 // If the unsigned [LHS] type is larger, return it.
3586 // If the signed type can represent all values of the unsigned type, it
3592 // If the unsigned [RHS] type is larger, return it.
3596 // If the signed type can represent all values of the unsigned type, it
3632 for (unsigned i = 0; i < 4; ++i) {
3670 // unsigned int length;
3674 for (unsigned i = 0; i < 3; ++i) {
3844 // unsigned int __flags;
3845 // unsigned int __size;
4284 unsigned N = E->EvaluateAsInt(*Ctx).getZExtValue();
4492 for (unsigned i = 0, e = Ivars.size(); i != e; ++i) {
4607 unsigned i = 0;
4762 unsigned size = End - Begin;
4913 /// TargetInfo, produce the corresponding type. The unsigned @p Type
4915 CanQualType ASTContext::getFromTargetType(unsigned Type) const {
5272 unsigned LHSNumProtocols = LHS->getNumProtocols();
5283 unsigned RHSNumProtocols = RHS->getNumProtocols();
5287 for (unsigned i = 0; i < RHSNumProtocols; ++i)
5568 unsigned lproto_nargs = lproto->getNumArgs();
5569 unsigned rproto_nargs = rproto->getNumArgs();
5584 for (unsigned i = 0; i < lproto_nargs; i++) {
5626 unsigned proto_nargs = proto->getNumArgs();
5627 for (unsigned i = 0; i < proto_nargs; ++i) {
5736 // a signed integer type, or an unsigned integer type.
5987 unsigned ASTContext::getIntWidth(QualType T) const {
5993 return (unsigned)getTypeSize(T);
5999 // Turn <4 x signed int> -> <4 x unsigned int>
6004 // For enums, we return the unsigned version of the base type.
6051 bool Signed = false, Unsigned = false;
6063 assert(!Unsigned && "Can't use both 'S' and 'U' modifiers!");
6069 assert(!Unsigned && "Can't use 'S' modifier multiple times!");
6070 Unsigned = true;
6085 assert(HowLong == 0 && !Signed && !Unsigned &&
6090 assert(HowLong == 0 && !Signed && !Unsigned &&
6095 assert(HowLong < 2 && !Signed && !Unsigned &&
6104 if (Unsigned)
6111 Type = Unsigned ? Context.UnsignedInt128Ty : Context.Int128Ty;
6113 Type = Unsigned ? Context.UnsignedLongLongTy : Context.LongLongTy;
6115 Type = Unsigned ? Context.UnsignedLongTy : Context.LongTy;
6117 Type = Unsigned ? Context.UnsignedIntTy : Context.IntTy;
6123 else if (Unsigned)
6129 assert(HowLong == 0 && !Signed && !Unsigned && "Bad modifiers for 'b'!");
6133 assert(HowLong == 0 && !Signed && !Unsigned && "Bad modifiers for 'z'!");
6167 unsigned NumElements = strtoul(Str, &End, 10);
6217 unsigned AddrSpace = strtoul(Str, &End, 10);
6245 QualType ASTContext::GetBuiltinType(unsigned Id,
6247 unsigned *IntegerConstantArgs) const {