search for: initalloca

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

Did you mean: initallocas
2016 Jun 30
1
How can I make llvm intrinsic functions declarations survive from optimizations.
Dear Sanjoy Das and community. I was tried to fix a bug in the pass InitAllocas from SAFECode. This is a function pass and will insert a prototype of 'llvm.memset.p0i8.i32' in the module at doInitialize() stage of the pass. But, this prototype will be eliminated by strip unused function optimization since there is no call on this function after doInitialization(). The...
2016 Jun 27
1
[GSoC'16] Weekly Status - June 27 - Zhengyang Liu
...is what I finished this week. 1. Move the implementation of runOnModule of RegisterGlobalVar pass from .h back to .cpp file. 2. Introduce two new functions to register and unregister function prototypes on llvm.compiler.used. 3. Added two regression tests for PromoteArrayAllocas pases. 4. Rewrite InitAllocas pass. This pass is originally written as a function pass. Rewrite this pass to Module pass to make the intrinsic function llvm.malloc 5. The customized malloc, calloc, and realloc in safecode/runtime/BBRuntime/AlignedMalloc.cpp could be overrided by system implementation on some environments. Thus...
2016 Jun 23
0
How can I make llvm intrinsic functions declarations survive from optimizations.
Hi Zhengyang, Do you mind sharing _why_ you need the intrinsic declarations to stay around? It is possible that there is a better way of solving your problem. Thanks! -- Sanjoy
2016 Jun 23
2
How can I make llvm intrinsic functions declarations survive from optimizations.
Dear LLVM community. I have a function pass. This pass will insert a llvm intrinsic function prototype (llvm.memset.p0i8.i32) to the module at the doInitialize stage. Then at runOnFunction Stage, this pass will find the insert points and insert calls of this intrinsic function. However, when the -O2 flag is turned on, the strip unused function optimization will automatically delete this
2015 Jul 22
2
[LLVMdev] (no subject)
Hello, I have tried a lot fix this error but am not able to can you please find me a solution am trying to compile the SAFECode in Cygwin Environment to work for windows. used make -j4 command to make the files in cygwin i have got this error make[5]: Leaving directory '/home/uidr7475/Work/LLVM_OBJ/projects/safecode/tools/clang/include' /usr/bin/cp: cannot stat