search for: marwa

Displaying 20 results from an estimated 30 matches for "marwa".

Did you mean: maria
2015 Nov 21
3
re-compile a function
Dear All Is there is a way to recompile a function at runtime? It seems that I need to -like - invalidate the recompiled function to force the MCJIT to recompile it, cause when I just call runFunction, it neglects any modifications in the function code. Thanks in advance. Regards, Marwa Yusuf Teaching Assistant - Computer Engineering Department Faculty of Engineering - Benha University E-JUST PhD Student Computer Science & Engineering Dept. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/2...
2016 Mar 15
4
Getting the original high-level code
Dear All Is there is a way I can get the original hogh level code (e.g c++ code) of an IR function within MCJIT? Regards, Marwa Yusuf Teaching Assistant - Computer Engineering Department Faculty of Engineering - Benha University E-JUST PhD Student Computer Science & Engineering Dept. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/2...
2015 Jul 15
2
[LLVMdev] runtime pass
Dear All I need to create a pass that is triggered to run at a specific point during runtime. Also, this pass needs to have access to object file and to be able to modify the original IR. Any idea how to make such pass? Regards, Marwa Yusuf Teaching Assistant - Computer Engineering Department Faculty of Engineering - Benha University E-JUST PhD Student Computer Science & Engineering Dept. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/2...
2015 Dec 02
0
re-compile a function
Hi Marwa, MCJIT doesn't provide any support for recompilation. The best you can do is use multiple MCJIT instances and destroy whichever one contains the function "foo" that you want to recompile. MCJIT does not do any dependence tracking either, so you'll also need to destroy and recompi...
2013 Apr 03
2
[LLVMdev] extracting variables' values at interrupt
...and I really appreciate any help. I'm trying to extract variable values at interrupt of some program. And I want to do that from JIT. The situation is that the JIT will interrupt at certain point of executing some code and tries to get the variables' values. Any help about that? Regards, Marwa Yusuf Teaching Assistant - Computer Engineering Department Faculty of Engineering - Benha University E-JUST MSc Student Computer Science & Engineering Dept.
2013 Feb 14
1
[LLVMdev] adding a codegen pass into llvm
...the making was successful, by just following steps 1,2 and 3. I found that one of the problems was that I modify in a wrong Passes.h, as there are 2. My question now is: How I can apply this pass? (call, use ... etc) >From what I've read I found that I can't call it from opt. Regards, Marwa Yusuf Teaching Assistant - Computer Engineering Department Faculty of Engineering - Benha University E-JUST MSc Student Computer Science & Engineering Dept. ________________________________________ From: John Criswell [criswell at illinois.edu] Sent: Thursday, February 07, 2013 7:33 PM To: marw...
2015 Jun 12
2
[LLVMdev] How to insert basic block in a loop
...that inserts a new basic block at the start of a loop. However when I try to change predecessor/successor relations, it does not consider the new block in the loop at all. So I got that just inserting a loop in a function before another loop is not enough. So how exactly to do this job? Regards, Marwa Yusuf Teaching Assistant - Computer Engineering Department Faculty of Engineering - Benha University E-JUST PhD Student Computer Science & Engineering Dept. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/2...
2015 Aug 11
2
error in building llvm
...dragonegg, llgo and so. However, I've checked them and configuration went on. Now I'm stuck at build stage, specifically at dragonegg. First it could not find gmp.h, I've solved this by installing libgmp-dev. Now, it can't find auto-host.h. I couldn't solve this. Regards, Marwa Yusuf Teaching Assistant - Computer Engineering Department Faculty of Engineering - Benha University E-JUST PhD Student Computer Science & Engineering Dept. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/2...
2013 Feb 07
2
[LLVMdev] adding a codegen pass into llvm
...And I tried to rebuild the llvm to make it take my pass into account. I placed my pass in the llvm/lib/CodeGen folder. But - as I predicted - it didn't work. It stopped here "make[1]: *** [Transforms/.makeall] Error 2" Attached are my two files Any help is appreciated. Regards, Marwa Yusuf E-JUST MSc Student Computer Science & Engineering Dept. Teaching Assistant - Computer Engineering Department Faculty of Engineering - Benha University -------------- next part -------------- A non-text attachment was scrubbed... Name: BasicBlocksMap.h Type: text/x-chdr Size: 321 bytes Des...
2012 Feb 06
1
[LLVMdev] vmkit installation - classpath configure
...able googling, I found that I can use --disable-gtk-peer --disable-gconf-peer to come over this error. Then, I got this error configure: error: no acceptable Java compiler found in $PATH I have java compiler., I'm sure of that So, what I can I do now? I'm working on ubuntu 11.10 Regards, Marwa Yusuf Teaching Assistant - Computer Engineering Department Faculty of Engineering - Benha University E-JUST MSc Student Computer Science & Engineering Dept.
2013 Mar 21
1
[LLVMdev] Getting state at interrupt of JIT
...to interrupt JIT while running some function and direct it to some function that plays as a handler. However, at this function I need to get the exact state of the running function. By state I mean which instruction, which basicblock, variables addresses and values, stack state ... etc. Regards, Marwa Yusuf Teaching Assistant - Computer Engineering Department Faculty of Engineering - Benha University E-JUST MSc Student Computer Science & Engineering Dept.
2013 Nov 10
1
[LLVMdev] about creating the first value of the storeinst
...ror: void llvm::StoreInst::AssertOK(): Assertion `getOperand(0)->getType() == cast<PointerType>(getOperand(1)->getType())->getElementType() && "Ptr must be a pointer to Val type!"' failed. What is wrong about my code? Thanks a million in advance. Regards, Marwa Yusuf Teaching Assistant - Computer Engineering Department Faculty of Engineering - Benha University E-JUST MSc Student Computer Science & Engineering Dept. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/2...
2015 Aug 19
5
creating a callinst to an external function
...re void @foo(i32 ()*, label) call: call void @foo(i32 ()* @main, label %for.cond) But when I try to run the resulting .ll file using lli, everything explodes! This the first 2 lines before the stacktrace: Can't get register for value! UNREACHABLE executed at /home/marwayusuf/llvm-env/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:1158! I concluded that the problem is it can't find the foo function. If this is the problem, how can I create the callinst correctly? Regards, Marwa Yusuf Teaching Assistant - Computer Engineering Department Faculty of...
2013 Apr 03
0
[LLVMdev] extracting variables' values at interrupt
This is effectively exactly what a debugger does when introspecting the state of a running program. Your JIT'ed code will need to use the program's debug information to get what it wants. -Jim On Apr 3, 2013, at 5:24 AM, marwayusuf at feng.bu.edu.eg wrote: > Dear all > I have a question and I really appreciate any help. > I'm trying to extract variable values at interrupt of some program. And I want to do that from JIT. > The situation is that the JIT will interrupt at certain point of executing some cod...
2015 Aug 24
4
Error building llvm
...lvm, I faced the following error: Linking CXX shared library ../../lib/libLTO.so collect2: error: ld returned 1 exit status make[2]: *** [lib/libLTO.so.3.8.0svn] Error 1 make[1]: *** [tools/lto/CMakeFiles/LTO.dir/all] Error 2 make: *** [all] Error 2 So, what's the problem here? Regards, Marwa Yusuf Teaching Assistant - Computer Engineering Department Faculty of Engineering - Benha University E-JUST PhD Student Computer Science & Engineering Dept. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/2...
2014 Jun 28
2
[LLVMdev] about stackmap intrinsic
...ce about how to use it exactly, specially, how to retrieve information stored in a stackmap. I'm not understanding the concept of intrinsics very well.? Again, I tried to find any source that explains how intrinsic work, but I couldn't. So, any help will be greatly appreciated. Regards, Marwa Yusuf Teaching Assistant - Computer Engineering Department Faculty of Engineering - Benha University E-JUST MSc Student Computer Science & Engineering Dept. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/2...
2013 Feb 07
0
[LLVMdev] adding a codegen pass into llvm
On 2/7/13 5:49 AM, marwayusuf at feng.bu.edu.eg wrote: > Dear All > in this - quite old - message > http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-January/037496.html > I followed all the steps except the last one, as I don't think my pass depends on anything else, and I didn't fully understand it. &gt...
2015 Jul 21
2
[LLVMdev] llvm books
...re-libraries Getting Started with LLVM Core Libraries | PACKT Books Get to grips with LLVM essentials and use the core libraries to build advanced tools Read more...<https://www.packtpub.com/application-development/getting-started-llvm-core-libraries> Are they are really useful? Regards, Marwa Yusuf Teaching Assistant - Computer Engineering Department Faculty of Engineering - Benha University E-JUST PhD Student Computer Science & Engineering Dept. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/2...
2015 Nov 26
2
openmp ith llvm
...mp-support_22.html> In case of static compilation, I always get 1 thread. In case of jit, I get this error: LLVM ERROR: Program used external function 'omp_set_num_threads' which could not be resolved! However, my code works just fine with g++. Any help is appreciated. Regards, Marwa Yusuf Teaching Assistant - Computer Engineering Department Faculty of Engineering - Benha University E-JUST PhD Student Computer Science & Engineering Dept. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/2...
2015 May 30
1
[LLVMdev] How patchpoint intrinsic actually patches?
...in another IR and include it or what? 2- When actually this code is patched into the original code and executed? Upon some condition or signal or it's patched by default whenever it's met in code? If it's patched automatically, what is its advantage then? Thanks in advance. Regards, Marwa Yusuf Teaching Assistant - Computer Engineering Department Faculty of Engineering - Benha University E-JUST MSc Student Computer Science & Engineering Dept. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/2...