Searched defs:ArraySize (Results 1 - 22 of 22) sorted by relevance

/external/swiftshader/third_party/LLVM/runtime/libprofile/
H A DBasicBlockTracing.c53 unsigned ArraySize; local
58 ArraySize = BufferSize / sizeof (unsigned);
59 ArrayStart = malloc (ArraySize * sizeof (unsigned));
60 ArrayEnd = ArrayStart + ArraySize;
/external/swiftshader/third_party/LLVM/lib/Analysis/
H A DMemoryBuiltins.cpp121 Value *ArraySize = computeArraySize(CI, TD); local
123 if (ArraySize &&
124 ArraySize != ConstantInt::get(CI->getArgOperand(0)->getType(), 1))
/external/clang/lib/StaticAnalyzer/Checkers/
H A DVLASizeChecker.cpp170 DefinedOrUnknownSVal ArraySize = ArraySizeVal.castAs<DefinedOrUnknownSVal>(); local
172 svalBuilder.evalEQ(state, Extent, ArraySize);
/external/syslinux/efi32/include/efi/
H A Defifs.h92 UINT32 ArraySize; member in struct:_EFI_LBAL
/external/syslinux/efi64/include/efi/
H A Defifs.h92 UINT32 ArraySize; member in struct:_EFI_LBAL
/external/syslinux/gnu-efi/gnu-efi-3.0/inc/
H A Defifs.h92 UINT32 ArraySize; member in struct:_EFI_LBAL
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp431 unsigned ArraySize = 16/Size; local
432 ArrayType *AT = ArrayType::get(V->getType(), ArraySize);
433 return ConstantArray::get(AT, std::vector<Constant*>(ArraySize, C));
/external/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp459 Value *ArraySize = I.getArraySize();
460 if (const ConstantInt *C = dyn_cast<ConstantInt>(ArraySize)) {
731 Value *ArraySize = I.getArraySize(); local
732 Value *Size = ConstantInt::get(ArraySize->getType(),
734 Size = Builder.CreateMul(Size, ArraySize);
/external/llvm/lib/CodeGen/
H A DSafeStack.cpp473 DynamicTop = IRB.CreateAlloca(StackPtrTy, /*ArraySize=*/nullptr,
680 Value *ArraySize = AI->getArraySize(); local
681 if (ArraySize->getType() != IntPtrTy)
682 ArraySize = IRB.CreateIntCast(ArraySize, IntPtrTy, false);
686 Value *Size = IRB.CreateMul(ArraySize, ConstantInt::get(IntPtrTy, TySize));
/external/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp330 unsigned ArraySize = 16 / Size; local
331 ArrayType *AT = ArrayType::get(V->getType(), ArraySize);
332 return ConstantArray::get(AT, std::vector<Constant *>(ArraySize, C));
/external/swiftshader/third_party/LLVM/lib/VMCore/
H A DInstructions.cpp356 Value *ArraySize, Function *MallocF,
365 if (!ArraySize)
366 ArraySize = ConstantInt::get(IntPtrTy, 1);
367 else if (ArraySize->getType() != IntPtrTy) {
369 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false,
372 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false,
376 if (!IsConstantOne(ArraySize)) {
378 AllocSize = ArraySize; // Operan
353 createMalloc(Instruction *InsertBefore, BasicBlock *InsertAtEnd, Type *IntPtrTy, Type *AllocTy, Value *AllocSize, Value *ArraySize, Function *MallocF, const Twine &Name) argument
438 CreateMalloc(Instruction *InsertBefore, Type *IntPtrTy, Type *AllocTy, Value *AllocSize, Value *ArraySize, Function * MallocF, const Twine &Name) argument
455 CreateMalloc(BasicBlock *InsertAtEnd, Type *IntPtrTy, Type *AllocTy, Value *AllocSize, Value *ArraySize, Function *MallocF, const Twine &Name) argument
836 AllocaInst(Type *Ty, Value *ArraySize, const Twine &Name, Instruction *InsertBefore) argument
845 AllocaInst(Type *Ty, Value *ArraySize, const Twine &Name, BasicBlock *InsertAtEnd) argument
872 AllocaInst(Type *Ty, Value *ArraySize, unsigned Align, const Twine &Name, Instruction *InsertBefore) argument
881 AllocaInst(Type *Ty, Value *ArraySize, unsigned Align, const Twine &Name, BasicBlock *InsertAtEnd) argument
[all...]
/external/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp112 llvm::Value *ArraySize; local
113 std::tie(ArraySize, Ty) = getVLASize(VAT);
114 Size = Size ? Builder.CreateNUWMul(Size, ArraySize) : ArraySize;
/external/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp464 uint64_t ArraySize = 1; local
468 ArraySize = CI->getZExtValue();
473 return SizeInBytes * ArraySize;
/external/clang/lib/Sema/
H A DSemaExprCXX.cpp1405 Expr *ArraySize = nullptr; local
1420 ArraySize = static_cast<Expr*>(Chunk.Arr.NumElts);
1425 if (ArraySize) {
1473 ArraySize,
1506 Expr *ArraySize,
1563 if (!ArraySize) {
1566 ArraySize = IntegerLiteral::Create(Context, Array->getSize(),
1593 if (ArraySize && ArraySize->getType()->isNonOverloadPlaceholderType()) {
1594 ExprResult result = CheckPlaceholderExpr(ArraySize);
1499 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
1621 Expr *ArraySize; member in class:SizeConvertDiagnoser
1624 SizeConvertDiagnoser(Expr *ArraySize) argument
[all...]
H A DSemaType.cpp2050 static bool isArraySizeVLA(Sema &S, Expr *ArraySize, llvm::APSInt &SizeVal) { argument
2065 return S.VerifyIntegerConstantExpression(ArraySize, &SizeVal, Diagnoser,
2076 /// \param ArraySize Expression describing the size of the array.
2086 Expr *ArraySize, unsigned Quals,
2149 if (ArraySize && ArraySize->hasPlaceholderType()) {
2150 ExprResult Result = CheckPlaceholderExpr(ArraySize);
2152 ArraySize = Result.get();
2156 if (ArraySize && !ArraySize
2085 BuildArrayType(QualType T, ArrayType::ArraySizeModifier ASM, Expr *ArraySize, unsigned Quals, SourceRange Brackets, DeclarationName Entity) argument
2285 BuildExtVectorType(QualType T, Expr *ArraySize, SourceLocation AttrLoc) argument
3894 Expr *ArraySize = static_cast<Expr*>(ATI.NumElts); local
[all...]
H A DTreeTransform.h2591 Expr *ArraySize,
2601 ArraySize,
9432 ExprResult ArraySize = getDerived().TransformExpr(E->getArraySize());
9433 if (ArraySize.isInvalid())
9473 ArraySize.get() == E->getArraySize() &&
9500 if (!ArraySize.get()) {
9511 ArraySize = IntegerLiteral::Create(SemaRef.Context, ConsArrayT->getSize(),
9518 ArraySize = DepArrayT->getSizeExpr();
9532 ArraySize.get(),
11527 IntegerLiteral *ArraySize local
2583 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/sqlite/dist/orig/
H A Dshell.c1502 #define ArraySize(X) (int)(sizeof(X)/sizeof(X[0])) macro
1900 if( i<ArraySize(p->colWidth) ){
1911 if( i<ArraySize(p->actualWidth) ){
1922 if( i<ArraySize(p->actualWidth) ){
1938 if( i<ArraySize(p->actualWidth) ){
2397 for(i=0; i<ArraySize(aTrans); i++){
2668 for(jj=0; jj<ArraySize(explainCols); jj++){
3623 for(i=0; i<ArraySize(aMult); i++){
4175 for(i=0; i<ArraySize(aField); i++){
4195 for(i=0; i<ArraySize(aQuer
[all...]
H A Dsqlite3.c12123 #define ArraySize(X) ((int)(sizeof(X)/sizeof(X[0]))) macro
17950 /* Since ArraySize(azCompileOpt) is normally in single digits, a
17952 for(i=0; i<ArraySize(azCompileOpt); i++){
17967 if( N>=0 && N<ArraySize(azCompileOpt) ){
18603 assert( op>=0 && op<ArraySize(wsdStat.nowValue) );
18604 assert( op>=0 && op<ArraySize(statMutex) );
18623 assert( op>=0 && op<ArraySize(wsdStat.nowValue) );
18624 assert( op>=0 && op<ArraySize(statMutex) );
18635 assert( op>=0 && op<ArraySize(statMutex) );
18638 assert( op>=0 && op<ArraySize(wsdSta
182611 # define ArraySize macro
[all...]
/external/sqlite/dist/
H A Dshell.c1508 #define ArraySize(X) (int)(sizeof(X)/sizeof(X[0])) macro
1906 if( i<ArraySize(p->colWidth) ){
1917 if( i<ArraySize(p->actualWidth) ){
1928 if( i<ArraySize(p->actualWidth) ){
1944 if( i<ArraySize(p->actualWidth) ){
2403 for(i=0; i<ArraySize(aTrans); i++){
2674 for(jj=0; jj<ArraySize(explainCols); jj++){
3645 for(i=0; i<ArraySize(aMult); i++){
4197 for(i=0; i<ArraySize(aField); i++){
4217 for(i=0; i<ArraySize(aQuer
[all...]
H A Dsqlite3.c12123 #define ArraySize(X) ((int)(sizeof(X)/sizeof(X[0]))) macro
17950 /* Since ArraySize(azCompileOpt) is normally in single digits, a
17952 for(i=0; i<ArraySize(azCompileOpt); i++){
17967 if( N>=0 && N<ArraySize(azCompileOpt) ){
18603 assert( op>=0 && op<ArraySize(wsdStat.nowValue) );
18604 assert( op>=0 && op<ArraySize(statMutex) );
18623 assert( op>=0 && op<ArraySize(wsdStat.nowValue) );
18624 assert( op>=0 && op<ArraySize(statMutex) );
18635 assert( op>=0 && op<ArraySize(statMutex) );
18638 assert( op>=0 && op<ArraySize(wsdSta
182623 # define ArraySize macro
[all...]
/external/clang/include/clang/AST/
H A DType.h2547 const llvm::APInt &ArraySize, ArraySizeModifier SizeMod,
2550 ID.AddInteger(ArraySize.getZExtValue());
2546 Profile(llvm::FoldingSetNodeID &ID, QualType ET, const llvm::APInt &ArraySize, ArraySizeModifier SizeMod, unsigned TypeQuals) argument
/external/clang/lib/AST/
H A DExprConstant.cpp118 uint64_t &ArraySize, QualType &Type,
127 ArraySize = CAT->getSize().getZExtValue();
133 ArraySize = 2;
138 ArraySize = 0;
143 ArraySize = 0;
116 findMostDerivedSubobject(ASTContext &Ctx, QualType Base, ArrayRef<APValue::LValuePathEntry> Path, uint64_t &ArraySize, QualType &Type, bool &IsArray) argument

Completed in 1888 milliseconds