search for: neda8664

Displaying 20 results from an estimated 29 matches for "neda8664".

2011 Dec 12
1
[LLVMdev] problem with runOnLoop
Thank you for your reply Yes, I change them, so what should I do for another loops? On Mon, Dec 12, 2011 at 7:54 PM, neda 8664 <neda8664 at gmail.com> wrote: > Thank you for your reply > > Yes, I change them, so what should I do for another loops? > > On Mon, Dec 12, 2011 at 7:42 PM, John Criswell <criswell at illinois.edu>wrote: > >> On 12/12/11 9:59 AM, neda 8664 wrote: >> >> hi all,...
2011 Dec 12
0
[LLVMdev] problem with runOnLoop
...l fix any iterator invalidation occurring with the for() loop. That may work, but if I had been writing this pass, I would probably have made it a FunctionPass to ensure that the CFG changes don't confuse the PassManager. -- John T. > > On Mon, Dec 12, 2011 at 7:54 PM, neda 8664 <neda8664 at gmail.com > <mailto:neda8664 at gmail.com>> wrote: > > Thank you for your reply > > Yes, I change them, so what should I do for another loops? > > > On Mon, Dec 12, 2011 at 7:42 PM, John Criswell > <criswell at illinois.edu <mailto:crisw...
2011 Dec 12
4
[LLVMdev] problem with runOnLoop
hi all, I want access to all basic blocks of function in a loop, so I used the following code: *bool parallel::runOnLoop(Loop *L, LPPassManager &LPM) { for (Function::iterator bi= func->begin(); bi != func->end(); bi++){ // } }* First loop run without problem, but for second loop I get the following error: *0 libLLVM-2.9.so 0x0137d530 1 libLLVM-2.9.so 0x0137fa6c 2
2011 Jan 28
2
[LLVMdev] extract thread form sequential program
I want automatically parallelize sequential program in thread level to run on multi-core processors with software pipelining and use llvm. is it a suitable tools in this project ? can you help me in this topic? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110128/b84ebf3d/attachment.html>
2011 Jan 28
0
[LLVMdev] extract thread form sequential program
LLVM has no facility for dealing with threads explicitly. If you're implementing a research tool to automatically pipeline software, LLVM could be of use because it is also a JIT with a good API. On Fri, Jan 28, 2011 at 8:35 AM, neda 8664 <neda8664 at gmail.com> wrote: > I want automatically parallelize sequential program in thread level to run > on multi-core > processors with software pipelining and use llvm. is it a suitable tools in > this project ? > can you help me in this topic? > > _____________________________...
2011 Feb 10
0
[LLVMdev] create function
...nk you might be interested in ExtractCodeRegion() function. - Jakub On Mon, Feb 7, 2011 at 2:40 PM, Jakub Staszak <kubastaszak at gmail.com> wrote: > I think you might be interested in ExtractCodeRegion() function. > > - Jakub > > On Sat, Feb 5, 2011 at 7:40 AM, neda 8664 <neda8664 at gmail.com> wrote: >> i need split a sequential program to multithread. the first step I am going >> to assign each basic block of program to a thread, so i want create a >> function for each basic block and add instruction of basic block into it and >> assign every fun...
2011 Sep 20
2
[LLVMdev] code generation
I've study their work carefully. My problem is the implementation of threads in llvm after partitionning. I want to have information about how to implement producer/consumer thread in llvm. I do not know where I should start in llvm for code generation and create thread and insert produce and consume statement . -------------- next part -------------- An HTML attachment was scrubbed... URL:
2011 Dec 12
1
[LLVMdev] problem with runOnLoop
...on occurring with the for() loop. > That may work, but if I had been writing this pass, I would probably have > made it a FunctionPass to ensure that the CFG changes don't confuse the > PassManager. > > -- John T. > > > > On Mon, Dec 12, 2011 at 7:54 PM, neda 8664 <neda8664 at gmail.com> wrote: > >> Thank you for your reply >> >> Yes, I change them, so what should I do for another loops? >> >> On Mon, Dec 12, 2011 at 7:42 PM, John Criswell <criswell at illinois.edu>wrote: >> >>> On 12/12/11 9:59 AM, neda 8664...
2011 Oct 13
6
[LLVMdev] BasicBlock succ iterator
Hi, All I want to implement DSWP Which is used for parallelization of loops. For this purpose, the loop was replaced with a new basic block in main function. And new functions were created and basic blocks of Loop assigned to them.I have checked blocks and branches for Succ and Pred relation and I have not found any problems. However I get the following error: * **opt:
2011 Oct 06
0
[LLVMdev] MIPS 32bit code generation
...://cs.boisestate.edu/~uh -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.cs.uiuc.edu/pipermail/llvmdev/attachments/20111005/3e386d99/attachment-0001.html ------------------------------ Message: 6 Date: Thu, 6 Oct 2011 03:36:35 -0400 From: neda 8664 <neda8664 at gmail.com> Subject: Re: [LLVMdev] replacing a global variable by a constant To: Duncan Sands <baldrick at free.fr> Cc: llvmdev at cs.uiuc.edu Message-ID: <CAHbEVmSiWNVhdhxHFbeggHrikw47qWctXfFfBTvbvN158VdXLA at mail.gmail.com> Content-Type: text/plain; charset="iso-885...
2011 Jan 24
2
[LLVMdev] extract thread form sequential program
Hi , how i can assign instruction of program to a thread? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110124/8c87ab35/attachment.html>
2011 Feb 05
0
[LLVMdev] create function
i need split a sequential program to multithread. the first step I am going to assign each basic block of program to a thread, so i want create a function for each basic block and add instruction of basic block into it and assign every function to a thread. how could i do it? -------------- next part -------------- An HTML attachment was scrubbed... URL:
2011 Apr 04
1
[LLVMdev] opt -dot-cfg
I use "opt -dot-cfg sample.bc" command to view cfg, but I encountered the following warning. WARNING: You're attempting to print out a bitcode file. This is inadvisable as it may cause display problems. If you REALLY want to taste LLVM bitcode first-hand, you can force output with the `-f' option. I see unmeaning thing when use -f , in additinal I've installed graphvis
2011 Jul 24
0
[LLVMdev] Estimate Execution Time
Hi how can obtain execution time per each instruction when compiling? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110724/1fdfa460/attachment.html>
2011 Jul 24
1
[LLVMdev] Def_Use chain
Hi All I extract Def_Use chain by following code: for (Value::use_iterator i = F->use_begin(), e = F->use_end(); i != e; ++i) if (Instruction *Inst = dyn_cast<Instruction>(*i)) { errs() << "F is used in instruction:\n"; errs() << *Inst << "\n"; } Now, I want to distinguish the register name or memory variable that lead to
2011 Aug 01
2
[LLVMdev] profile.pl
Hi all I want to use "'/home/llvm/src/utils/profile.pl' -edge sort.bc" command, but i face this error: Error opening '/usr/local/lib/profile_rt.so': /usr/local/lib/profile_rt.so: cannot open shared object file: No such file or directory -load request ignored. LLVM ERROR: Program used external function 'llvm_start_edge_profiling' which could not be resolved!
2011 Aug 24
0
[LLVMdev] profile.pl
hi i have another question, how can change the display of result on screen?For this purpose, i have modified the llvm-prof file and make it again. But received no results
2011 Sep 07
2
[LLVMdev] llvm-prof
hi I changed llvm-prof and make it, but when use profile.pl ,i could not see any change in result. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110907/fc9be189/attachment.html>
2011 Sep 19
2
[LLVMdev] code generation
I am MSc student and my thesis subject is "parallelization of sequential program in thread level to run on multi-core processors". I want automatically parallelize sequential program in thread level to run on multi-core processors with software pipelining. I've use LLVM to code analysis and translate code to IR, I could extract PDG graph form IR code and convert it to SCCDAG and
2011 Oct 05
2
[LLVMdev] replacing a global variable by a constant
hi i want replacing a global variable by a constant value for erase instruction. i had seen the code that as follows for (llvm::GlobalVariable::use_iterator U = gv->use_begin(); U != gv->use_end();--U ) { llvm::Instruction *I = llvm::cast<llvm::Instruction>(U); I->replaceAllUsesWith(constPtr); I->eraseFromParent(); } but i dont know how can declare constptr.