search for: isnull16

Displaying 3 results from an estimated 3 matches for "isnull16".

Did you mean: isnull
2011 Dec 09
1
[LLVMdev] Implementing devirtualization
...ull br i1 %isnull, label %delete.end, label %delete.notnull delete.notnull: ; preds = %invoke.cont3 tail call void @_ZdlPv(i8* %call) nounwind br label %delete.end delete.end: ; preds = %delete.notnull, %invoke.cont3 %isnull16 = icmp eq i8* %call1, null br i1 %isnull16, label %delete.end18, label %delete.notnull17 delete.notnull17: ; preds = %delete.end tail call void @_ZdlPv(i8* %call1) nounwind br label %delete.end18 delete.end18: ; preds = %de...
2011 Dec 09
0
[LLVMdev] Implementing devirtualization
On Thu, Dec 8, 2011 at 2:11 PM, Vitor Luis Menezes <vitor at utexas.edu> wrote: > We've got the following test case: > > > class A { > public: >   int x; >   A(int x) : x(x) {} >   int hoo() {return 4;} >   virtual int foo() {return x;} >   virtual int goo() {return foo()+10;} >   virtual int operator+(A &a) { >     return x + a.x; >   } > };
2011 Dec 08
2
[LLVMdev] Implementing devirtualization
We've got the following test case: class A { public: int x; A(int x) : x(x) {} int hoo() {return 4;} virtual int foo() {return x;} virtual int goo() {return foo()+10;} virtual int operator+(A &a) { return x + a.x; } }; class B : public A { public: B(int x) : A(x) {} int hoo() {return 2;} virtual int foo() {return A::foo()*2;} }; int main() { A* a = new A(1);