/external/llvm/test/Verifier/ |
D | allocsize.ll | 3 ; CHECK: 'allocsize' element size argument is out of bounds 4 declare i8* @a(i32) allocsize(1) 6 ; CHECK: 'allocsize' element size argument must refer to an integer parameter 7 declare i8* @b(i32*) allocsize(0) 9 ; CHECK: 'allocsize' number of elements argument is out of bounds 10 declare i8* @c(i32) allocsize(0, 1) 12 ; CHECK: 'allocsize' number of elements argument must refer to an integer parameter 13 declare i8* @d(i32, i32*) allocsize(0, 1) 15 ; CHECK: 'allocsize' number of elements argument is out of bounds 16 declare i8* @e(i32, i32) allocsize(1, 2)
|
D | alloc-size-failedparse.ll | 3 ; We handle allocsize with identical args in the parser, rather than the 6 ; CHECK: 'allocsize' indices can't refer to the same parameter 7 declare i8* @a(i32, i32) allocsize(0, 0)
|
/external/llvm-project/llvm/test/Verifier/ |
D | allocsize.ll | 3 ; CHECK: 'allocsize' element size argument is out of bounds 4 declare i8* @a(i32) allocsize(1) 6 ; CHECK: 'allocsize' element size argument must refer to an integer parameter 7 declare i8* @b(i32*) allocsize(0) 9 ; CHECK: 'allocsize' number of elements argument is out of bounds 10 declare i8* @c(i32) allocsize(0, 1) 12 ; CHECK: 'allocsize' number of elements argument must refer to an integer parameter 13 declare i8* @d(i32, i32*) allocsize(0, 1) 15 ; CHECK: 'allocsize' number of elements argument is out of bounds 16 declare i8* @e(i32, i32) allocsize(1, 2)
|
D | alloc-size-failedparse.ll | 3 ; We handle allocsize with identical args in the parser, rather than the 6 ; CHECK: 'allocsize' indices can't refer to the same parameter 7 declare i8* @a(i32, i32) allocsize(0, 0)
|
/external/llvm-project/llvm/test/Transforms/InstCombine/ |
D | allocsize.ll | 3 ; Test that instcombine folds allocsize function calls properly. 4 ; Dummy arguments are inserted to verify that allocsize is picking the right 6 ; allocsize if they're not used by allocsize. 8 declare i8* @my_malloc(i8*, i32) allocsize(1) 9 declare i8* @my_calloc(i8*, i8*, i32, i32) allocsize(2, 3) 67 ; Verifying that out of line allocsize is parsed correctly 138 ; We had a bug where `nobuiltin` would cause `allocsize` to be ignored in 150 attributes #0 = { allocsize(1) } 151 attributes #1 = { allocsize(2, 3) }
|
D | allocsize-32.ll | 4 ; when given an allocsize function that takes a 64-bit argument in the face of 9 declare i8* @my_malloc(i8*, i64) allocsize(1)
|
D | builtin-dynamic-object-size.ll | 106 ; Function Attrs: nounwind allocsize(0)
|
/external/llvm/test/Transforms/InstCombine/ |
D | allocsize.ll | 3 ; Test that instcombine folds allocsize function calls properly. 4 ; Dummy arguments are inserted to verify that allocsize is picking the right 6 ; allocsize if they're not used by allocsize. 8 declare i8* @my_malloc(i8*, i32) allocsize(1) 9 declare i8* @my_calloc(i8*, i8*, i32, i32) allocsize(2, 3) 67 ; Verifying that out of line allocsize is parsed correctly 137 attributes #0 = { allocsize(1) } 138 attributes #1 = { allocsize(2, 3) }
|
D | allocsize-32.ll | 4 ; when given an allocsize function that takes a 64-bit argument in the face of 9 declare i8* @my_malloc(i8*, i64) allocsize(1)
|
/external/llvm-project/llvm/test/Transforms/DeadArgElim/ |
D | allocsize.ll | 5 ; CHECK-NOT: allocsize 6 define internal i64 @MagickMallocAligned(i64 %DEADARG1, i64 %s) allocsize(1) { 16 %c = call i64 @MagickMallocAligned(i64 0, i64 %s) allocsize(1)
|
/external/OpenCL-CTS/test_common/harness/ |
D | typeWrappers.h | 319 size_t allocsize; variable 324 : ptr(p), map(0), mapsize(0), allocsize(0), aligned(false) in ptr() 327 : ptr(p), map(m), mapsize(s), allocsize(0), aligned(false) in BufferOwningPtr() 390 allocsize = (ptr != NULL) ? allocsize_ : 0; 403 size_t getSize() const { return allocsize; }; in getSize()
|
/external/llvm/examples/BrainF/ |
D | BrainF.cpp | 97 Constant* allocsize = ConstantExpr::getSizeOf(Int8Ty); in header() local 98 allocsize = ConstantExpr::getTruncOrBitCast(allocsize, IntPtrTy); in header() 99 ptr_arr = CallInst::CreateMalloc(BB, IntPtrTy, Int8Ty, allocsize, val_mem, in header()
|
/external/llvm-project/llvm/examples/BrainF/ |
D | BrainF.cpp | 95 Constant* allocsize = ConstantExpr::getSizeOf(Int8Ty); in header() local 96 allocsize = ConstantExpr::getTruncOrBitCast(allocsize, IntPtrTy); in header() 97 ptr_arr = CallInst::CreateMalloc(BB, IntPtrTy, Int8Ty, allocsize, val_mem, in header()
|
/external/llvm/test/Bitcode/ |
D | attributes.ll | 322 define i8* @f54(i32) allocsize(0) { 327 define i8* @f55(i32, i32) allocsize(0, 1) { 367 ; CHECK: attributes #30 = { allocsize(0) } 368 ; CHECK: attributes #31 = { allocsize(0,1) }
|
/external/llvm-project/llvm/test/Bitcode/ |
D | attributes.ll | 322 define i8* @f54(i32 %0) allocsize(0) { 327 define i8* @f55(i32 %0, i32 %1) allocsize(0, 1) { 437 ; CHECK: attributes #30 = { allocsize(0) } 438 ; CHECK: attributes #31 = { allocsize(0,1) }
|
/external/llvm-project/llvm/test/CodeGen/WebAssembly/ |
D | lower-em-sjlj.ll | 212 ; Test that the allocsize attribute is being transformed properly 214 define i8 *@allocsize() { 215 ; CHECK-LABEL: @allocsize 307 attributes #3 = { allocsize(0) } 318 ; CHECK-DAG: attributes #[[ALLOCSIZE_ATTR]] = { allocsize(1) }
|
/external/libaom/libaom/av1/encoder/ |
D | cnn.c | 42 int allocsize; member 51 if (tensor->allocsize) { in free_tensor() 54 tensor->allocsize = 0; in free_tensor() 61 if (tensor->allocsize < newallocsize) { in realloc_tensor() 65 tensor->allocsize = newallocsize; in realloc_tensor() 98 tensor->allocsize = 0; in assign_tensor() 125 if (dst->allocsize < newallocsize) { in concat_tensor()
|
/external/llvm-project/llvm/test/Transforms/DeadStoreElimination/MSSA/ |
D | multiblock-malloc-free.ll | 370 attributes #0 = { nofree nounwind allocsize(0) } 373 attributes #3 = { allocsize(0,1) } 374 attributes #4 = { allocsize(0) } 375 attributes #5 = { nofree nounwind allocsize(0,1) }
|
/external/zopfli/src/zopflipng/lodepng/ |
D | lodepng.cpp | 132 size_t allocsize; /*allocated size in bytes*/ member 137 ((uivector*)p)->size = ((uivector*)p)->allocsize = 0; in uivector_cleanup() 145 if(size * sizeof(unsigned) > p->allocsize) in uivector_resize() 151 p->allocsize = newsize; in uivector_resize() 173 p->size = p->allocsize = 0; in uivector_init() 203 size_t allocsize; /*allocated size*/ member 209 if(size * sizeof(unsigned char) > p->allocsize) in ucvector_resize() 215 p->allocsize = newsize; in ucvector_resize() 229 ((ucvector*)p)->size = ((ucvector*)p)->allocsize = 0; in ucvector_cleanup() 237 p->size = p->allocsize = 0; in ucvector_init() [all …]
|
/external/mdnsresponder/mDNSShared/ |
D | dnsextd.c | 421 int allocsize; in RecvPacket() local 449 allocsize = sizeof(PktMsg) - sizeof(DNSMessage) + msglen; in RecvPacket() 453 allocsize = sizeof(PktMsg); in RecvPacket() 456 pkt = malloc(allocsize); in RecvPacket() 1377 int i, allocsize, bucket; in UpdateLeaseTable() local 1450 allocsize = sizeof(RRTableElem); in UpdateLeaseTable() 1451 if (rr->rdlength > InlineCacheRDSize) allocsize += (rr->rdlength - InlineCacheRDSize); in UpdateLeaseTable() 1452 tmp = malloc(allocsize); in UpdateLeaseTable()
|
/external/llvm-project/mlir/test/Conversion/StandardToLLVM/ |
D | convert-static-memref-ops.mlir | 127 // CHECK-NEXT: %[[allocsize:.*]] = llvm.add %[[size_bytes]], %[[alignment]] : !llvm.i64 128 // CHECK-NEXT: %[[allocated:.*]] = llvm.call @malloc(%[[allocsize]]) : (!llvm.i64) -> !llvm.ptr<i8> 149 // BAREPTR-NEXT: %[[allocsize:.*]] = llvm.add %[[size_bytes]], %[[alignment]] : !llvm.i64 150 // BAREPTR-NEXT: %[[allocated:.*]] = llvm.call @malloc(%[[allocsize]]) : (!llvm.i64) -> !llvm.ptr<…
|
/external/llvm/include/llvm/IR/ |
D | Attributes.td | 21 def AllocSize : EnumAttr<"allocsize">;
|
/external/libpng/contrib/libtests/ |
D | pngstest.c | 585 size_t allocsize; member 616 image->allocsize = 0; in freebuffer() 687 image->allocsize = size; in allocbuffer() 714 if (check16(image->buffer+16+image->allocsize, 95)) in checkbuffer() 3319 copy.allocsize = 0; in testimage()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Attributes.td | 21 def AllocSize : EnumAttr<"allocsize">;
|
/external/python/cpython2/Modules/ |
D | _tkinter.c | 1170 size_t allocsize; in AsObj() local 1179 allocsize = ((size_t)size) * sizeof(Tcl_UniChar); in AsObj() 1180 if (allocsize >= size) in AsObj() 1181 outbuf = (Tcl_UniChar*)attemptckalloc(allocsize); in AsObj()
|