ptr 98 python_bindings/numpy/dtype.cpp if (PyArray_DescrAlignConverter(arg.ptr(), &obj) < 0) ptr 101 python_bindings/numpy/dtype.cpp if (PyArray_DescrConverter(arg.ptr(), &obj) < 0) ptr 107 python_bindings/numpy/dtype.cpp int dtype::get_itemsize() const { return reinterpret_cast<PyArray_Descr *>(ptr())->elsize; } ptr 126 python_bindings/numpy/dtype.cpp reinterpret_cast<PyArray_Descr *>(a.ptr()), ptr 127 python_bindings/numpy/dtype.cpp reinterpret_cast<PyArray_Descr *>(b.ptr())); ptr 131 python_bindings/numpy/dtype.cpp reinterpret_cast<PyArray_Descr *>(a.ptr()), ptr 132 python_bindings/numpy/dtype.cpp reinterpret_cast<PyArray_Descr *>(b.ptr())); ptr 150 python_bindings/numpy/dtype.cpp return reinterpret_cast<PyArray_Descr *>(dtype::get_builtin<T>().ptr())->typeobj; ptr 73 python_bindings/numpy/ndarray.cpp Py_INCREF(dt.ptr()); ptr 74 python_bindings/numpy/ndarray.cpp return reinterpret_cast<PyArray_Descr *>(dt.ptr()); ptr 127 python_bindings/numpy/ndarray.cpp return ndarray(python::detail::new_reference(PyObject_CallMethod(this->ptr(), const_cast<char *>("view"), const_cast<char *>("O"), dt.ptr()))); ptr 131 python_bindings/numpy/ndarray.cpp return ndarray(python::detail::new_reference(PyObject_CallMethod(this->ptr(), const_cast<char *>("astype"), const_cast<char *>("O"), dt.ptr()))); ptr 135 python_bindings/numpy/ndarray.cpp return ndarray(python::detail::new_reference(PyObject_CallMethod(this->ptr(), const_cast<char *>("copy"), const_cast<char *>("")))); ptr 150 python_bindings/numpy/ndarray.cpp Py_INCREF(base.ptr()); ptr 151 python_bindings/numpy/ndarray.cpp get_struct()->base = base.ptr(); ptr 162 python_bindings/numpy/ndarray.cpp return ndarray(python::detail::new_reference(PyArray_Transpose(reinterpret_cast<PyArrayObject *>(this->ptr()), NULL))); ptr 166 python_bindings/numpy/ndarray.cpp return ndarray(python::detail::new_reference(PyArray_Squeeze(reinterpret_cast<PyArrayObject *>(this->ptr())))); ptr 170 python_bindings/numpy/ndarray.cpp return ndarray(python::detail::new_reference(PyArray_Reshape(reinterpret_cast<PyArrayObject *>(this->ptr()), shape.ptr()))); ptr 174 python_bindings/numpy/ndarray.cpp Py_INCREF(ptr()); ptr 175 python_bindings/numpy/ndarray.cpp return python::object(python::detail::new_reference(PyArray_Return(reinterpret_cast<PyArrayObject *>(ptr())))); ptr 203 python_bindings/numpy/ndarray.cpp return ndarray(python::detail::new_reference(PyArray_FromAny(obj.ptr(), NULL, 0, 0, NPY_ENSUREARRAY, NULL))); ptr 207 python_bindings/numpy/ndarray.cpp return ndarray(python::detail::new_reference(PyArray_FromAny(obj.ptr(), detail::incref_dtype(dt), 0, 0, NPY_ENSUREARRAY, NULL))); ptr 212 python_bindings/numpy/ndarray.cpp return ndarray(python::detail::new_reference(PyArray_FromAny(obj.ptr(), ptr 221 python_bindings/numpy/ndarray.cpp return ndarray(python::detail::new_reference(PyArray_FromAny(obj.ptr(), ptr 50 python_bindings/numpy/ndarray.hpp array_struct *get_struct() const { return reinterpret_cast<array_struct *>(this->ptr()); } ptr 747 src/CodeGen_ARM.cpp Value *ptr = codegen_buffer_pointer(op->name, shuffle->vectors[0].type().element_of(), slice_base); ptr 757 src/CodeGen_ARM.cpp ptr = builder->CreatePointerCast(ptr, i8_t->getPointerTo()); ptr 759 src/CodeGen_ARM.cpp slice_args.insert(slice_args.begin(), ptr); ptr 764 src/CodeGen_ARM.cpp slice_args.push_back(ptr); ptr 904 src/CodeGen_ARM.cpp Value *ptr = codegen_buffer_pointer(op->name, op->type.element_of(), slice_base); ptr 905 src/CodeGen_ARM.cpp Value *bitcastI = builder->CreateBitOrPointerCast(ptr, load_return_pointer_type); ptr 378 src/CodeGen_GPU_Host.cpp Value *ptr = create_alloca_at_entry(val->getType(), 1, false, name+".stack"); ptr 380 src/CodeGen_GPU_Host.cpp builder->CreateStore(val, ptr); ptr 383 src/CodeGen_GPU_Host.cpp Value *bits = builder->CreateBitCast(ptr, arg_t); ptr 51 src/CodeGen_Internal.cpp Value *ptr = builder->CreateConstInBoundsGEP2_32(type, dst, 0, idx++); ptr 54 src/CodeGen_Internal.cpp builder->CreateStore(val, ptr); ptr 63 src/CodeGen_Internal.cpp Value *ptr = builder->CreateConstInBoundsGEP2_32(type, dst, 0, idx++); ptr 66 src/CodeGen_Internal.cpp builder->CreateStore(val, ptr); ptr 70 src/CodeGen_Internal.cpp Value *ptr = builder->CreateConstInBoundsGEP2_32(type, dst, 0, idx++); ptr 78 src/CodeGen_Internal.cpp builder->CreateStore(val, ptr); ptr 91 src/CodeGen_Internal.cpp Value *ptr = builder->CreateConstInBoundsGEP2_32(type, src, 0, idx++); ptr 92 src/CodeGen_Internal.cpp LoadInst *load = builder->CreateLoad(ptr); ptr 98 src/CodeGen_Internal.cpp Value *ptr = builder->CreateConstInBoundsGEP2_32(type, src, 0, idx++); ptr 99 src/CodeGen_Internal.cpp LoadInst *load = builder->CreateLoad(ptr); ptr 104 src/CodeGen_Internal.cpp Value *ptr = builder->CreateConstInBoundsGEP2_32(type, src, 0, idx++); ptr 105 src/CodeGen_Internal.cpp LoadInst *load = builder->CreateLoad(ptr); ptr 881 src/CodeGen_LLVM.cpp llvm::Value *ptr = builder->CreateConstGEP1_32(arg_array, wrapper_args.size()); ptr 882 src/CodeGen_LLVM.cpp ptr = builder->CreateLoad(ptr); ptr 885 src/CodeGen_LLVM.cpp wrapper_args.push_back(builder->CreatePointerCast(ptr, buffer_t_type->getPointerTo())); ptr 888 src/CodeGen_LLVM.cpp ptr = builder->CreatePointerCast(ptr, i->getType()->getPointerTo()); ptr 889 src/CodeGen_LLVM.cpp wrapper_args.push_back(builder->CreateLoad(ptr)); ptr 1632 src/CodeGen_LLVM.cpp Value *ptr = codegen_buffer_pointer(op->name, op->type, op->index); ptr 1633 src/CodeGen_LLVM.cpp LoadInst *load = builder->CreateAlignedLoad(ptr, op->type.bytes()); ptr 1708 src/CodeGen_LLVM.cpp Value *ptr = codegen_buffer_pointer(op->name, op->type.element_of(), ramp->base); ptr 1713 src/CodeGen_LLVM.cpp LoadInst *val = builder->CreateLoad(ptr); ptr 1716 src/CodeGen_LLVM.cpp ptr = builder->CreateInBoundsGEP(ptr, stride); ptr 1727 src/CodeGen_LLVM.cpp Value *ptr = codegen_buffer_pointer(op->name, op->type.element_of(), idx); ptr 1728 src/CodeGen_LLVM.cpp LoadInst *val = builder->CreateLoad(ptr); ptr 1739 src/CodeGen_LLVM.cpp Value *ptr = codegen_buffer_pointer(op->name, op->type.element_of(), idx); ptr 1740 src/CodeGen_LLVM.cpp LoadInst *val = builder->CreateLoad(ptr); ptr 1959 src/CodeGen_LLVM.cpp Value *ptr = codegen_buffer_pointer(op->name, value_type, idx); ptr 1960 src/CodeGen_LLVM.cpp builder->CreateAlignedStore(v, ptr, value_type.bytes()); ptr 2869 src/CodeGen_LLVM.cpp Constant *ptr = ConstantExpr::getInBoundsGetElementPtr(type, global, zeros); ptr 2870 src/CodeGen_LLVM.cpp return ptr; ptr 2988 src/CodeGen_LLVM.cpp Value *ptr = create_alloca_at_entry(closure_t, 1); ptr 2991 src/CodeGen_LLVM.cpp pack_closure(closure_t, ptr, closure, symbol_table, buffer_t_type, builder); ptr 3052 src/CodeGen_LLVM.cpp ptr = builder->CreatePointerCast(ptr, i8_t->getPointerTo()); ptr 3053 src/CodeGen_LLVM.cpp Value *args[] = {user_context, function, min, extent, ptr}; ptr 3095 src/CodeGen_LLVM.cpp Value *ptr = codegen_buffer_pointer(op->name, value_type, op->index); ptr 3096 src/CodeGen_LLVM.cpp StoreInst *store = builder->CreateAlignedStore(val, ptr, value_type.bytes()); ptr 3145 src/CodeGen_LLVM.cpp Value *ptr = codegen_buffer_pointer(op->name, ptr_type, ramp->base); ptr 3157 src/CodeGen_LLVM.cpp ptr, ptr 3163 src/CodeGen_LLVM.cpp StoreInst *store = builder->CreateStore(v, ptr); ptr 3165 src/CodeGen_LLVM.cpp ptr = builder->CreateInBoundsGEP(ptr, stride); ptr 3175 src/CodeGen_LLVM.cpp Value *ptr = codegen_buffer_pointer(op->name, value_type.element_of(), idx); ptr 3176 src/CodeGen_LLVM.cpp StoreInst *store = builder->CreateStore(v, ptr); ptr 3260 src/CodeGen_LLVM.cpp AllocaInst *ptr = builder->CreateAlloca(t, size, name); ptr 3263 src/CodeGen_LLVM.cpp ptr->setAlignment(align); ptr 3268 src/CodeGen_LLVM.cpp builder->CreateStore(Constant::getNullValue(t), ptr); ptr 3270 src/CodeGen_LLVM.cpp builder->CreateMemSet(ptr, Constant::getNullValue(t), n, align); ptr 3274 src/CodeGen_LLVM.cpp return ptr; ptr 210 src/CodeGen_PTX_Dev.cpp Value *ptr = builder->CreateAlloca(llvm_type_of(alloc->type), ConstantInt::get(i32_t, size)); ptr 212 src/CodeGen_PTX_Dev.cpp sym_push(allocation_name, ptr); ptr 122 src/CodeGen_Posix.cpp allocation.ptr = nullptr; ptr 130 src/CodeGen_Posix.cpp allocation.ptr = create_alloca_at_entry(llvm_type_of(type), 1, false, name); ptr 139 src/CodeGen_Posix.cpp AllocaInst *alloca_inst = dyn_cast<AllocaInst>(free->ptr); ptr 154 src/CodeGen_Posix.cpp allocation.ptr = free->ptr; ptr 169 src/CodeGen_Posix.cpp allocation.ptr = create_alloca_at_entry(t, stack_size, false, name); ptr 176 src/CodeGen_Posix.cpp allocation.ptr = codegen(new_expr); ptr 200 src/CodeGen_Posix.cpp allocation.ptr = call; ptr 204 src/CodeGen_Posix.cpp Value *check = builder->CreateIsNotNull(allocation.ptr); ptr 224 src/CodeGen_Posix.cpp allocation.destructor = register_destructor(free_fn, allocation.ptr, OnError); ptr 270 src/CodeGen_Posix.cpp sym_push(alloc->name, allocation.ptr); ptr 42 src/CodeGen_Posix.h llvm::Value *ptr; ptr 83 src/Definition.cpp Definition::Definition(const IntrusivePtr<DefinitionContents> &ptr) : contents(ptr) { ptr 84 src/Definition.cpp internal_assert(ptr.defined()) ptr 149 src/Expr.h ptr->accept(v); ptr 161 src/Expr.h if (ptr && ptr->type_info() == T::_type_info) { ptr 162 src/Expr.h return (const T *)ptr; ptr 292 src/Expr.h return ((const Internal::BaseExprNode *)ptr)->type; ptr 353 src/Expr.h return a.ptr < b.ptr; ptr 247 src/Function.cpp Function::Function(const IntrusivePtr<FunctionContents> &ptr) : contents(ptr) { ptr 248 src/Function.cpp internal_assert(ptr.defined()) ptr 389 src/Introspection.cpp const GlobalVariable &ptr = global_variables[idx]; ptr 390 src/Introspection.cpp debug(5) << "helper object is " << ptr.name << " at " << std::hex << ptr.addr << std::dec; ptr 391 src/Introspection.cpp if (ptr.type) { ptr 392 src/Introspection.cpp debug(5) << " with type " << ptr.type->name << "\n"; ptr 398 src/Introspection.cpp internal_assert(ptr.type->type == TypeInfo::Pointer) ptr 400 src/Introspection.cpp internal_assert(ptr.type->members.size() == 1); ptr 401 src/Introspection.cpp TypeInfo *object_type = ptr.type->members[0].type; ptr 483 src/Introspection.cpp std::string get_heap_member_name(const void *ptr, const std::string &type_name = "") { ptr 484 src/Introspection.cpp debug(5) << "Getting heap member name of " << ptr << "\n"; ptr 491 src/Introspection.cpp uint64_t addr = (uint64_t)ptr; ptr 1522 src/Introspection.cpp const void * const * ptr = (const void * const *)(debug_ranges.data() + val); ptr 1524 src/Introspection.cpp while (ptr[0] && ptr < end-1) { ptr 1525 src/Introspection.cpp LiveRange r = {(uint64_t)ptr[0], (uint64_t)ptr[1]}; ptr 1529 src/Introspection.cpp ptr += 2; ptr 2137 src/Introspection.cpp int64_t get_sleb128(const uint8_t *ptr) { ptr 2144 src/Introspection.cpp byte = *ptr++; ptr 2161 src/Introspection.cpp int64_t get_uleb128(const uint8_t *ptr) { ptr 2168 src/Introspection.cpp byte = *ptr++; ptr 2219 src/Introspection.cpp const uint8_t *ptr = (const uint8_t *)(fn); ptr 2220 src/Introspection.cpp return ptr[0] == 0x55; // push %rbp ptr 81 src/IntrusivePtr.h T *ptr; ptr 90 src/IntrusivePtr.h return ptr; ptr 94 src/IntrusivePtr.h return *ptr; ptr 98 src/IntrusivePtr.h return ptr; ptr 103 src/IntrusivePtr.h decref(ptr); ptr 106 src/IntrusivePtr.h IntrusivePtr() : ptr(nullptr) { ptr 109 src/IntrusivePtr.h IntrusivePtr(T *p) : ptr(p) { ptr 110 src/IntrusivePtr.h incref(ptr); ptr 113 src/IntrusivePtr.h IntrusivePtr(const IntrusivePtr<T> &other) : ptr(other.ptr) { ptr 114 src/IntrusivePtr.h incref(ptr); ptr 117 src/IntrusivePtr.h IntrusivePtr(IntrusivePtr<T> &&other) : ptr(other.ptr) { ptr 118 src/IntrusivePtr.h other.ptr = nullptr; ptr 122 src/IntrusivePtr.h if (other.ptr == ptr) return *this; ptr 126 src/IntrusivePtr.h T *temp = other.ptr; ptr 128 src/IntrusivePtr.h decref(ptr); ptr 129 src/IntrusivePtr.h ptr = temp; ptr 134 src/IntrusivePtr.h std::swap(ptr, other.ptr); ptr 140 src/IntrusivePtr.h return ptr != nullptr; ptr 146 src/IntrusivePtr.h return ptr == other.ptr; ptr 150 src/IntrusivePtr.h return ptr < other.ptr; ptr 45 src/JITModule.cpp CUctx_st *ptr; ptr 49 src/JITModule.cpp SharedCudaContext() : ptr(0), lock(0) { ptr 522 src/JITModule.cpp void free_handler(void *context, void *ptr) { ptr 525 src/JITModule.cpp (*jit_user_context->handlers.custom_free)(context, ptr); ptr 527 src/JITModule.cpp (*active_handlers.custom_free)(context, ptr); ptr 724 src/Pipeline.cpp const void *ptr = arg_values.back(); ptr 725 src/Pipeline.cpp debug(1) << arg.arg.name << " @ " << ptr << "\n"; ptr 731 src/Pipeline.cpp const void *ptr = arg_values.back(); ptr 732 src/Pipeline.cpp debug(1) << "JIT output buffer @ " << ptr << ", " << dst[i].data() << "\n"; ptr 1518 src/runtime/HalideBuffer.h static void advance_ptrs(const int *stride, Ptr *ptr, Ptrs... ptrs) { ptr 1519 src/runtime/HalideBuffer.h (*ptr) += *stride; ptr 1527 src/runtime/HalideBuffer.h static void increment_ptrs(Ptr *ptr, Ptrs... ptrs) { ptr 1528 src/runtime/HalideBuffer.h (*ptr)++; ptr 186 src/runtime/HalideRuntime.h extern void halide_free(void *user_context, void *ptr); ptr 641 src/runtime/HalideRuntime.h extern void halide_msan_annotate_memory_is_initialized(void *user_context, const void *ptr, uint64_t len); ptr 30 src/runtime/HalideRuntimeHexagonHost.h void *ptr, uint64_t size); ptr 51 src/runtime/cuda_functions.h CUDA_FN(CUresult, cuPointerGetAttribute, (void *result, int query, CUdeviceptr ptr)); ptr 73 src/runtime/hexagon_remote/halide_remote.cpp void halide_free(void *user_context, void *ptr) { ptr 75 src/runtime/hexagon_remote/halide_remote.cpp if (mem_buf[i] == ptr) { ptr 80 src/runtime/hexagon_remote/halide_remote.cpp free(ptr); ptr 197 src/runtime/hexagon_remote/host_malloc.cpp void halide_hexagon_host_free(void *ptr) { ptr 198 src/runtime/hexagon_remote/host_malloc.cpp if (!ptr) { ptr 208 src/runtime/hexagon_remote/host_malloc.cpp if (rec && rec->buf == ptr) { ptr 466 src/runtime/hexagon_remote/sim_host.cpp void *ptr = (void *)(((size_t)orig + alignment + sizeof(void*) - 1) & ~(alignment - 1)); ptr 467 src/runtime/hexagon_remote/sim_host.cpp ((void **)ptr)[-1] = orig; ptr 468 src/runtime/hexagon_remote/sim_host.cpp return ptr; ptr 472 src/runtime/hexagon_remote/sim_host.cpp void halide_hexagon_host_free(void *ptr) { ptr 473 src/runtime/hexagon_remote/sim_host.cpp free(((void**)ptr)[-1]); ptr 122 src/runtime/hexagon_remote/sim_remote.cpp void halide_free(void *user_context, void *ptr) { ptr 123 src/runtime/hexagon_remote/sim_remote.cpp free(ptr); ptr 10 src/runtime/msan.cpp WEAK void halide_msan_annotate_memory_is_initialized(void *user_context, const void *ptr, uint64_t len) { ptr 11 src/runtime/msan.cpp AnnotateMemoryIsInitialized("Halide", 0, ptr, (size_t) len); ptr 5 src/runtime/msan_stubs.cpp WEAK void halide_msan_annotate_memory_is_initialized(void *user_context, const void *ptr, uint64_t len) {} ptr 37 src/runtime/noos.cpp WEAK void halide_free(void *user_context, void *ptr) { ptr 38 src/runtime/noos.cpp custom_free(user_context, ptr); ptr 128 src/runtime/opengl.cpp halide_free(user_context, ptr); ptr 131 src/runtime/opengl.cpp void * const ptr; ptr 396 src/runtime/opengl.cpp if (log_tmp.ptr) { ptr 397 src/runtime/opengl.cpp char *log = (char*) log_tmp.ptr; ptr 581 src/runtime/opengl.cpp WEAK int load_gl_func(void *user_context, const char *name, void **ptr, bool required) { ptr 587 src/runtime/opengl.cpp *ptr = p; ptr 936 src/runtime/opengl.cpp TextureInfo **ptr = &global_state.textures; ptr 937 src/runtime/opengl.cpp TextureInfo *texinfo = *ptr; ptr 938 src/runtime/opengl.cpp for (; texinfo != NULL; ptr = &texinfo->next, texinfo = *ptr) { ptr 940 src/runtime/opengl.cpp *ptr = texinfo->next; ptr 1219 src/runtime/opengl.cpp if (!tmp.ptr) { ptr 1226 src/runtime/opengl.cpp halide_to_interleaved<uint8_t>(buf, (uint8_t*)tmp.ptr); ptr 1229 src/runtime/opengl.cpp halide_to_interleaved<uint16_t>(buf, (uint16_t*)tmp.ptr); ptr 1232 src/runtime/opengl.cpp halide_to_interleaved<float>(buf, (float*)tmp.ptr); ptr 1237 src/runtime/opengl.cpp global_state.TexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width, height, format, type, tmp.ptr); ptr 1347 src/runtime/opengl.cpp if (!tmp.ptr) { ptr 1356 src/runtime/opengl.cpp global_state.ReadPixels(0, 0, buf->dim[0].extent, buf->dim[1].extent, format, type, tmp.ptr); ptr 1373 src/runtime/opengl.cpp interleaved_to_halide<uint8_t>(user_context, (uint8_t*)tmp.ptr, texture_channels, buf); ptr 1376 src/runtime/opengl.cpp interleaved_to_halide<uint16_t>(user_context, (uint16_t*)tmp.ptr, texture_channels, buf); ptr 1379 src/runtime/opengl.cpp interleaved_to_halide<float>(user_context, (float*)tmp.ptr, texture_channels, buf); ptr 1708 src/runtime/opengl.cpp if (!draw_buffers_tmp.ptr) { ptr 1712 src/runtime/opengl.cpp GLenum *draw_buffers = (GLenum*)draw_buffers_tmp.ptr; ptr 2031 src/runtime/opengl.cpp if (log_tmp.ptr) { ptr 2032 src/runtime/opengl.cpp char *log = (char*) log_tmp.ptr; ptr 71 src/runtime/openglcompute.cpp halide_free(user_context, ptr); ptr 74 src/runtime/openglcompute.cpp void * const ptr; ptr 151 src/runtime/openglcompute.cpp WEAK int load_gl_func(void *user_context, const char *name, void **ptr, bool required) { ptr 157 src/runtime/openglcompute.cpp *ptr = p; ptr 610 src/runtime/openglcompute.cpp if (log_tmp.ptr) { ptr 611 src/runtime/openglcompute.cpp char *log = (char*) log_tmp.ptr; ptr 635 src/runtime/openglcompute.cpp if (log_tmp.ptr) { ptr 636 src/runtime/openglcompute.cpp char *log = (char*) log_tmp.ptr; ptr 21 src/runtime/posix_allocator.cpp void *ptr = (void *)(((size_t)orig + alignment + sizeof(void*) - 1) & ~(alignment - 1)); ptr 22 src/runtime/posix_allocator.cpp ((void **)ptr)[-1] = orig; ptr 23 src/runtime/posix_allocator.cpp return ptr; ptr 26 src/runtime/posix_allocator.cpp WEAK void default_free(void *user_context, void *ptr) { ptr 27 src/runtime/posix_allocator.cpp free(((void**)ptr)[-1]); ptr 53 src/runtime/posix_allocator.cpp WEAK void halide_free(void *user_context, void *ptr) { ptr 54 src/runtime/posix_allocator.cpp custom_free(user_context, ptr); ptr 8 src/runtime/prefetch.cpp WEAK int _halide_prefetch(const void *ptr) { ptr 9 src/runtime/prefetch.cpp __builtin_prefetch(ptr, 1, 3); ptr 143 src/runtime/profiler.cpp void sync_compare_max_and_swap(T *ptr, T val) { ptr 144 src/runtime/profiler.cpp T old_val = *ptr; ptr 147 src/runtime/profiler.cpp old_val = __sync_val_compare_and_swap(ptr, old_val, val); ptr 8 src/runtime/profiler_inlined.cpp volatile int *ptr = &(state->current_func); ptr 10 src/runtime/profiler_inlined.cpp *ptr = tok + t; ptr 16 src/runtime/profiler_inlined.cpp volatile int *ptr = &(state->active_threads); ptr 18 src/runtime/profiler_inlined.cpp int ret = __sync_fetch_and_add(ptr, 1); ptr 24 src/runtime/profiler_inlined.cpp volatile int *ptr = &(state->active_threads); ptr 26 src/runtime/profiler_inlined.cpp int ret = __sync_fetch_and_sub(ptr, 1); ptr 26 src/runtime/qurt_allocator.cpp void *ptr = (void *)(((size_t)orig + alignment + sizeof(void*) - 1) & ~(alignment - 1)); ptr 27 src/runtime/qurt_allocator.cpp ((void **)ptr)[-1] = orig; ptr 28 src/runtime/qurt_allocator.cpp return ptr; ptr 31 src/runtime/qurt_allocator.cpp WEAK void default_free(void *user_context, void *ptr) { ptr 32 src/runtime/qurt_allocator.cpp free(((void**)ptr)[-1]); ptr 58 src/runtime/qurt_allocator.cpp WEAK void halide_free(void *user_context, void *ptr) { ptr 59 src/runtime/qurt_allocator.cpp custom_free(user_context, ptr); ptr 58 src/runtime/qurt_hvx.cpp WEAK int _halide_prefetch_2d(const void *ptr, int width_bytes, int height, int stride_bytes) { ptr 72 src/runtime/qurt_hvx.cpp __asm__ __volatile__ ("l2fetch(%0,%1)" : : "r"(ptr), "r"(desc)); ptr 77 src/runtime/qurt_hvx.cpp WEAK int _halide_prefetch(const void *ptr, int size) { ptr 78 src/runtime/qurt_hvx.cpp _halide_prefetch_2d(ptr, size, 1, 1); ptr 55 src/runtime/runtime_internal.h void halide_free(void *user_context, void *ptr); ptr 14 test/correctness/custom_allocator.cpp void *ptr = (void *)((((size_t)orig + 32) >> 5) << 5); ptr 15 test/correctness/custom_allocator.cpp ((void **)ptr)[-1] = orig; ptr 16 test/correctness/custom_allocator.cpp return ptr; ptr 19 test/correctness/custom_allocator.cpp void my_free(void *user_context, void *ptr) { ptr 21 test/correctness/custom_allocator.cpp free(((void**)ptr)[-1]); ptr 11 test/correctness/force_onto_stack.cpp void my_free(void *user_context, void *ptr) { ptr 15 test/correctness/heap_cleanup.cpp void *ptr = (void *)((((size_t)orig + 32) >> 5) << 5); ptr 16 test/correctness/heap_cleanup.cpp ((void **)ptr)[-1] = orig; ptr 17 test/correctness/heap_cleanup.cpp return ptr; ptr 20 test/correctness/heap_cleanup.cpp void my_free(void *user_context, void *ptr) { ptr 22 test/correctness/heap_cleanup.cpp free(((void**)ptr)[-1]); ptr 95 test/correctness/introspection.cpp HeapObject *ptr; ptr 136 test/correctness/introspection.cpp check(&(obj->ptr), "HeapObject *", "ptr", __FILE__, __LINE__); ptr 63 test/correctness/memoize.cpp void simple_free(void *user_context, void *ptr) { ptr 64 test/correctness/memoize.cpp free(ptr); ptr 28 test/correctness/out_of_memory.cpp extern "C" void test_free(void *user_context, void *ptr) { ptr 29 test/correctness/out_of_memory.cpp total_allocated -= allocation_sizes[ptr]; ptr 30 test/correctness/out_of_memory.cpp allocation_sizes.erase(ptr); ptr 31 test/correctness/out_of_memory.cpp free(ptr); ptr 16 test/correctness/reorder_storage.cpp void my_free(void *user_context, void *ptr) { ptr 17 test/correctness/reorder_storage.cpp free(ptr); ptr 46 test/correctness/specialize.cpp void my_free(void *ctx, void *ptr) { ptr 48 test/correctness/specialize.cpp free(ptr); ptr 13 test/correctness/stack_allocations.cpp void my_free(void *ctx, void *ptr) { ptr 13 test/correctness/storage_folding.cpp void *ptr = (void *)((((size_t)orig + 32) >> 5) << 5); ptr 14 test/correctness/storage_folding.cpp ((void **)ptr)[-1] = orig; ptr 15 test/correctness/storage_folding.cpp return ptr; ptr 18 test/correctness/storage_folding.cpp void my_free(void *user_context, void *ptr) { ptr 19 test/correctness/storage_folding.cpp free(((void**)ptr)[-1]); ptr 29 test/generator/cleanup_on_error_aottest.cpp void *ptr = (void *)((((size_t)orig + 32) >> 5) << 5); ptr 30 test/generator/cleanup_on_error_aottest.cpp ((void **)ptr)[-1] = orig; ptr 31 test/generator/cleanup_on_error_aottest.cpp return ptr; ptr 34 test/generator/cleanup_on_error_aottest.cpp void my_halide_free(void *user_context, void *ptr) { ptr 36 test/generator/cleanup_on_error_aottest.cpp free(((void**)ptr)[-1]); ptr 48 test/generator/cxx_mangling_generator.cpp Param<int32_t *> ptr{"ptr", 0}; ptr 70 test/generator/cxx_mangling_generator.cpp extract_value_global(ptr) + extract_value_ns(const_ptr); ptr 81 test/generator/msan_aottest.cpp extern "C" void halide_msan_annotate_memory_is_initialized(void *user_context, const void *ptr, uint64_t len) { ptr 82 test/generator/msan_aottest.cpp printf("%d:%p:%08x\n", (int)annotate_stage, ptr, (unsigned int) len); ptr 131 test/generator/msan_aottest.cpp if (ptr != output_base) { ptr 132 test/generator/msan_aottest.cpp fprintf(stderr, "Failure: Expected base p %p but saw %p\n", output_base, ptr); ptr 135 test/generator/msan_aottest.cpp if (ptr <= output_previous) { ptr 136 test/generator/msan_aottest.cpp fprintf(stderr, "Failure: Expected monotonic increase but saw %p -> %p\n", output_previous, ptr); ptr 139 test/generator/msan_aottest.cpp output_previous = ptr; ptr 35 test/generator/user_context_aottest.cpp void my_halide_free(void *context, void *ptr) { ptr 38 test/generator/user_context_aottest.cpp free(ptr); ptr 187 tools/halide_image_info.h const T *ptr = img.data(); ptr 226 tools/halide_image_info.h std::cout << std::setw(4) << *ptr++ + 0 << " "; ptr 250 tools/halide_image_info.h const T *ptr = img.data(); ptr 260 tools/halide_image_info.h T minval = *ptr; ptr 261 tools/halide_image_info.h T maxval = *ptr; ptr 281 tools/halide_image_info.h T val = *ptr++; ptr 208 tools/halide_image_io.h typename ImageType::ElemType *ptr = (typename ImageType::ElemType*)im->data(); ptr 214 tools/halide_image_io.h Internal::convert(*srcPtr++, ptr[c*c_stride]); ptr 216 tools/halide_image_io.h ptr++; ptr 226 tools/halide_image_io.h Internal::convert(lo, ptr[c*c_stride]); ptr 228 tools/halide_image_io.h ptr++; ptr 61 tools/halide_malloc_trace.h void *ptr = (void *)((((size_t)orig + 128) >> 7) << 7); ptr 62 tools/halide_malloc_trace.h ((void **)ptr)[-1] = orig; ptr 64 tools/halide_malloc_trace.h void *headend = (orig == ptr) ? orig : (char *)ptr - 1; ptr 66 tools/halide_malloc_trace.h << (intptr_t)ptr << ", 0x" ptr 67 tools/halide_malloc_trace.h << (intptr_t)ptr + x-1 << std::dec ptr 70 tools/halide_malloc_trace.h print_meminfoalign((intptr_t)ptr); ptr 77 tools/halide_malloc_trace.h << (intptr_t)ptr - (intptr_t)orig << ", "; ptr 80 tools/halide_malloc_trace.h return ptr; ptr 83 tools/halide_malloc_trace.h void halide_free_trace(void *user_context, void *ptr) { ptr 85 tools/halide_malloc_trace.h << (intptr_t)((void**)ptr)[-1] << ", 0x" ptr 86 tools/halide_malloc_trace.h << (intptr_t)ptr - 1 << std::dec ptr 88 tools/halide_malloc_trace.h << (intptr_t)ptr - (intptr_t)((void**)ptr)[-1] << ", "; ptr 89 tools/halide_malloc_trace.h print_meminfoalign((intptr_t)((void**)ptr)[-1]); ptr 91 tools/halide_malloc_trace.h free(((void**)ptr)[-1]);