search for: naqvi

Displaying 11 results from an estimated 11 matches for "naqvi".

2016 May 04
2
llvm dynamic execution trace
hi everyone, I'm trying to get something like the lli - trace functionality that has been deprecated. I need the same thing that the trace command was doing i. e. the dynamic execution trace, any idea on what it has moved to if it still exists or how to implement it? Best Regards, Ammar Naqvi -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160503/0a78ca0e/attachment.html>
2016 Apr 26
2
Writing a pass to retrieve instruction operand value
...can retrieve these values by running foo.bc through a pass?? I know i->getOperand(0) would get me *i32 %a * i->getOperand(1) would get me *i32 %b* *How do i retrieve 3 and 1, the integer values that these operands hold ?* Thanks in advance for any guidance and help! :) Best Regards, Ammar Naqvi -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160425/0c48ca6a/attachment.html>
2016 Apr 24
2
Retrieving numeric value of instruction operand
...a way for that, I've also tried casting the operand to a ConstantInt which wasn't successful. I'm a beginner with LLVM and i do apologize for my naivety. Best Regards, Ammar On 24 April 2016 at 10:51, John Criswell <jtcriswel at gmail.com> wrote: > On 4/24/16 1:27 PM, Ammar Naqvi wrote: > > hey john, > > yes indeed, that's what I'm trying, retreiving the values of %a and %b in > an LLVM pass, sorry about the confusion. > > > If you want to add an instruction that uses the values %a and %b, then > your solution is easy: in the LLVM IR, a v...
2016 Apr 24
2
Retrieving numeric value of instruction operand
...constants; there is no way, at compile time, to determine what numeric > values they will hold at run-time. > > Are you asking how to write an LLVM pass that will add code to summ() to > print out its result? > > Regards, > > John Criswell > > On 4/24/16 2:27 AM, Ammar Naqvi via llvm-dev wrote: > > Hello Everyone, > > I need some help in retrieving the numeric value of an instruction operand > from LLVM IR. > > this is what the IR looks like for a simple add function that adds two i32 > integers > > define i32 @summ(i32 %a, i32 %b) #0 { &g...
2016 May 04
2
llvm dynamic execution trace
...'m currently working on getting that into LLVM, Clang, and compiler-rt > among other things. > > Does that help? > > PS. More information in the whitepaper ( > https://research.google.com/pubs/pub45287.html) we recently published. > > On Wed, May 4, 2016 at 2:05 PM Ammar Naqvi via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > >> hi everyone, >> >> I'm trying to get something like the lli - trace functionality that has >> been deprecated. >> >> I need the same thing that the trace command was doing i. e. the dynamic...
2016 Apr 24
2
Retrieving numeric value of instruction operand
Hello Everyone, I need some help in retrieving the numeric value of an instruction operand from LLVM IR. this is what the IR looks like for a simple add function that adds two i32 integers define i32 @summ(i32 %a, i32 %b) #0 { entry: %add = add nsw i32 %b, %a ret i32 %add } i would like to know the integer value of %a and %b. I've tried -i->getOpcodeName() which gives me the
2018 Jul 31
2
LLJVM make error
Hi fellow devs, I was looking for converting LLVM IR to JavaBytecode by using lljvm project of https://github.com/davidar/lljvm They don't seem to compile, once i run *make* in the root directory it give me the error : cd include && make all make[1]: Entering directory `/home/rtiwari1/llvm_new/lljvm/include' make[1]: Nothing to be done for `all'. make[1]: Leaving
2018 Aug 01
2
LLJVM make error
...VM trunk. The project probably works against LLVM 3.6.2 which was (I believe) the last LLVM release to contain that header file. -Chris > On Jul 31, 2018, at 12:05 PM, Ratnesh Tiwari via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > It is similar to the problem asked by Ammar Naqvi via llvm-dev Sat Mar 26 23:29:03 PDT 2016 > > http://lists.llvm.org/pipermail/llvm-dev/2016-March/097665.html <http://lists.llvm.org/pipermail/llvm-dev/2016-March/097665.html> > > Thank you. > > > > On Wed, Aug 1, 2018 at 12:32 AM, Ratnesh Tiwari <ratneshtr09...
2016 Mar 23
0
Writing Module Pass to modify arguments of a function
Hi everyone, I'm struggling on a module pass, my goal is to change the number of arguments of a function found in the IR( the first function found). My approach is using a modulepass ,creating a function with exactly one argument then cloning the first found function using *CloneFunctionInto*; then i replace uses of the old function using *Old_func->replaceAllUsesWith(new_Func)*. I have
2016 Mar 27
0
is LLJVM alive?
Hi fellow devs, I was looking for a way to run C on the JVM and i found LLJVM which apparently does exactly that! Howevere,unfortunately it seems dead on the main david's git https://github.com/davidar/lljvm as well as the slightly newer one https://github.com/hyc/lljvm. They don't seem to compile, once i run make in the root directory it give me the error : " *In file included
2016 Aug 02
1
A request regarding R GUI
Hi, I use R on windows and linux. It is regarding R GUI in linux. In linux the output and script spaces are stacked vertically. It becomes cumbersome to check the output or script in the space whenever the output or script are longer than the space available. The GUI in linux should be like that in Windows. The output and script windows are two seperate resizable child windows. These windows can