Home | History | Annotate | Download | only in AST

Lines Matching refs:Unsigned

42 unsigned ASTContext::NumImplicitDefaultConstructors;
43 unsigned ASTContext::NumImplicitDefaultConstructorsDeclared;
44 unsigned ASTContext::NumImplicitCopyConstructors;
45 unsigned ASTContext::NumImplicitCopyConstructorsDeclared;
46 unsigned ASTContext::NumImplicitMoveConstructors;
47 unsigned ASTContext::NumImplicitMoveConstructorsDeclared;
48 unsigned ASTContext::NumImplicitCopyAssignmentOperators;
49 unsigned ASTContext::NumImplicitCopyAssignmentOperatorsDeclared;
50 unsigned ASTContext::NumImplicitMoveAssignmentOperators;
51 unsigned ASTContext::NumImplicitMoveAssignmentOperatorsDeclared;
52 unsigned ASTContext::NumImplicitDestructors;
53 unsigned ASTContext::NumImplicitDestructorsDeclared;
166 std::pair<FileID, unsigned> DeclLocDecomp = SourceMgr.getDecomposedLoc(DeclLoc);
172 std::pair<FileID, unsigned> CommentBeginDecomp
195 std::pair<FileID, unsigned> CommentEndDecomp
434 for (unsigned i = 0, e = Overridden.size(); i < e; i++)
487 for (unsigned I = 0, N = NTTP->getNumExpansionTypes(); I != N; ++I) {
537 for (unsigned I = 0, N = NTTP->getNumExpansionTypes(); I != N; ++I) {
614 static const unsigned FakeAddrSpaceMap[] = {
632 unsigned size_reserve,
676 for (unsigned I = 0, N = Deallocations.size(); I != N; ++I)
714 unsigned counts[] = {
721 for (unsigned i = 0, e = Types.size(); i != e; ++i) {
723 counts[(unsigned)T->getTypeClass()]++;
726 unsigned Idx = 0;
727 unsigned TotalBytes = 0;
849 else // -fshort-wchar makes wchar_t be unsigned.
1106 unsigned
1179 unsigned Align = Target->getCharWidth();
1182 if (unsigned AlignFromAttr = D->getMaxAlignment()) {
1219 unsigned MinWidth = Target->getLargeArrayMinWidth();
1244 unsigned fieldAlign = toBits(layout.getAlignment());
1253 fieldAlign = static_cast<unsigned>(lowBitOfOffset);
1286 std::pair<uint64_t, unsigned> Info = getTypeInfo(T);
1296 std::pair<uint64_t, unsigned> ASTContext::getTypeInfo(const Type *T) const {
1301 std::pair<uint64_t, unsigned> Info = getTypeInfoImpl(T);
1312 std::pair<uint64_t, unsigned>
1315 unsigned Align=8;
1340 std::pair<uint64_t, unsigned> EltInfo = getTypeInfo(CAT->getElementType());
1352 std::pair<uint64_t, unsigned> EltInfo = getTypeInfo(VT->getElementType());
1475 unsigned AS = getTargetAddressSpace(
1485 unsigned AS = getTargetAddressSpace(
1492 unsigned AS = getTargetAddressSpace(cast<PointerType>(T)->getPointeeType());
1499 std::pair<uint64_t, unsigned> PtrDiffInfo =
1508 std::pair<uint64_t, unsigned> EltInfo =
1558 std::pair<uint64_t, unsigned> Info
1563 if (unsigned AttrAlign = Typedef->getMaxAlignment())
1606 std::pair<uint64_t, unsigned> Info
1620 Align = static_cast<unsigned>(Width);
1662 unsigned ASTContext::getPreferredTypeAlign(const Type *T) const {
1663 unsigned ABIAlign = getTypeAlign(T);
1671 return std::max(ABIAlign, (unsigned)getTypeSize(T));
1751 unsigned ASTContext::CountNonClassIvars(const ObjCInterfaceDecl *OI) const {
1752 unsigned count = 0;
1852 unsigned DataSize) const {
1889 unsigned fastQuals = quals.getFastQualifiers();
1918 ASTContext::getAddrSpaceQualType(QualType T, unsigned AddressSpace) const {
2186 unsigned IndexTypeQuals) const {
2364 unsigned IndexTypeQuals,
2392 unsigned elementTypeQuals,
2458 unsigned elementTypeQuals) const {
2494 QualType ASTContext::getVectorType(QualType vecType, unsigned NumElts,
2526 ASTContext::getExtVectorType(QualType vecType, unsigned NumElts) const {
2664 for (unsigned i = 0; i != NumArgs && isCanonical; ++i)
2678 for (unsigned i = 0; i != NumArgs; ++i)
2925 QualType ASTContext::getTemplateTypeParmType(unsigned Depth, unsigned Index,
2971 for (unsigned i = 0, e = TL.getNumArgs(); i != e; ++i)
2983 unsigned NumArgs = Args.size();
2987 for (unsigned i = 0; i != NumArgs; ++i)
2996 unsigned NumArgs) {
2997 for (unsigned I = 0; I != NumArgs; ++I)
3008 unsigned NumArgs,
3050 unsigned NumArgs) const {
3062 for (unsigned I = 0; I != NumArgs; ++I)
3181 for (unsigned I = 0, E = Args.size(); I != E; ++I)
3193 unsigned NumArgs,
3215 for (unsigned I = 0; I != NumArgs; ++I) {
3242 Optional<unsigned> NumExpansions) {
3283 unsigned NumProtocols) {
3289 for (unsigned i = 1; i != NumProtocols; ++i)
3297 unsigned &NumProtocols) {
3304 for (unsigned I = 0, N = NumProtocols; I != N; ++I)
3314 unsigned NumProtocols) const {
3335 unsigned UniqueCount = NumProtocols;
3349 unsigned Size = sizeof(ObjCObjectTypeImpl);
3609 /// getUnsignedWCharType - Return the type of "unsigned wchar_t".
3892 unsigned Idx = 0;
4155 unsigned ASTContext::getIntegerRank(const Type *T) const {
4204 // For instance, unsigned long bf : 4 gets promoted to signed int.
4231 // int, unsigned int, long int, unsigned long int, long long int, or
4232 // unsigned long long int [...]
4253 // At this point, we should have a signed or unsigned integer type.
4292 unsigned LHSRank = getIntegerRank(LHSC);
4293 unsigned RHSRank = getIntegerRank(RHSC);
4295 if (LHSUnsigned == RHSUnsigned) { // Both signed or both unsigned.
4300 // Otherwise, the LHS is signed and the RHS is unsigned or visa versa.
4302 // If the unsigned [LHS] type is larger, return it.
4306 // If the signed type can represent all values of the unsigned type, it
4312 // If the unsigned [RHS] type is larger, return it.
4316 // If the signed type can represent all values of the unsigned type, it
4352 for (unsigned i = 0; i < 4; ++i) {
5246 for (unsigned i = 0, e = Ivars.size(); i != e; ++i) {
5379 unsigned i = 0;
5638 for (unsigned i = 0; i < NumFields; ++i) {
5679 // unsigned char gpr;
5683 // unsigned char fpr;
5687 // unsigned short reserved;
5700 for (unsigned i = 0; i < NumFields; ++i) {
5756 // unsigned gp_offset;
5760 // unsigned fp_offset;
5773 for (unsigned i = 0; i < NumFields; ++i) {
5942 unsigned size = End - Begin;
6098 /// TargetInfo, produce the corresponding type. The unsigned @p Type
6100 CanQualType ASTContext::getFromTargetType(unsigned Type) const {
6456 unsigned LHSNumProtocols = LHS->getNumProtocols();
6467 unsigned RHSNumProtocols = RHS->getNumProtocols();
6471 for (unsigned i = 0; i < RHSNumProtocols; ++i)
6751 unsigned lproto_nargs = lproto->getNumArgs();
6752 unsigned rproto_nargs = rproto->getNumArgs();
6771 for (unsigned i = 0; i < lproto_nargs; i++) {
6814 unsigned proto_nargs = proto->getNumArgs();
6815 for (unsigned i = 0; i < proto_nargs; ++i) {
6929 // a signed integer type, or an unsigned integer type.
7135 for (unsigned ArgIdx = 0, NumArgs = FromFunctionType->getNumArgs();
7226 unsigned ASTContext::getIntWidth(QualType T) const {
7232 return (unsigned)getTypeSize(T);
7238 // Turn <4 x signed int> -> <4 x unsigned int>
7243 // For enums, we return the unsigned version of the base type.
7289 bool Signed = false, Unsigned = false;
7301 assert(!Unsigned && "Can't use both 'S' and 'U' modifiers!");
7307 assert(!Unsigned && "Can't use 'S' modifier multiple times!");
7308 Unsigned = true;
7323 assert(HowLong == 0 && !Signed && !Unsigned &&
7328 assert(HowLong == 0 && !Signed && !Unsigned &&
7333 assert(HowLong < 2 && !Signed && !Unsigned &&
7342 if (Unsigned)
7349 Type = Unsigned ? Context.UnsignedInt128Ty : Context.Int128Ty;
7351 Type = Unsigned ? Context.UnsignedLongLongTy : Context.LongLongTy;
7353 Type = Unsigned ? Context.UnsignedLongTy : Context.LongTy;
7355 Type = Unsigned ? Context.UnsignedIntTy : Context.IntTy;
7361 else if (Unsigned)
7367 assert(HowLong == 0 && !Signed && !Unsigned && "Bad modifiers for 'b'!");
7371 assert(HowLong == 0 && !Signed && !Unsigned && "Bad modifiers for 'z'!");
7408 unsigned NumElements = strtoul(Str, &End, 10);
7424 unsigned NumElements = strtoul(Str, &End, 10);
7464 assert(HowLong == 0 && !Signed && !Unsigned && "Bad modifiers for 'K'!");
7487 unsigned AddrSpace = strtoul(Str, &End, 10);
7518 QualType ASTContext::GetBuiltinType(unsigned Id,
7520 unsigned *IntegerConstantArgs) const {
7785 std::pair<llvm::DenseMap<const DeclContext *, unsigned>::iterator, bool> P =
7791 llvm::DenseMap<const TagDecl *, unsigned>::const_iterator I =
7796 unsigned ASTContext::getLambdaManglingNumber(CXXMethodDecl *CallOperator) {
7803 void ASTContext::setParameterIndex(const ParmVarDecl *D, unsigned int index) {
7807 unsigned ASTContext::getParameterIndex(const ParmVarDecl *D) const {