similar to: [LLVMdev] create function

Displaying 20 results from an estimated 100000 matches similar to: "[LLVMdev] create function"

2011 Feb 10
0
[LLVMdev] create function
I think 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
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
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 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,
2011 Dec 12
0
[LLVMdev] problem with runOnLoop
On 12/12/11 10:25 AM, neda 8664 wrote: > > Thank you for your reply > > Yes, I change them, so what should I do for another loops? I don't really know what you should do since I don't know what your code does. All I know is that it's changing the function's control-flow graph. If you're not modifying the structure of the loops in the function, then you can
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 Dec 12
1
[LLVMdev] problem with runOnLoop
I am changing structure of loops, I used std::vector<> but i get same error, I can’t use FunctionPass :( On Mon, Dec 12, 2011 at 8:03 PM, John Criswell <criswell at illinois.edu>wrote: > On 12/12/11 10:25 AM, neda 8664 wrote: > > Thank you for your reply > Yes, I change them, so what should I do for another loops? > > > I don't really know what you should
2010 Oct 05
2
[LLVMdev] Multithreaded code generation
Hi, In fact I have some theory on instruction level parallelism( i have a partitioning algorithm), then first of all, i want to generate a multithreaded code from LLVM IR (in assembly level) with a given partitioning. My problem is how can i use a thread library(like Pthread) or OS system calls in LLVM IR to create and manage threads? --- On Tue, 10/5/10, Tobias Grosser <grosser at
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 Jan 24
0
[LLVMdev] extract thread form sequential program
Hi neda 8664, > how i can assign instruction of program to a thread? LLVM doesn't have special support for threads, you need to call library functions the same as you would from C. I suggest you write some C code that does what you want, then run it through http://llvm.org/demo/ to see the corresponding LLVM IR. Ciao, Duncan.
2010 Oct 05
0
[LLVMdev] Multithreaded code generation
On 10/05/2010 09:42 AM, hamed hamzehi wrote: > Hi > yes, I'm asking for any advice, I want to implement multithreaded code > generator in LLVM. > tnx Hi, this generally depends which kind of code you want to multithread, because generally this is a difficult problem. However, if you limit yourself for the moment to loops that fit into the polyhedral model, you can take
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:
2012 Apr 27
1
[LLVMdev] clang branching using label
How does the verifier deal with this? I'm noticing that if I load a clang compiled function (with -emit-llvm) and run the verifier, there is no problem. If I start mucking with the function body (adding an instruction), the verifier is unhappy saying the instructions that would have been in the commented out block aren't part of a basic block. Does the clang compiled function have some
2012 Jan 24
0
[LLVMdev] clang branching using label
Hi Chris, > Clang normally generates code that looks like > > .... > ;<label>:22 ; preds = %0 > %23 = call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([24 x i8]* > @.str, i32 0, i32 0)) > br label %24 > > ;<label>:24 ; preds = %22, %0 > %25 = load i32* %tmphigh,
2011 Oct 24
1
[LLVMdev] if llvm can translate and generate the function in parallel with multithread
We try to use llvm to translate and generate the native code in parallel with multi-thread. But some various bugs will be triggered. We run the following code in multithread environment: ################## BasicBlock::Create(_CTX(), "dispatch", cpu->cur_func, 0); BranchInst::Create(bb_start, label_entry); cpu->exec_engine->getPointerToFunction ##################3 And cpu
2016 Apr 23
0
Xapian 1.3.5 snapshot performance and index size
On Tue, Apr 12, 2016 at 11:28:52AM +0200, Jean-Francois Dockes wrote: > Olly Betts writes: > > Ideally we'd find a way to make it come out more compact to start with. > > > > One thing which could help is making glass more willing to switch to > > "sequential mode". If you fancy some more benchmarking, you could > > try changing SEQ_START_POINT
2011 Oct 06
0
[LLVMdev] MIPS 32bit code generation
A simulator should be expecting the machine opcodes not macros. LD shouldn't care at all as long as the object format plays well. I would think it would be better to fix the simulator. Jack ________________________________________ From: llvmdev-bounces at cs.uiuc.edu [llvmdev-bounces at cs.uiuc.edu] on behalf of llvmdev-request at cs.uiuc.edu [llvmdev-request at cs.uiuc.edu] Sent: Thursday,
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:
2010 Mar 30
2
Need help to split a given matrix is a "sequential" way
I need to split a given matrix in a sequential order. Let my matrix is : > dat <- cbind(sample(c(100,200), 10, T), sample(c(50,100, 150, 180), 10, > T), sample(seq(20, 200, by=20), 10, T)); dat [,1] [,2] [,3] [1,] 200 100 80 [2,] 100 180 80 [3,] 200 150 180 [4,] 200 50 140 [5,] 100 150 60 [6,] 100 50 60 [7,] 100 100 100 [8,] 200 150 100 [9,]