search for: notnull17

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

Did you mean: notnull
2011 Dec 09
1
[LLVMdev] Implementing devirtualization
...; 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 = %delete.notnull17, %delete.end ret i32 24 } declare noalias i8* @_Znwm(i64) declare void @...
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);