|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/include/clang/AST/Expr.h 5025 ->getSize();
tools/clang/include/clang/AST/Type.h 2949 Profile(ID, Ctx, getElementType(), getSize(), getSizeExpr(),
tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h 1780 return Node.getSize() == N;
tools/clang/lib/AST/ASTContext.cpp 1722 uint64_t Size = CAT->getSize().getZExtValue();
1832 uint64_t Size = CAT->getSize().getZExtValue();
3310 cat->getSize(),
5203 return getConstantArrayType(unqualElementType, CAT->getSize(),
5241 if (!CAT2 || CAT1->getSize() != CAT2->getSize())
5241 if (!CAT2 || CAT1->getSize() != CAT2->getSize())
5576 return cast<ArrayType>(getConstantArrayType(NewEltTy, CAT->getSize(),
5677 ElementCount *= CA->getSize().getZExtValue();
6922 S += llvm::utostr(CAT->getSize().getZExtValue());
9044 if (LCAT && RCAT && RCAT->getSize() != LCAT->getSize())
9044 if (LCAT && RCAT && RCAT->getSize() != LCAT->getSize())
9075 return std::make_pair(true, CAT->getSize());
9094 return getConstantArrayType(ResultType, LCAT->getSize(),
9098 return getConstantArrayType(ResultType, RCAT->getSize(),
tools/clang/lib/AST/ASTImporter.cpp 1109 ToElementType, T->getSize(), ToSizeExpr, T->getSizeModifier(),
tools/clang/lib/AST/ASTStructuralEquivalence.cpp 533 if (!llvm::APInt::isSameValue(Array1->getSize(), Array2->getSize()))
533 if (!llvm::APInt::isSameValue(Array1->getSize(), Array2->getSize()))
tools/clang/lib/AST/ExprConstant.cpp 212 ArraySize = CAT->getSize().getZExtValue();
400 MostDerivedArraySize = CAT->getSize().getZExtValue();
2971 unsigned Elts = CAT->getSize().getZExtValue();
3264 if (CAT->getSize().ule(Index)) {
4258 APValue Array(APValue::UninitArray(), 0, AT->getSize().getZExtValue());
5766 uint64_t Size = CAT->getSize().getZExtValue();
6460 size_t Size = Ty->getSize().getLimitedValue();
8562 std::max(CAT->getSize().getBitWidth(), ArrayBound.getBitWidth());
8563 llvm::APInt InitBound = CAT->getSize().zextOrSelf(Bits);
9101 ArrayType->getSize().getZExtValue()))
9106 Result.getStructField(1) = APValue(APSInt(ArrayType->getSize()));
9425 CAT->getSize().getZExtValue());
9511 unsigned NumElts = CAT->getSize().getZExtValue();
9570 uint64_t Elements = CAT->getSize().getZExtValue();
9602 unsigned N = CAT->getSize().getZExtValue();
10282 if (Index + 1 != CAT->getSize())
tools/clang/lib/AST/Interp/Program.cpp 310 size_t NumElems = CAT->getSize().getZExtValue();
tools/clang/lib/AST/ItaniumMangle.cpp 2948 Out << 'A' << T->getSize() << '_';
tools/clang/lib/AST/JSONNodeDumper.cpp 574 JOS.attribute("size", CAT->getSize().getSExtValue());
tools/clang/lib/AST/MicrosoftMangle.cpp 2525 Dimensions.push_back(CAT->getSize());
3450 ->getSize()
tools/clang/lib/AST/ODRHash.cpp 797 T->getSize().Profile(ID);
tools/clang/lib/AST/ScanfFormatString.cpp 449 CAT->getSize().getZExtValue() - 1,
tools/clang/lib/AST/TextNodeDumper.cpp 1085 OS << " " << T->getSize();
tools/clang/lib/AST/Type.cpp 902 return Ctx.getConstantArrayType(elementType, T->getSize(), T->getSizeExpr(),
tools/clang/lib/AST/TypePrinter.cpp 509 OS << T->getSize().getZExtValue() << ']';
tools/clang/lib/Analysis/CFG.cpp 1912 if (AT->getSize() == 0)
2003 if (AT->getSize() == 0)
tools/clang/lib/CodeGen/CGCall.cpp 907 AT->getElementType(), AT->getSize().getZExtValue());
2374 uint64_t ArrSize = ArrTy->getSize().getZExtValue();
tools/clang/lib/CodeGen/CGDebugInfo.cpp 2667 Count = CAT->getSize().getZExtValue();
tools/clang/lib/CodeGen/CGExpr.cpp 863 if (CAT->getSize().ugt(1))
943 return CGF.Builder.getInt(CAT->getSize());
3723 ConstLength = CAT->getSize();
tools/clang/lib/CodeGen/CGExprAgg.cpp 426 llvm::Value *Size = Builder.getInt(ArrayType->getSize());
tools/clang/lib/CodeGen/CGExprCXX.cpp 720 arraySizeMultiplier *= CAT->getSize();
1033 ->getSize().getZExtValue();
1548 ->getSize().getZExtValue();
tools/clang/lib/CodeGen/CGExprConstant.cpp 634 FillC ? CAT->getSize().getZExtValue() : Updater->getNumInits();
1183 unsigned NumElements = CAT->getSize().getZExtValue();
1314 Str.resize(CAT->getSize().getZExtValue(), '\0');
2310 unsigned NumElements = CAT->getSize().getZExtValue();
tools/clang/lib/CodeGen/CGObjCMac.cpp 2521 uint64_t ElCount = CArray->getSize().getZExtValue();
2526 ElCount *= CArray->getSize().getZExtValue();
5215 numElts *= arrayType->getSize().getZExtValue();
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 7299 return ATy->getSize().getSExtValue() != 1;
tools/clang/lib/CodeGen/CodeGenFunction.cpp 1764 assert(cast<ConstantArrayType>(arrayType)->getSize().getZExtValue()
1784 cast<ConstantArrayType>(arrayType)->getSize().getZExtValue();
tools/clang/lib/CodeGen/CodeGenModule.cpp 4855 Str.resize(CAT->getSize().getZExtValue());
tools/clang/lib/CodeGen/CodeGenTypes.cpp 602 ResultType = llvm::ArrayType::get(EltTy, A->getSize().getZExtValue());
tools/clang/lib/CodeGen/SwiftCallingConv.cpp 79 for (uint64_t i = 0, e = arrayType->getSize().getZExtValue(); i != e; ++i) {
tools/clang/lib/CodeGen/TargetInfo.cpp 489 if (AT->getSize() == 0)
584 if (AT->getSize().getZExtValue() != 1)
2758 uint64_t ArraySize = AT->getSize().getZExtValue();
3048 unsigned NumElts = (unsigned)AT->getSize().getZExtValue();
4600 uint64_t NElements = AT->getSize().getZExtValue();
4633 if (AT->getSize().getZExtValue() == 0)
6212 uint64_t NElements = AT->getSize().getZExtValue();
9131 CAT->getSize().toStringUnsigned(Enc);
9371 uint64_t ArraySize = ATy->getSize().getZExtValue();
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp 3709 llvm::APInt Dim = CAT->getSize();
tools/clang/lib/Index/USRGeneration.cpp 883 Out << CAT->getSize();
tools/clang/lib/Sema/SemaChecking.cpp 8788 size_t TypeSize = T->getSize().getZExtValue();
8851 size_t TypeSize = T->getSize().getZExtValue();
9795 if (CAT->getSize().getSExtValue() <= 1)
13279 llvm::APInt size = ArrayTy->getSize();
tools/clang/lib/Sema/SemaDeclCXX.cpp 918 llvm::APSInt(CAT->getSize()),
4844 if (!ArrayT->getSize())
12279 = ArrayTy->getSize().zextOrTrunc(S.Context.getTypeSize(SizeType));
tools/clang/lib/Sema/SemaExpr.cpp 5294 if (ArgCAT->getSize().ult(CAT->getSize())) {
5294 if (ArgCAT->getSize().ult(CAT->getSize())) {
5297 << (unsigned)ArgCAT->getSize().getZExtValue()
5298 << (unsigned)CAT->getSize().getZExtValue() << 0;
tools/clang/lib/Sema/SemaExprCXX.cpp 1878 ArraySize = IntegerLiteral::Create(Context, Array->getSize(),
2156 Context, CAT->getSize(), Context.getSizeType(), TypeRange.getEnd());
5336 return CAT->getSize().getLimitedValue();
tools/clang/lib/Sema/SemaInit.cpp 193 uint64_t StrLength = ConstantArrayTy->getSize().getZExtValue();
223 if (StrLength > CAT->getSize().getZExtValue())
229 if (StrLength-1 > CAT->getSize().getZExtValue())
837 NumElements = CAType->getSize().getZExtValue();
971 maxElements = static_cast<int>(CAT->getSize().getZExtValue());
1870 maxElements = CAT->getSize();
2822 llvm::APSInt MaxElements(cast<ConstantArrayType>(AT)->getSize(), false);
2873 if (cast<ConstantArrayType>(AT)->getSize().ult(StrLen))
2874 StrLen = cast<ConstantArrayType>(AT)->getSize().getZExtValue();
2895 if (cast<ConstantArrayType>(AT)->getSize().ult(StrLen))
2896 StrLen = cast<ConstantArrayType>(AT)->getSize().getZExtValue();
3056 NumElements = CAType->getSize().getZExtValue();
8418 ConstantSource->getSize(),
tools/clang/lib/Sema/SemaOpenMP.cpp14542 return ATy->getSize().getSExtValue() != 1;
14583 return CATy->getSize().getSExtValue() != ConstLength.getSExtValue();
14607 return ATy->getSize().getSExtValue() != 1;
tools/clang/lib/Sema/SemaStmt.cpp 2460 Context, CAT->getSize(), Context.getPointerDiffType(), RangeLoc);
tools/clang/lib/Sema/SemaTemplateDeduction.cpp 1603 if (ConstantArrayArg->getSize() != ConstantArrayParm->getSize())
1603 if (ConstantArrayArg->getSize() != ConstantArrayParm->getSize())
1643 llvm::APSInt Size(ConstantArrayArg->getSize());
tools/clang/lib/Sema/TreeTransform.h 4778 T->getSize(), NewSize,
10707 ArraySize = IntegerLiteral::Create(SemaRef.Context, ConsArrayT->getSize(),
tools/clang/lib/Serialization/ASTWriter.cpp 240 Record.AddAPInt(T->getSize());
tools/clang/lib/StaticAnalyzer/Checkers/CastSizeChecker.cpp 67 if (ArrayTy->getSize() == 1 && TypeSize > FlexSize)
69 else if (ArrayTy->getSize() != 0)
tools/clang/lib/StaticAnalyzer/Checkers/PaddingChecker.cpp 120 Elts = CArrTy->getSize().getZExtValue();
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp 1190 NumElements = CAT->getSize().getZExtValue();
1722 if (CAT->getSize().sle(i))
2241 Size = CAT->getSize().getZExtValue();
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp 327 if (!ArrayT->getSize())
tools/clang/tools/extra/clang-tidy/modernize/LoopConvertUtils.cpp 444 llvm::APSInt ArraySize(ConstType->getSize());
tools/clang/tools/libclang/CXType.cpp 832 result = cast<ConstantArrayType> (TP)->getSize().getSExtValue();
881 result = cast<ConstantArrayType> (TP)->getSize().getSExtValue();
tools/lldb/source/Symbol/ClangASTContext.cpp 2843 ->getSize()
3001 ->getSize()
5630 ->getSize()
9202 const uint64_t element_count = array->getSize().getLimitedValue();