search for: builtin_memset

Displaying 5 results from an estimated 5 matches for "builtin_memset".

2010 May 10
0
[LLVMdev] How can I remove Intrinsic Functions during llvm-gcc compilation?
...gcc: you can't always avoid having gcc use the gcc memset builtin. However it has to be said that gcc generates its memset builtin less often than llvm-gcc generates llvm.memset, so this is not as visible. Also (I'm not sure about this) it may be that on some platforms gcc always expands builtin_memset into a code sequence rather than generating a call to the library memset function. However, gcc is not obliged to use a code sequence even in a freestanding environment. The environment is always required to provide memset. Here's what the gcc docs say: GCC requires the freestanding envir...
2010 May 10
2
[LLVMdev] How can I remove Intrinsic Functions during llvm-gcc compilation?
...always > avoid having gcc use the gcc memset builtin.  However it has to be said > that gcc generates its memset builtin less often than llvm-gcc generates > llvm.memset, so this is not as visible.  Also (I'm not sure about this) > it may be that on some platforms gcc always expands builtin_memset into a > code sequence rather than generating a call to the library memset function. > However, gcc is not obliged to use a code sequence even in a freestanding > environment.  The environment is always required to provide memset.  Here's > what the gcc docs say: > >   GCC req...
2010 May 03
2
[LLVMdev] How can I remove Intrinsic Functions during llvm-gcc compilation?
Hi, all, I am using llvm-gcc --emit-llvm to generate byte code. With llvm readable ll format, I found some standard C library function such as llvm.memset. In fact, I'm trying to compile newlibc with llvm, I do not need this kind of llvm functions. How can I remove them during the compilation? Best regards, -- Hao Shen
2010 May 10
0
[LLVMdev] How can I remove Intrinsic Functions during llvm-gcc compilation?
...avoid having gcc use the gcc memset builtin. However it has to be said >> that gcc generates its memset builtin less often than llvm-gcc generates >> llvm.memset, so this is not as visible. Also (I'm not sure about this) >> it may be that on some platforms gcc always expands builtin_memset into a >> code sequence rather than generating a call to the library memset function. >> However, gcc is not obliged to use a code sequence even in a freestanding >> environment. The environment is always required to provide memset. Here's >> what the gcc docs say: &gt...
2010 May 12
1
[LLVMdev] How can I remove Intrinsic Functions during llvm-gcc compilation?
...gcc use the gcc memset builtin.  However it has to be said >>> that gcc generates its memset builtin less often than llvm-gcc generates >>> llvm.memset, so this is not as visible.  Also (I'm not sure about this) >>> it may be that on some platforms gcc always expands builtin_memset into a >>> code sequence rather than generating a call to the library memset function. >>> However, gcc is not obliged to use a code sequence even in a freestanding >>> environment.  The environment is always required to provide memset.  Here's >>> what the g...