Displaying 20 results from an estimated 4000 matches similar to: "Topic Modeling- package lda"
2011 Jun 25
2
[LLVMdev] dump a module from inside GDB to a file
Ankit,
>From within GDB you can run the following command:
"call m->dump()"
This will print the module in the bitcode in a textual format.
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Ankit Sethia
Sent: Saturday, June 25, 2011 20:56
To: llvmdev at cs.uiuc.edu
Subject: [LLVMdev] dump a module from inside GDB to a file
Hi All,
I
2011 Jun 29
0
[LLVMdev] hello world error
Hi,
I found that machine dead code elimination, does not respect the calling
convention of alpha and eliminates r16, which was set correctly during code
generation. I verified it with -print-after-all.
Does anybody have a patch for this?
On Wed, Jun 29, 2011 at 11:12 AM, Ankit Sethia <asethia at eecs.umich.edu>wrote:
> Hi All,
>
> I am using llvm-2.9 to cross compile to alpha. I
2009 Mar 13
6
please help me PLEASEEEEEEEE
Dear ALL
Please tell me how to configure Openldap in rhel 5
Please send me links & document
Thanks in advance
Ankit Jariwala
9725655020
2020 Sep 17
3
[NPM] Register target specific pass with opt
Hello LLVM community,
I was trying to port a target specific loop transformation pass (HexagonVectorLoopCarriedReusePass) to the New Pass Manager. However, I could not figure out a way to register this pass with opt. I can see that llvm/lib/Passes/PassRegistry.def is the registry for target independent passes. Can anyone point me to an example/API which can help me in registering this pass so
2014 Feb 26
2
Test errors on fresh installation
Hi Olly,
I updated my local repo and built it again, but still getting the
error. I took a look at python3/test-suite.log file, but I could not locate
the source of test failure. Please find attached the log file with this
email. I am available on IRC(nick : ankit_agrawal) if that seems a
convenient medium for you to help me out with this issue. Thanks.
Regards,
Ankit Agrawal,
2011 Jun 25
3
[LLVMdev] dump a module from inside GDB to a file
Hi All,
I changed the CFG of a big function using a pass that runs on a function, I
am having trouble debugging it. Is there someway to dump a module to a file
from inside gdb? I have access to the Module pointer. Let me know if
anything else is needed.
--
*Ankit*
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2011 Jan 20
0
[LLVMdev] Modifying the patterns/ instruction selection phase in LLVM 2.7
For my case, I can't replace these call instructions with inline
assembly code because I need to encode the registers into the
"number".
For instance, if the call instruction is %result = call i32 @foo(i32
%a) and the result is assigned to register %l0 and the variable "a"
to register %l1, then I encode all foo, %l0 and %l1 and generate a
sethi instruction.
thanks,
2011 Jan 20
2
[LLVMdev] Modifying the patterns/ instruction selection phase in LLVM 2.7
On 1/20/11 12:27 PM, Venkatraman Govindaraju wrote:
Just out of curiosity, have either of you considered writing an LLVM
transform that simply replaces these call instructions with inline
assembly code that does what you want? If that works, it seems much
simpler than modifying/enhancing the code generator.
-- John T.
> I have similar requirements for my project. This is what I do.
>
2011 Jun 29
1
[LLVMdev] hello world error
Hi,
Can people suggest how this is solved for other ISAs? This happens only for
Alpha and not for x86-64. The register 16 does not have any uses within that
function, but is used inside puts. So Machine DCE thinks it is dead code.
On Wed, Jun 29, 2011 at 4:20 PM, Ankit Sethia <asethia at eecs.umich.edu>wrote:
> Hi,
>
> I found that machine dead code elimination, does not respect
2011 Jan 19
2
[LLVMdev] Modifying the patterns/ instruction selection phase in LLVM 2.7
Hello all,
I am trying to modify the Sparc backend to do something for my team's project, to do the following.
Whenever the backend encounters a call to one particular type of function names (functions like p0(), p1()..etc), I want the backend to generate a "sethi %g0, <number>", and NOT a "call p0, call p1..." instruction. However, the backend should work as usual
2014 Feb 26
2
Test errors on fresh installation
Hi all,
I installed xapian smoothly as per the guidelines mentioned in
the HACKING file. However, I am getting test errors on tests related to
python3 bindings after running them using `make check` on this fresh
installation. The log can be seen here <http://pastebin.com/bnsTFG2e>. Can
anyone here help me out to figure out why they are failing? Please let me
know if any more
2011 Jan 20
0
[LLVMdev] Modifying the patterns/ instruction selection phase in LLVM 2.7
I have similar requirements for my project. This is what I do.
1. Add a new intrinsic function to LLVM that corresponds to
"functions with particular type of function names".
The steps to create intrinsic function is documented in
http://llvm.org/docs/ExtendingLLVM.html#intrinsic.
2. Create a lowering pass that lowers "functions with particular
type" ( eg. p0, p1) to
2013 Mar 05
1
Getting Started with Xapian Socket codebase
Hi everyone,
This is Ankit; currently final-year Computer Science undergrad at Panjab
University, India. I am well versed in C++ and have a pretty decent
understanding of sockets. I successfully completed GSoC last year for IDI,
project titled - Google App Module for ATutor.
Quite recently, I have been working on the project idea - Replacing Xapian
socket code with ZeroMQ. This is to inquire
2011 Jun 25
0
[LLVMdev] dump a module from inside GDB to a file
Hi All,
I changed the CFG of a big function using a pass that runs on a function, I
am having trouble debugging it. Is there someway to dump a module to a file
from inside gdb? I have access to the Module pointer. Let me know if
anything else is needed.
--
Ankit
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2011 Jun 29
2
[LLVMdev] hello world error
Hi All,
I am using llvm-2.9 to cross compile to alpha. I know that alpha is in
experimental stage, but i can not get even the "Hello World" program to run
on it.
Here is what happens, the bitcode file for the hello world program is as
follow:
; ModuleID = 'hello.bc'
target datalayout =
2012 Jan 12
1
[LLVMdev] A question of Sparc assembly generated by llc
Hi,
There are some generated Sparc assembly code like this:
main: ! @main
! BB#0:
save %sp, -112, %sp
sethi 0, %l0
or %g0, 5, %l1
st %l0, [%fp+-4]
st %l1, [%fp+-8]
st %l1, [%fp+-12]
sethi %hi(.L.str), %l1
ld [%fp+-8], %o1
add %l1, %lo(.L.str), %l1
or %g0, %l1, %o0
call printf
nop
ld [%fp+-12], %o2
ld [%fp+-8], %l2
sethi %hi(.L.strQ521), %l3
add
2011 Jun 11
1
[LLVMdev] alpha assembler with llc
Hi,
I configure llvm to generate code for alpha. I use a the following steps to
generate code from the source files:
1) llvm-gcc -c main.c -emit-llvm main.bc
2) opt -load <library fo myPass> -myPass main.bc main.opt.bc
3) llc -march=alpha main.opt.bc -o main.S
4) alphaev67-unknown-linux-gnu-as main.S -o main.o
Most of the files that i compile run just fine. Suddenly, i have hit on a
file
2009 Aug 19
2
[LLVMdev] Solaris (sparc) llc bugs
Hello.
I have been trying to check, how llvm works on Solaris recently.
First I have tested lli, whitch seems to execute the bytecode generated
on Linux without any problems. However, llc has failed to generate valid
SPARC assembler code even on the helloworld example. Here is the generated
code:
sakharov at trillian:~$ cat ./test.s
.text
.align 16
.globl main
2003 Dec 02
2
Reading transction log
I need to maintain a log that contains information on files that
are read / modified . I was suggested losf, but using lsof does
not solve the problem as files opened/closed between two
successive runs will always be missed. With reference to the
stated need I have 2 Questions.
1) can data in the journal file be of any help to me ? if yes
how, ?
2) can kjournald be used in some way ?
2016 Apr 15
3
[Sparc] Load address with SETHI
Hi,
I'm trying to implement __builtin_setjmp / __builtin_longjmp for Sparc processors. I think I'm very close, but I can't work out how to issue BuildMI-type instructions to load the address of the recovery location (set in setjmp) into a register using the SETHI / OR combination. I can't see any equivalent code anywhere else in Sparc.
I imagine this is similar if I try to make a