search for: foo_16

Displaying 2 results from an estimated 2 matches for "foo_16".

Did you mean: foo_06
2017 Jun 12
2
Force casting a Value*
On 11 June 2017 at 14:04, don hinton <hintonda at gmail.com> wrote: > Assuming you know it's a 64 bit value, and the function you are calling > takes a uint64_t, try this: > The values from the test program are of type: i32/i32*/i32**. Can't I interpret these as uint64_t some way? > > Value* args[] = {store_inst->getOperand(0)}; > > > On Sun, Jun 11,
2012 Dec 10
3
[LLVMdev] [PATCH] Teaching ScalarEvolution to handle IV=add(zext(trunc(IV)), Step)
...w i32 %conv, 3 + %inc = add nsw i32 %storemerge2, 1 + %cmp = icmp slt i32 %inc, 8000 + br i1 %cmp, label %for.body, label %for.end + +for.end: ; preds = %for.body + %fold = add i32 %0, 3 + %conv2 = and i32 %fold, 2047 + ret i32 %conv2 +} + + +; CHECK: @foo_16 +; CHECK: %add = +; CHECK-NEXT: Exits: 24000 +define i32 @foo_16() nounwind readnone { +entry: + br label %for.body + +for.body: ; preds = %entry, %for.body + %storemerge2 = phi i32 [ 0, %entry ], [ %inc, %for.body ] + %0 = phi i32 [ 0, %entry ], [ %add, %...