Home
last modified time | relevance | path

Searched refs:ArrSize (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DVLASizeChecker.cpp103 NonLoc ArrSize = in checkVLA() local
108 if (const llvm::APSInt *KV = SVB.getKnownValue(State, ArrSize)) in checkVLA()
117 SVal Mul = SVB.evalBinOpNN(State, BO_Mul, ArrSize, IndexLength, SizeTy); in checkVLA()
119 ArrSize = *MulNonLoc; in checkVLA()
147 ArraySize = ArrSize; in checkVLA()
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DValue.cpp141 llvm::APInt ArrSize(sizeof(size_t) * 8, 1); in Value() local
143 ArrSize *= ArrTy->getSize(); in Value()
147 ElementsSize = static_cast<size_t>(ArrSize.getZExtValue()); in Value()
H A DInterpreter.cpp782 size_t ArrSize = B->Ctx.getConstantArrayElementCount(ConstantArrTy); in transformForValuePrinting() local
783 Expr *ArrSizeExpr = IntegerLiteralExpr(B->Ctx, ArrSize); in transformForValuePrinting()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/
H A DMPIChecker.cpp167 const llvm::APSInt &ArrSize = in allRegionsUsedByWait() local
170 for (size_t i = 0; i < ArrSize; ++i) { in allRegionsUsedByWait()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCallAndReturn.cpp1151 unsigned ArrSize = getContext().getConstantArrayElementCount(CAT); in shouldInlineArrayConstruction() local
1161 return shouldInlineArrayDestruction(ArrSize); in shouldInlineArrayConstruction()
H A DRegionStore.cpp2440 uint64_t ArrSize = CAT->getLimitedSize(); in tryBindSmallArray() local
2441 if (ArrSize > SmallArrayLimit) in tryBindSmallArray()
2446 for (uint64_t i = 0; i < ArrSize; ++i) { in tryBindSmallArray()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DAPValue.cpp296 NumElts(NumElts), ArrSize(Size) {} in Arr()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp3075 uint64_t ArrSize = ArrTy->getZExtSize(); in EmitFunctionProlog() local
3077 ArrSize) { in EmitFunctionProlog()
3081 ArrSize); in EmitFunctionProlog()
H A DCGStmtOpenMP.cpp5114 llvm::APInt ArrSize(/*numBits=*/32, InputInfo.NumberOfTargetItems); in EmitOMPTargetTaskBasedDirective() local
5116 getContext().VoidPtrTy, ArrSize, nullptr, ArraySizeModifier::Normal, in EmitOMPTargetTaskBasedDirective()
5124 ArrSize, nullptr, ArraySizeModifier::Normal, in EmitOMPTargetTaskBasedDirective()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1012 uint64_t ArrSize = in optimizeStringLength() local
1021 NullTermIdx == ArrSize - 1)) { in optimizeStringLength()