/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | VLASizeChecker.cpp | 171 DefinedOrUnknownSVal ArraySize = ArraySizeVal.castAs<DefinedOrUnknownSVal>(); local 173 svalBuilder.evalEQ(state, Extent, ArraySize);
|
/external/llvm/lib/Transforms/Instrumentation/ |
H A D | SafeStack.cpp | 447 DynamicTop = IRB.CreateAlloca(StackPtrTy, /*ArraySize=*/nullptr, 606 Value *ArraySize = AI->getArraySize(); local 607 if (ArraySize->getType() != IntPtrTy) 608 ArraySize = IRB.CreateIntCast(ArraySize, IntPtrTy, false); 612 Value *Size = IRB.CreateMul(ArraySize, ConstantInt::get(IntPtrTy, TySize));
|
/external/llvm/lib/Analysis/ |
H A D | MemoryBuiltins.cpp | 451 Value *ArraySize = I.getArraySize(); 452 if (const ConstantInt *C = dyn_cast<ConstantInt>(ArraySize)) { 679 Value *ArraySize = I.getArraySize(); local 680 Value *Size = ConstantInt::get(ArraySize->getType(), 682 Size = Builder.CreateMul(Size, ArraySize);
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | LoopIdiomRecognize.cpp | 295 unsigned ArraySize = 16 / Size; local 296 ArrayType *AT = ArrayType::get(V->getType(), ArraySize); 297 return ConstantArray::get(AT, std::vector<Constant *>(ArraySize, C));
|
/external/sqlite/dist/orig/ |
H A D | shell.c | 607 #define ArraySize(X) (int)(sizeof(X)/sizeof(X[0])) macro 844 if( i<ArraySize(p->colWidth) ){ 855 if( i<ArraySize(p->actualWidth) ){ 871 if( i<ArraySize(p->actualWidth) ){ 886 if( i<ArraySize(p->actualWidth) ){ 2057 for(i=0; i<ArraySize(aMult); i++){ 2585 for(i=0; i<ArraySize(aField); i++){ 2605 for(i=0; i<ArraySize(aQuery); i++){ 2647 while( zLine[h] && nArg<ArraySize(azArg) ){ 3252 for(i=0; i<ArraySize(aLimi [all...] |
H A D | sqlite3.c | 9873 #define ArraySize(X) ((int)(sizeof(X)/sizeof(X[0]))) macro 15202 /* Since ArraySize(azCompileOpt) is normally in single digits, a 15204 for(i=0; i<ArraySize(azCompileOpt); i++){ 15219 if( N>=0 && N<ArraySize(azCompileOpt) ){ 15811 assert( op>=0 && op<ArraySize(wsdStat.nowValue) ); 15812 assert( op>=0 && op<ArraySize(statMutex) ); 15831 assert( op>=0 && op<ArraySize(wsdStat.nowValue) ); 15832 assert( op>=0 && op<ArraySize(statMutex) ); 15843 assert( op>=0 && op<ArraySize(statMutex) ); 15846 assert( op>=0 && op<ArraySize(wsdSta 166172 #define ArraySize macro [all...] |
/external/sqlite/dist/ |
H A D | shell.c | 613 #define ArraySize(X) (int)(sizeof(X)/sizeof(X[0])) macro 850 if( i<ArraySize(p->colWidth) ){ 861 if( i<ArraySize(p->actualWidth) ){ 877 if( i<ArraySize(p->actualWidth) ){ 892 if( i<ArraySize(p->actualWidth) ){ 2079 for(i=0; i<ArraySize(aMult); i++){ 2607 for(i=0; i<ArraySize(aField); i++){ 2627 for(i=0; i<ArraySize(aQuery); i++){ 2669 while( zLine[h] && nArg<ArraySize(azArg) ){ 3274 for(i=0; i<ArraySize(aLimi [all...] |
H A D | sqlite3.c | 9873 #define ArraySize(X) ((int)(sizeof(X)/sizeof(X[0]))) macro 15202 /* Since ArraySize(azCompileOpt) is normally in single digits, a 15204 for(i=0; i<ArraySize(azCompileOpt); i++){ 15219 if( N>=0 && N<ArraySize(azCompileOpt) ){ 15811 assert( op>=0 && op<ArraySize(wsdStat.nowValue) ); 15812 assert( op>=0 && op<ArraySize(statMutex) ); 15831 assert( op>=0 && op<ArraySize(wsdStat.nowValue) ); 15832 assert( op>=0 && op<ArraySize(statMutex) ); 15843 assert( op>=0 && op<ArraySize(statMutex) ); 15846 assert( op>=0 && op<ArraySize(wsdSta 166202 #define ArraySize macro [all...] |
/external/clang/lib/CodeGen/ |
H A D | CGOpenMPRuntime.cpp | 945 llvm::Value *ArraySize; local 946 std::tie(ArraySize, Ty) = CGF.getVLASize(VAT); 947 Size = Size ? CGF.Builder.CreateNUWMul(Size, ArraySize) : ArraySize; 1606 llvm::APInt ArraySize(/*unsigned int numBits=*/32, CopyprivateVars.size()); 1608 C.getConstantArrayType(C.VoidPtrTy, ArraySize, ArrayType::Normal, 2891 llvm::APInt ArraySize(/*unsigned int numBits=*/32, Size); 2893 C.getConstantArrayType(C.VoidPtrTy, ArraySize, ArrayType::Normal,
|
/external/clang/lib/Sema/ |
H A D | SemaExprCXX.cpp | 1172 Expr *ArraySize = nullptr; local 1187 ArraySize = static_cast<Expr*>(Chunk.Arr.NumElts); 1192 if (ArraySize) { 1240 ArraySize, 1273 Expr *ArraySize, 1330 if (!ArraySize) { 1333 ArraySize = IntegerLiteral::Create(Context, Array->getSize(), 1360 if (ArraySize && ArraySize->getType()->isNonOverloadPlaceholderType()) { 1361 ExprResult result = CheckPlaceholderExpr(ArraySize); 1266 BuildCXXNew(SourceRange Range, bool UseGlobal, SourceLocation PlacementLParen, MultiExprArg PlacementArgs, SourceLocation PlacementRParen, SourceRange TypeIdParens, QualType AllocType, TypeSourceInfo *AllocTypeInfo, Expr *ArraySize, SourceRange DirectInitRange, Expr *Initializer, bool TypeMayContainAuto) argument 1388 Expr *ArraySize; member in class:SizeConvertDiagnoser 1391 SizeConvertDiagnoser(Expr *ArraySize) argument [all...] |
H A D | SemaType.cpp | 1929 static bool isArraySizeVLA(Sema &S, Expr *ArraySize, llvm::APSInt &SizeVal) { argument 1944 return S.VerifyIntegerConstantExpression(ArraySize, &SizeVal, Diagnoser, 1955 /// \param ArraySize Expression describing the size of the array. 1965 Expr *ArraySize, unsigned Quals, 2028 if (ArraySize && ArraySize->hasPlaceholderType()) { 2029 ExprResult Result = CheckPlaceholderExpr(ArraySize); 2031 ArraySize = Result.get(); 2035 if (ArraySize && !ArraySize 1964 BuildArrayType(QualType T, ArrayType::ArraySizeModifier ASM, Expr *ArraySize, unsigned Quals, SourceRange Brackets, DeclarationName Entity) argument 2159 BuildExtVectorType(QualType T, Expr *ArraySize, SourceLocation AttrLoc) argument 3637 Expr *ArraySize = static_cast<Expr*>(ATI.NumElts); local [all...] |
H A D | TreeTransform.h | 2518 Expr *ArraySize, 2528 ArraySize, 9125 ExprResult ArraySize = getDerived().TransformExpr(E->getArraySize()); 9126 if (ArraySize.isInvalid()) 9166 ArraySize.get() == E->getArraySize() && 9193 if (!ArraySize.get()) { 9204 ArraySize = IntegerLiteral::Create(SemaRef.Context, ConsArrayT->getSize(), 9211 ArraySize = DepArrayT->getSizeExpr(); 9225 ArraySize.get(), 11187 IntegerLiteral *ArraySize local 2510 RebuildCXXNewExpr(SourceLocation StartLoc, bool UseGlobal, SourceLocation PlacementLParen, MultiExprArg PlacementArgs, SourceLocation PlacementRParen, SourceRange TypeIdParens, QualType AllocatedType, TypeSourceInfo *AllocatedTypeInfo, Expr *ArraySize, SourceRange DirectInitRange, Expr *Initializer) argument [all...] |
/external/clang/include/clang/AST/ |
H A D | Type.h | 2514 const llvm::APInt &ArraySize, ArraySizeModifier SizeMod, 2517 ID.AddInteger(ArraySize.getZExtValue()); 2513 Profile(llvm::FoldingSetNodeID &ID, QualType ET, const llvm::APInt &ArraySize, ArraySizeModifier SizeMod, unsigned TypeQuals) argument
|
/external/clang/lib/AST/ |
H A D | ExprConstant.cpp | 117 uint64_t &ArraySize, QualType &Type, 126 ArraySize = CAT->getSize().getZExtValue(); 132 ArraySize = 2; 137 ArraySize = 0; 142 ArraySize = 0; 115 findMostDerivedSubobject(ASTContext &Ctx, QualType Base, ArrayRef<APValue::LValuePathEntry> Path, uint64_t &ArraySize, QualType &Type, bool &IsArray) argument
|