Displaying 6 results from an estimated 6 matches for "new_bb".
Did you mean:
new_bh
2011 Nov 30
0
[LLVMdev] Problem using a label to a MachineBasicBlock
Using 'NEW_BB->setIsLandingPad(true);' seems to resolve everything.
Greetings,
Jeroen Dobbelaere
[...]
2011 Nov 30
2
[LLVMdev] Problem using a label to a MachineBasicBlock
Hi all,
I think that I came somewhat closer to a solution for splitting a
MachineBasicBlock for a PSEUDO_CALL_R instruction and having a label to the new MBB:
For following piece of code:
---
typedef int callme_t(int a, int b);
callme_t* c01;
int foo(int a, int b)
{
return c01(a,b); // MachineBasicBlock will be split at call instruction
}
---
I have initially following correspondence:
BB1
2012 Dec 03
1
[LLVMdev] [polly] scev codegen (first step to remove the dependence on ivcanon pass)
...always build a ScevUnknown from an SSA name and use that
in the apply.
> At the moment, we calculate at the beginning of each
> polly statement (a basic block) a value for each virtual induction
> variable of the original loops. For your example we get something like
> this.
>
> new_bb:
> new_iv_1 = add i32 c1, 0
> new_iv_2 = add i32 c1, 7
> new_iv_3 = add i32 c1, c2
>
> ....
>
> I want to highlight here that the values new_iv_1, new_iv_2, new_iv_3
> correspond to the number of loop iterations of the original loop. As we
> curr...
2012 Dec 01
0
[LLVMdev] [polly] scev codegen (first step to remove the dependence on ivcanon pass)
...loop to a symbolic expression. What type
would this symbolic expression have? Would
it be a SCEVExpr? At the moment, we calculate at the beginning of each
polly statement (a basic block) a value for each virtual induction
variable of the original loops. For your example we get something like
this.
new_bb:
new_iv_1 = add i32 c1, 0
new_iv_2 = add i32 c1, 7
new_iv_3 = add i32 c1, c2
....
I want to highlight here that the values new_iv_1, new_iv_2, new_iv_3
correspond to the number of loop iterations of the original loop. As we
currently require canonical induction variables,...
2012 Nov 30
2
[LLVMdev] [polly] scev codegen (first step to remove the dependence on ivcanon pass)
Hi Tobi,
I would like to remove the SCEVRewriter code and replace it with a call to
SCEVAddRec::apply (see attached a patch that adds just this function). More
precisely I want to add another function called apply_map that applies a map
(loop -> expr) on a given scev. This is the apply function on a multi-variate
polynomial.
So here is an overview of how I would like the scev code generator
2012 Mar 22
1
[LLVMdev] Problem using a label to a MachineBasicBlock
...l branch to MBB2 as the terminator.
(quite similar to splitBasicBlock in BasicBlock.cpp)
Meanwhile, I am trying to come up with a variant of SplitCriticalEdge to do
this but if someone can provide the code to split a MBB, it will be of great
help.
Jeroen Dobbelaere-2 wrote:
>
> Using 'NEW_BB->setIsLandingPad(true);' seems to resolve everything.
>
> Greetings,
>
> Jeroen Dobbelaere
> [...]
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists...