search for: extractbasicblock

Displaying 5 results from an estimated 5 matches for "extractbasicblock".

2010 Jun 05
1
[LLVMdev] ExtractBasicBlock() on block that ends with invoke or unreachable triggers assert() in llc
Here it is: llc: SelectionDAGISel.cpp:358: virtual bool llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&): Assertion `FuncInfo->CatchInfoFound.size() == FuncInfo->CatchInfoLost.size() && "Not all catch info was assigned to a landing pad!"' failed. 0 libLLVM-2.7.so 0x0140e2c8 Stack dump: 0. Program arguments: llc -O0 bullet.linked.bc.opt 1.
2008 Dec 07
2
[LLVMdev] How to extract loop body into a new function?
Hi All, I am having trouble extracting loop body into a new function. The ExtractLoop() or ExtractBasicBlock() extracts the entire loop along with the header into a new function. All I want is to extract the body of the loop into a new function(without the header). Is this possible? Thanks, Mrunal
2008 Dec 07
1
[LLVMdev] How to extract loop body into a new function?
...quot;Mrunal J Shah" <mrunal.shah at gatech.edu> To: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu> Sent: Saturday, December 6, 2008 8:46:00 PM GMT -05:00 US/Canada Eastern Subject: Re: [LLVMdev] How to extract loop body into a new function? Sorry! It worked with ExtractBasicBlock() ----- Original Message ----- From: "Mrunal J Shah" <mrunal.shah at gatech.edu> To: "llvmdev" <llvmdev at cs.uiuc.edu> Sent: Saturday, December 6, 2008 8:30:33 PM GMT -05:00 US/Canada Eastern Subject: [LLVMdev] How to extract loop body into a new function? Hi All,...
2008 Dec 07
0
[LLVMdev] How to extract loop body into a new function?
Sorry! It worked with ExtractBasicBlock() ----- Original Message ----- From: "Mrunal J Shah" <mrunal.shah at gatech.edu> To: "llvmdev" <llvmdev at cs.uiuc.edu> Sent: Saturday, December 6, 2008 8:30:33 PM GMT -05:00 US/Canada Eastern Subject: [LLVMdev] How to extract loop body into a new function? Hi All,...
2009 Jul 29
1
[LLVMdev] Moving instructions from functions
Dear all, I want to move a block of instructions from its original function, form a new function, and place these instructions in the new function. these blocks of instructions are not bound by Basic Blocks, i mean i can cut Basic Blocks and move only part of it to the new function. I guess the solution can be either clone the whole function and start deleting instructions from the two