Searched refs:nelems (Results 1 – 6 of 6) sorted by relevance
102 const size_t nelems = alloc_size(len); in fallback_malloc() local112 if (p->len > nelems) { // chunk is larger, shorten, and return the tail in fallback_malloc()115 p->len = static_cast<heap_size>(p->len - nelems); in fallback_malloc()118 q->len = static_cast<heap_size>(nelems); in fallback_malloc()122 if (p->len == nelems) { // exact size match in fallback_malloc()
23 define void @f(i32 %nelems) {25 %mem = alloca i32, i32 %nelems
20 unsigned nelems) { in simple_memcpy_loop() argument21 for (unsigned i = 0; i != nelems; ++i) in simple_memcpy_loop()
246 func.func @test_string_with_shape(%len: index, %nelems: index) {247 %1 = fir.allocmem !fir.array<?x!fir.char<1,?>>(%len : index), %nelems1808 // Calculate nelems in dim11811 // Calculate nelems in dim2