Home
last modified time | relevance | path

Searched refs:ArraySize (Results 1 – 25 of 36) sorted by relevance

12

/external/swiftshader/third_party/LLVM/runtime/libprofile/
DBasicBlockTracing.c53 unsigned ArraySize; in llvm_start_basic_block_tracing() local
58 ArraySize = BufferSize / sizeof (unsigned); in llvm_start_basic_block_tracing()
59 ArrayStart = malloc (ArraySize * sizeof (unsigned)); in llvm_start_basic_block_tracing()
60 ArrayEnd = ArrayStart + ArraySize; in llvm_start_basic_block_tracing()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DMemoryBuiltins.cpp121 Value *ArraySize = computeArraySize(CI, TD); in isArrayMalloc() local
123 if (ArraySize && in isArrayMalloc()
124 ArraySize != ConstantInt::get(CI->getArgOperand(0)->getType(), 1)) in isArrayMalloc()
/external/clang/lib/Sema/
DSemaType.cpp2050 static bool isArraySizeVLA(Sema &S, Expr *ArraySize, llvm::APSInt &SizeVal) { in isArraySizeVLA() argument
2065 return S.VerifyIntegerConstantExpression(ArraySize, &SizeVal, Diagnoser, in isArraySizeVLA()
2086 Expr *ArraySize, unsigned Quals, in BuildArrayType() argument
2149 if (ArraySize && ArraySize->hasPlaceholderType()) { in BuildArrayType()
2150 ExprResult Result = CheckPlaceholderExpr(ArraySize); in BuildArrayType()
2152 ArraySize = Result.get(); in BuildArrayType()
2156 if (ArraySize && !ArraySize->isRValue()) { in BuildArrayType()
2157 ExprResult Result = DefaultLvalueConversion(ArraySize); in BuildArrayType()
2161 ArraySize = Result.get(); in BuildArrayType()
2167 ArraySize && !ArraySize->isTypeDependent() && in BuildArrayType()
[all …]
DSemaExprCXX.cpp1405 Expr *ArraySize = nullptr; in ActOnCXXNew() local
1420 ArraySize = static_cast<Expr*>(Chunk.Arr.NumElts); in ActOnCXXNew()
1425 if (ArraySize) { in ActOnCXXNew()
1473 ArraySize, in ActOnCXXNew()
1506 Expr *ArraySize, in BuildCXXNew() argument
1563 if (!ArraySize) { in BuildCXXNew()
1566 ArraySize = IntegerLiteral::Create(Context, Array->getSize(), in BuildCXXNew()
1593 if (ArraySize && ArraySize->getType()->isNonOverloadPlaceholderType()) { in BuildCXXNew()
1594 ExprResult result = CheckPlaceholderExpr(ArraySize); in BuildCXXNew()
1596 ArraySize = result.get(); in BuildCXXNew()
[all …]
DTreeTransform.h2591 Expr *ArraySize, in RebuildCXXNewExpr() argument
2601 ArraySize, in RebuildCXXNewExpr()
9432 ExprResult ArraySize = getDerived().TransformExpr(E->getArraySize()); in TransformCXXNewExpr() local
9433 if (ArraySize.isInvalid()) in TransformCXXNewExpr()
9473 ArraySize.get() == E->getArraySize() && in TransformCXXNewExpr()
9500 if (!ArraySize.get()) { in TransformCXXNewExpr()
9511 ArraySize = IntegerLiteral::Create(SemaRef.Context, ConsArrayT->getSize(), in TransformCXXNewExpr()
9518 ArraySize = DepArrayT->getSizeExpr(); in TransformCXXNewExpr()
9532 ArraySize.get(), in TransformCXXNewExpr()
11527 IntegerLiteral *ArraySize in RebuildArrayType() local
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/
DSmallPtrSet.cpp105 unsigned ArraySize = CurArraySize; in FindBucketFor() local
126 Bucket = (Bucket + ProbeAmt++) & (ArraySize-1); in FindBucketFor()
/external/clang/lib/StaticAnalyzer/Checkers/
DVLASizeChecker.cpp170 DefinedOrUnknownSVal ArraySize = ArraySizeVal.castAs<DefinedOrUnknownSVal>(); in checkPreStmt() local
172 svalBuilder.evalEQ(state, Extent, ArraySize); in checkPreStmt()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DInstructions.cpp356 Value *ArraySize, Function *MallocF, in createMalloc() argument
365 if (!ArraySize) in createMalloc()
366 ArraySize = ConstantInt::get(IntPtrTy, 1); in createMalloc()
367 else if (ArraySize->getType() != IntPtrTy) { in createMalloc()
369 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false, in createMalloc()
372 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false, in createMalloc()
376 if (!IsConstantOne(ArraySize)) { in createMalloc()
378 AllocSize = ArraySize; // Operand * 1 = Operand in createMalloc()
379 } else if (Constant *CO = dyn_cast<Constant>(ArraySize)) { in createMalloc()
387 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize, in createMalloc()
[all …]
/external/llvm/lib/IR/
DInstructions.cpp444 Value *ArraySize, in createMalloc() argument
454 if (!ArraySize) in createMalloc()
455 ArraySize = ConstantInt::get(IntPtrTy, 1); in createMalloc()
456 else if (ArraySize->getType() != IntPtrTy) { in createMalloc()
458 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false, in createMalloc()
461 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false, in createMalloc()
465 if (!IsConstantOne(ArraySize)) { in createMalloc()
467 AllocSize = ArraySize; // Operand * 1 = Operand in createMalloc()
468 } else if (Constant *CO = dyn_cast<Constant>(ArraySize)) { in createMalloc()
476 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize, in createMalloc()
[all …]
/external/llvm/lib/CodeGen/
DSafeStack.cpp680 Value *ArraySize = AI->getArraySize(); in moveDynamicAllocasToUnsafeStack() local
681 if (ArraySize->getType() != IntPtrTy) in moveDynamicAllocasToUnsafeStack()
682 ArraySize = IRB.CreateIntCast(ArraySize, IntPtrTy, false); in moveDynamicAllocasToUnsafeStack()
686 Value *Size = IRB.CreateMul(ArraySize, ConstantInt::get(IntPtrTy, TySize)); in moveDynamicAllocasToUnsafeStack()
/external/syslinux/efi64/include/efi/
Defifs.h92 UINT32 ArraySize; member
/external/syslinux/gnu-efi/gnu-efi-3.0/inc/
Defifs.h92 UINT32 ArraySize; member
/external/syslinux/efi32/include/efi/
Defifs.h92 UINT32 ArraySize; member
/external/llvm/lib/Support/
DSmallPtrSet.cpp90 unsigned ArraySize = CurArraySize; in FindBucketFor() local
111 Bucket = (Bucket + ProbeAmt++) & (ArraySize-1); in FindBucketFor()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DSmallPtrSet.cpp91 unsigned ArraySize = CurArraySize; in FindBucketFor() local
112 Bucket = (Bucket + ProbeAmt++) & (ArraySize-1); in FindBucketFor()
/external/llvm/lib/Analysis/
DMemoryBuiltins.cpp459 Value *ArraySize = I.getArraySize(); in visitAllocaInst() local
460 if (const ConstantInt *C = dyn_cast<ConstantInt>(ArraySize)) { in visitAllocaInst()
731 Value *ArraySize = I.getArraySize(); in visitAllocaInst() local
732 Value *Size = ConstantInt::get(ArraySize->getType(), in visitAllocaInst()
734 Size = Builder.CreateMul(Size, ArraySize); in visitAllocaInst()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp431 unsigned ArraySize = 16/Size; in getMemSetPatternValue() local
432 ArrayType *AT = ArrayType::get(V->getType(), ArraySize); in getMemSetPatternValue()
433 return ConstantArray::get(AT, std::vector<Constant*>(ArraySize, C)); in getMemSetPatternValue()
/external/sqlite/dist/
Dshell.c1508 #define ArraySize(X) (int)(sizeof(X)/sizeof(X[0])) macro
1906 if( i<ArraySize(p->colWidth) ){ in shell_callback()
1917 if( i<ArraySize(p->actualWidth) ){ in shell_callback()
1928 if( i<ArraySize(p->actualWidth) ){ in shell_callback()
1944 if( i<ArraySize(p->actualWidth) ){ in shell_callback()
2403 for(i=0; i<ArraySize(aTrans); i++){ in displayLinuxIoStats()
2674 for(jj=0; jj<ArraySize(explainCols); jj++){ in explain_data_prepare()
3645 for(i=0; i<ArraySize(aMult); i++){ in integerValue()
4197 for(i=0; i<ArraySize(aField); i++){ in shell_dbinfo_command()
4217 for(i=0; i<ArraySize(aQuery); i++){ in shell_dbinfo_command()
[all …]
/external/sqlite/dist/orig/
Dshell.c1502 #define ArraySize(X) (int)(sizeof(X)/sizeof(X[0])) macro
1900 if( i<ArraySize(p->colWidth) ){ in shell_callback()
1911 if( i<ArraySize(p->actualWidth) ){ in shell_callback()
1922 if( i<ArraySize(p->actualWidth) ){ in shell_callback()
1938 if( i<ArraySize(p->actualWidth) ){ in shell_callback()
2397 for(i=0; i<ArraySize(aTrans); i++){ in displayLinuxIoStats()
2668 for(jj=0; jj<ArraySize(explainCols); jj++){ in explain_data_prepare()
3623 for(i=0; i<ArraySize(aMult); i++){ in integerValue()
4175 for(i=0; i<ArraySize(aField); i++){ in shell_dbinfo_command()
4195 for(i=0; i<ArraySize(aQuery); i++){ in shell_dbinfo_command()
[all …]
/external/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp330 unsigned ArraySize = 16 / Size; in getMemSetPatternValue() local
331 ArrayType *AT = ArrayType::get(V->getType(), ArraySize); in getMemSetPatternValue()
332 return ConstantArray::get(AT, std::vector<Constant *>(ArraySize, C)); in getMemSetPatternValue()
/external/swiftshader/third_party/LLVM/include/llvm/
DInstructions.h61 explicit AllocaInst(Type *Ty, Value *ArraySize = 0,
63 AllocaInst(Type *Ty, Value *ArraySize,
69 AllocaInst(Type *Ty, Value *ArraySize, unsigned Align,
71 AllocaInst(Type *Ty, Value *ArraySize, unsigned Align,
1199 Value *AllocSize, Value *ArraySize = 0,
1204 Value *AllocSize, Value *ArraySize = 0,
/external/llvm/include/llvm/IR/
DInstructions.h60 explicit AllocaInst(Type *Ty, Value *ArraySize = nullptr,
63 AllocaInst(Type *Ty, Value *ArraySize,
69 AllocaInst(Type *Ty, Value *ArraySize, unsigned Align,
71 AllocaInst(Type *Ty, Value *ArraySize, unsigned Align,
1476 Value *AllocSize, Value *ArraySize = nullptr,
1481 Value *AllocSize, Value *ArraySize = nullptr,
1486 Value *AllocSize, Value *ArraySize = nullptr,
1492 Value *AllocSize, Value *ArraySize = nullptr,
/external/swiftshader/third_party/subzero/unittest/AssemblerX8632/
DXmmArith.cpp1978 static constexpr uint8_t ArraySize = \ in TEST_F()
1980 for (uint8_t i = 0; i < ArraySize; ++i) { \ in TEST_F()
2006 static constexpr uint8_t ArraySize = \ in TEST_F()
2008 for (uint8_t i = 0; i < ArraySize; ++i) { \ in TEST_F()
/external/swiftshader/third_party/subzero/unittest/AssemblerX8664/
DXmmArith.cpp2096 static constexpr uint8_t ArraySize = \ in TEST_F()
2098 for (uint8_t i = 0; i < ArraySize; ++i) { \ in TEST_F()
2123 static constexpr uint8_t ArraySize = \ in TEST_F()
2125 for (uint8_t i = 0; i < ArraySize; ++i) { \ in TEST_F()
/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp464 uint64_t ArraySize = 1; in getAllocaSizeInBytes() local
468 ArraySize = CI->getZExtValue(); in getAllocaSizeInBytes()
473 return SizeInBytes * ArraySize; in getAllocaSizeInBytes()

12