HomeSort by: relevance | last modified time | path
    Searched refs:ArraySize (Results 1 - 25 of 33) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
VLASizeChecker.cpp 48 /// 'ArraySize' will contain SVal that refers to the total size (in char)
51 const VariableArrayType *VLA, SVal &ArraySize) const;
70 SVal &ArraySize) const {
147 ArraySize = ArrSize;
275 SVal ArraySize;
277 State = checkVLA(C, State, VLA, ArraySize);
281 auto ArraySizeNL = ArraySize.getAs<NonLoc>();
292 ArraySize.castAs<DefinedOrUnknownSVal>(), SVB);
316 SVal ArraySize;
317 State = checkVLA(C, State, VLA, ArraySize);
    [all...]
CheckSecuritySyntaxOnly.cpp 689 uint64_t ArraySize = BR.getContext().getTypeSize(Array) / 8;
691 if (ArraySize >= String->getLength() + 1)
  /src/sys/external/bsd/gnu-efi/dist/inc/
efifs.h 94 UINT32 ArraySize;
  /src/external/apache2/llvm/dist/llvm/lib/Support/
SmallPtrSet.cpp 67 unsigned ArraySize = CurArraySize;
88 Bucket = (Bucket + ProbeAmt++) & (ArraySize-1);
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaExprCXX.cpp 1775 Optional<Expr *> ArraySize;
1790 ArraySize = static_cast<Expr*>(Chunk.Arr.NumElts);
1795 if (ArraySize) {
1838 TypeIdParens, AllocType, TInfo, ArraySize, DirectInitRange,
1901 Optional<Expr *> ArraySize,
1951 if (ArraySize)
1953 Diag(ArraySize ? (*ArraySize)->getExprLoc() : TypeRange.getBegin(),
1956 << (ArraySize ? (*ArraySize)->getSourceRange() : TypeRange))
    [all...]
SemaType.cpp 2256 static ExprResult checkArraySize(Sema &S, Expr *&ArraySize,
2261 !ArraySize->getType()->isIntegralOrUnscopedEnumerationType())) {
2271 ArraySize, S.Context.getSizeType(), SizeVal, Sema::CCEK_ArrayBound);
2303 S.VerifyIntegerConstantExpression(ArraySize, &SizeVal, Diagnoser);
2315 /// \param ArraySize Expression describing the size of the array.
2325 Expr *ArraySize, unsigned Quals,
2393 if (ArraySize && ArraySize->hasPlaceholderType()) {
2394 ExprResult Result = CheckPlaceholderExpr(ArraySize);
2396 ArraySize = Result.get()
    [all...]
TreeTransform.h 3093 Optional<Expr *> ArraySize,
3103 ArraySize,
11716 Optional<Expr *> ArraySize;
11724 ArraySize = NewArraySize.get();
11762 ArraySize == E->getArraySize() &&
11789 if (!ArraySize) {
11800 ArraySize = IntegerLiteral::Create(SemaRef.Context, ConsArrayT->getSize(),
11807 ArraySize = DepArrayT->getSizeExpr();
11817 AllocTypeInfo, ArraySize, E->getDirectInitRange(), NewInit.get());
14191 IntegerLiteral *ArraySize
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/IR/
Instructions.cpp 627 Value *ArraySize,
635 // malloc(type, arraySize) becomes:
636 // bitcast (i8* malloc(typeSize*arraySize)) to type*
637 if (!ArraySize)
638 ArraySize = ConstantInt::get(IntPtrTy, 1);
639 else if (ArraySize->getType() != IntPtrTy) {
641 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false,
644 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
SafeStack.cpp 453 DynamicTop = IRB.CreateAlloca(StackPtrTy, /*ArraySize=*/nullptr,
663 Value *ArraySize = AI->getArraySize();
664 if (ArraySize->getType() != IntPtrTy)
665 ArraySize = IRB.CreateIntCast(ArraySize, IntPtrTy, false);
669 Value *Size = IRB.CreateMul(ArraySize, ConstantInt::get(IntPtrTy, TySize));
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
MemoryBuiltins.cpp 675 Value *ArraySize = I.getArraySize();
676 if (const ConstantInt *C = dyn_cast<ConstantInt>(ArraySize)) {
962 Value *ArraySize = Builder.CreateZExtOrTrunc(
964 assert(ArraySize->getType() == Zero->getType() &&
967 Value *Size = ConstantInt::get(ArraySize->getType(),
969 Size = Builder.CreateMul(Size, ArraySize);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
HWAddressSanitizer.cpp 881 uint64_t ArraySize = 1;
885 ArraySize = CI->getZExtValue();
889 return SizeInBytes * ArraySize;
1295 uint64_t ArraySize =
1297 AllocatedType = ArrayType::get(AllocatedType, ArraySize);
AddressSanitizer.cpp 628 uint64_t ArraySize = 1;
632 ArraySize = CI->getZExtValue();
637 return SizeInBytes * ArraySize;
  /src/external/apache2/llvm/dist/clang/lib/AST/
ExprCXX.cpp 185 Optional<Expr *> ArraySize,
199 CXXNewExprBits.IsArray = ArraySize.hasValue();
208 if (ArraySize)
209 getTrailingObjects<Stmt *>()[arraySizeOffset()] = *ArraySize;
247 Optional<Expr *> ArraySize,
251 bool IsArray = ArraySize.hasValue();
262 ArraySize, InitializationStyle, Initializer, Ty,
TextNodeDumper.cpp 499 unsigned ArraySize = Value.getArraySize();
501 OS << "Array size=" << ArraySize;
514 OS << ArraySize - NumInitializedElements << " x ";
ExprConstant.cpp 192 uint64_t &ArraySize, QualType &Type, bool &IsArray,
209 ArraySize = CAT->getSize().getZExtValue();
213 ArraySize = AssumedSizeForUnsizedArray;
218 ArraySize = 2;
223 ArraySize = 0;
228 ArraySize = 0;
367 uint64_t ArraySize =
369 return {ArrayIndex, ArraySize - ArrayIndex};
461 uint64_t ArraySize =
464 if (N < -(int64_t)ArrayIndex || N > ArraySize - ArrayIndex)
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Frontend/OpenMP/
OMPIRBuilder.h 787 #define OMP_ARRAY_TYPE(VarName, ElemTy, ArraySize) \
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGExpr.cpp 70 llvm::Value *ArraySize) {
71 auto Alloca = CreateTempAlloca(Ty, Name, ArraySize);
80 llvm::Value *ArraySize,
82 auto Alloca = CreateTempAllocaWithoutCast(Ty, Align, Name, ArraySize);
93 // When ArraySize is nullptr, alloca is inserted at AllocaInsertPt,
96 if (!ArraySize)
107 /// block if \p ArraySize is nullptr, otherwise inserts it at the current
111 llvm::Value *ArraySize) {
112 if (ArraySize)
113 return Builder.CreateAlloca(Ty, ArraySize, Name)
    [all...]
CGOpenMPRuntimeGPU.cpp 195 llvm::APInt ArraySize(32, BufSize);
196 Type = C.getConstantArrayType(Type, ArraySize, nullptr, ArrayType::Normal,
3779 llvm::APInt ArraySize(/*unsigned int numBits=*/32, Size);
3781 C.getConstantArrayType(C.VoidPtrTy, ArraySize, nullptr, ArrayType::Normal,
CodeGenFunction.h 2474 /// block if \p ArraySize is nullptr, otherwise inserts it at the current
2479 /// \p ArraySize is the number of array elements to be allocated if it
2500 llvm::Value *ArraySize = nullptr);
2503 llvm::Value *ArraySize = nullptr,
2507 llvm::Value *ArraySize = nullptr);
2943 /// (or if ArraySize is provided, for an array of that bound).
2947 llvm::Value *ArraySize = nullptr);
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
Instructions.h 78 explicit AllocaInst(Type *Ty, unsigned AddrSpace, Value *ArraySize,
80 AllocaInst(Type *Ty, unsigned AddrSpace, Value *ArraySize,
88 AllocaInst(Type *Ty, unsigned AddrSpace, Value *ArraySize, Align Align,
90 AllocaInst(Type *Ty, unsigned AddrSpace, Value *ArraySize, Align Align,
1610 Value *ArraySize = nullptr,
1615 Value *ArraySize = nullptr,
1620 Value *ArraySize = nullptr,
1626 Value *ArraySize = nullptr,
IRBuilder.h 1622 Value *ArraySize = nullptr, const Twine &Name = "") {
1625 return Insert(new AllocaInst(Ty, AddrSpace, ArraySize, AllocaAlign), Name);
1628 AllocaInst *CreateAlloca(Type *Ty, Value *ArraySize = nullptr,
1633 return Insert(new AllocaInst(Ty, AddrSpace, ArraySize, AllocaAlign), Name);
  /src/external/public-domain/sqlite/dist/
shell.c 78 #define ArraySize(X) (int)(sizeof(X)/sizeof(X[0]))
24408 for(i=0; i<ArraySize(aMult); i++){
24633 for(i=0; i<ArraySize(aPrefix); i++){
24921 if( eMode<ArraySize(aModeInfo) ){
24996 for(i=0; i<ArraySize(aModeInfo); i++){
25523 for(i=0; i<ArraySize(azProhibitedFunctions); i++){
25600 for(i=0; i<ArraySize(azTerm); i++){
26019 for(i=0; i<ArraySize(aTrans); i++){
26530 assert( /*pArg->mode.eMode>=0 &&*/ pArg->mode.eMode<ArraySize(aModeInfo) );
27436 for(i=0; i<ArraySize(aUsage); i++)
    [all...]
sqlite3.c 16309 #define ArraySize(X) ((int)(sizeof(X)/sizeof(X[0])))
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
LoopIdiomRecognize.cpp 469 unsigned ArraySize = 16 / Size;
470 ArrayType *AT = ArrayType::get(V->getType(), ArraySize);
471 return ConstantArray::get(AT, std::vector<Constant *>(ArraySize, C));
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
ExprCXX.h 2207 SourceRange TypeIdParens, Optional<Expr *> ArraySize,
2222 SourceRange TypeIdParens, Optional<Expr *> ArraySize,

Completed in 219 milliseconds

1 2