search for: marwayusuf

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

2015 Aug 24
4
Error building llvm
Trying to run make to build llvm, 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
2013 Feb 14
1
[LLVMdev] adding a codegen pass into llvm
...arwa 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: marwayusuf at feng.bu.edu.eg Cc: llvmdev at cs.uiuc.edu Subject: Re: [LLVMdev] adding a codegen pass into llvm On 2/7/13 5:49 AM, marwayusuf at feng.bu.edu.eg<mailto:marwayusuf at feng.bu.edu.eg> wrote: Dear All in this - quite old - message http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-January/0374...
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.
2015 Aug 11
2
error in building llvm
Dear All I've made un update to the llvm to the latest. At configuration, I've met some new errors to me, like it needs lldb, lld, 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.
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 Engin...
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:
2015 Dec 02
0
re-compile a function
...ation at higher optimization levels, based on the Kaleidoscope tutorials. This was motivated by the following mailing list discussion: http://lists.llvm.org/pipermail/llvm-dev/2015-July/087776.html, which may also be related to what you want to do. Cheers, Lang. On Sat, Nov 21, 2015 at 11:05 AM, marwayusuf at feng.bu.edu.eg via llvm-dev < llvm-dev at lists.llvm.org> wrote: > 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 runFu...
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
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 code and...
2013 Apr 03
2
[LLVMdev] extracting variables' values at interrupt
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 code and tries to get the variables' values. Any help about that? Regards, Marwa Yusuf Teaching Assistant - Computer Engineering Department Faculty
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. > And...
2015 Jun 12
2
[LLVMdev] How to insert basic block in a loop
Dear All I'm making a transformation pass 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
2015 Aug 09
2
About Stackmap section
Dear All I need to read the stackmap section at runtime of the inspected application. I've read the documentation of stackmap and found this paragraph: "A JIT compiler can easily access this section by providing its own memory manager via the LLVM C API LLVMCreateSimpleMCJITMemoryManager(). When creating the memory manager, the JIT provides a callback:
2013 Feb 07
2
[LLVMdev] adding a codegen pass into llvm
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. 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
2014 Jun 28
2
[LLVMdev] about stackmap intrinsic
Dear All My MSc was about implementing some kind of On stack replacement in LLVM to enhance security by obfuscating running code periodically. I've tried to implement this job in JIT, but I couldn't. So I implemented it in interpreter, as an initial step. However, now I'm trying to make it in JIT. My first step is to extract function state at an arbitrary point. So, I interrupt
2012 Feb 06
1
[LLVMdev] vmkit installation - classpath configure
Dear All Here is another question. I'm trying now t install vmkit. According to this http://vmkit.llvm.org/index.html I have to install classpath. But in trying to configure it, I get the following error: configure: error: GTK+ peers requested but no X library available googling, I found that I can use --disable-gtk-peer --disable-gconf-peer to come over this error. Then, I got this error
2015 Nov 26
2
openmp ith llvm
Dear all, I'm trying to get openmp to work with llvm, either with static compiler or with jit, however with no success. I've followed this: http://blog.llvm.org/2015/05/openmp-support_22.html [http://llvm.org/img/DragonSmall.png]<http://blog.llvm.org/2015/05/openmp-support_22.html> LLVM Project Blog: OpenMP Support OpenMP support in Clang compiler is completed! Every pragma and
2013 Nov 10
1
[LLVMdev] about creating the first value of the storeinst
Dear All I'm trying to create storeInst using StoreInst *SI = new StoreInst(val, AI, BB); AI is an alloca instruction previously created, BB is the basicBlock I want to put instructionsi in. Val is the value to store. I've created val from a genericValue like this: Value* val = ConstantInt::get(getGlobalContext(), Result.IntVal); Result is the genericValue However I keep getting
2015 May 30
1
[LLVMdev] How patchpoint intrinsic actually patches?
Dear All I have some questions about how to use patchpoint intrinsic: 1- The function that is provided as argument to the intrinsic call, where does it belong? I'm making a pass to change a given IR file and add call to patchpoint. Where should I put this function? In the pass or in the same IR file or in another IR and include it or what? 2- When actually this code is patched into the
2011 Dec 21
2
[LLVMdev] llvm configure problem
Dear all I'm very new to llvm. Actually I was trying to install it the whole day. Now I have a problem with configuration step. I get the following error: checking for clang... no checking for llvm-gcc... llvm-gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. and the config.log is attached.