search for: my_memcpy

Displaying 7 results from an estimated 7 matches for "my_memcpy".

2009 Jul 18
2
[LLVMdev] Where does llvm.memcpy.i64 and friends get lowered ?
I am iterating through Modules symbols for 'test/CodeGen/X86/memcpy.bc I get :- ---------- Functions ---------- llvm.memcpy.i64 Mangled name = llvm.memcpy.i64 DefaultVisibility ExternalLinkage - Externally visible. my_memcpy Mangled name = my_memcpy DefaultVisibility ExternalLinkage - Externally visible. my_memcpy2 Mangled name = my_memcpy2 DefaultVisibility ExternalLinkage - Externally visible. abort Mangled name = abort DefaultVisibility External...
2009 Jul 18
0
[LLVMdev] Where does llvm.memcpy.i64 and friends get lowered ?
...emcpy.bc If you're iterating over functions, just ignore all intrinsics. -Chris > > I get :- > > ---------- Functions ---------- > llvm.memcpy.i64 > Mangled name = llvm.memcpy.i64 > DefaultVisibility > ExternalLinkage - Externally visible. > my_memcpy > Mangled name = my_memcpy > DefaultVisibility > ExternalLinkage - Externally visible. > my_memcpy2 > Mangled name = my_memcpy2 > DefaultVisibility > ExternalLinkage - Externally visible. > abort > Mangled name = abo...
2009 Jul 18
3
[LLVMdev] Where does llvm.memcpy.i64 and friends get lowered ?
...s() to filter it. Whats going on with 'abort' ? Aaron > > -Chris > > > I get :- > > ---------- Functions ---------- > llvm.memcpy.i64 > Mangled name = llvm.memcpy.i64 > DefaultVisibility > ExternalLinkage - Externally visible. > my_memcpy > Mangled name = my_memcpy > DefaultVisibility > ExternalLinkage - Externally visible. > my_memcpy2 > Mangled name = my_memcpy2 > DefaultVisibility > ExternalLinkage - Externally visible. > abort > Mangled name = abo...
2009 Jul 18
3
[LLVMdev] Where does llvm.memcpy.i64 and friends get lowered ?
Hi, I am working on the COFF backend and am wondering where llvm.memcpy gets lowered to memcpy ? It seems to be done by the assembler backends and would have thought it would either be done by a lowering pass or done by the mangler but it does not seem to be either. Many thanks in advance, Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL:
2009 Jul 18
0
[LLVMdev] Where does llvm.memcpy.i64 and friends get lowered ?
On Sat, Jul 18, 2009 at 2:21 PM, Aaron Gray<aaronngray.lists at googlemail.com> wrote: > I am working on the COFF backend and am wondering where llvm.memcpy gets > lowered to memcpy ? It's done by ISel. See SelectionDAG::getMemcpy. -Eli
2016 Sep 26
2
Is it time to allow StringRef to be constructed from nullptr?
The pointer could only be null if the length is zero. If the length is zero, you shouldn't be loading it. Defaulting to null instead of "" is also a microoptimization. -Chris > On Sep 25, 2016, at 10:49 AM, Mehdi Amini via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > >> On Sep 25, 2016, at 9:10 AM, Zachary Turner via llvm-dev <llvm-dev at
2019 Apr 26
2
[RFC][clang/llvm] Allow efficient implementation of libc's memory functions in C/C++
...ch - a specific attribute to redirect a single synthesizable function. This one would help explore the impact of replacing a synthesized function call with another function but is not strictly required to solve the problem at hand. __attribute__((redirect_synthesized_calls("memcpy", "my_memcpy"))) 2. A set of builtins in clang to communicate the intent clearly __builtin_memcpy_alwaysinline(...) __builtin_memmove_alwaysinline(...) __builtin_memset_alwaysinline(...) To achieve this we may have to provide new IR builtins (e.g. `@llvm.alwaysinline_memcpy`) which can be a lot of wor...