search for: _z6selecti

Displaying 7 results from an estimated 7 matches for "_z6selecti".

2012 Sep 29
2
[LLVMdev] Inlining and virtualization in Clang/LLVM
...amp; select(int i) { static NothingDerived nd; static PrintDerived pd; if (i % 2 == 0) { return nd; } return pd; } int main() { Base& b = select(0); b.foo(); } Which gives the following main function (using Try out LLVM and Clang): define i32 @main() uwtable { [...] _Z6selecti.exit: ; preds = %13, %10, %7 %14 = load void (%struct.Base*)*** bitcast (%struct.NothingDerived* @_ZZ6selectiE2nd to void (%struct.Base*)***), align 8 %15 = load void (%struct.Base*)** %14, align 8 tail call void %15(%struct.Base* getelementptr inbounds (%stru...
2012 Sep 30
2
[LLVMdev] [cfe-dev] Inlining and virtualization in Clang/LLVM
...amp; select(int i) { static NothingDerived nd; static PrintDerived pd; if (i % 2 == 0) { return nd; } return pd; } int main() { Base& b = select(0); b.foo(); } Which gives the following main function (using Try out LLVM and Clang): define i32 @main() uwtable { [...] _Z6selecti.exit: ; preds = %13, %10, %7 %14 = load void (%struct.Base*)*** bitcast (%struct.NothingDerived* @_ZZ6selectiE2nd to void (%struct.Base*)***), align 8 %15 = load void (%struct.Base*)** %14, align 8 tail call void %15(%struct.Base* getelementptr inbounds (%stru...
2012 Oct 03
3
[LLVMdev] [cfe-dev] Inlining and virtualization in Clang/LLVM
...urn pd; >> } >> >> int main() { >> Base& b = select(0); >> b.foo(); >> } >> >> >> Which gives the following main function (using Try out LLVM and Clang): >> >> define i32 @main() uwtable { >> [...] >> >> _Z6selecti.exit: ; preds = %13, %10, %7 >> %14 = load void (%struct.Base*)*** bitcast (%struct.NothingDerived* >> @_ZZ6selectiE2nd to void (%struct.Base*)***), align 8 >> %15 = load void (%struct.Base*)** %14, align 8 >> tail call void %15(%struct...
2012 Oct 03
0
[LLVMdev] [cfe-dev] Inlining and virtualization in Clang/LLVM
...pd; > if (i % 2 == 0) { return nd; } > return pd; > } > > int main() { > Base& b = select(0); > b.foo(); > } > > > Which gives the following main function (using Try out LLVM and Clang): > > define i32 @main() uwtable { > [...] > > _Z6selecti.exit: ; preds = %13, %10, %7 > %14 = load void (%struct.Base*)*** bitcast (%struct.NothingDerived* > @_ZZ6selectiE2nd to void (%struct.Base*)***), align 8 > %15 = load void (%struct.Base*)** %14, align 8 > tail call void %15(%struct.Base* getelemen...
2012 Oct 04
0
[LLVMdev] [cfe-dev] Inlining and virtualization in Clang/LLVM
...>> Base& b = select(0); > >> b.foo(); > >> } > >> > >> > >> Which gives the following main function (using Try out LLVM and Clang): > >> > >> define i32 @main() uwtable { > >> [...] > >> > >> _Z6selecti.exit: ; preds = %13, %10, %7 > >> %14 = load void (%struct.Base*)*** bitcast (%struct.NothingDerived* > >> @_ZZ6selectiE2nd to void (%struct.Base*)***), align 8 > >> %15 = load void (%struct.Base*)** %14, align 8 > >> tail c...
2012 Oct 04
2
[LLVMdev] [cfe-dev] Inlining and virtualization in Clang/LLVM
...t;> >> b.foo(); >> >> } >> >> >> >> >> >> Which gives the following main function (using Try out LLVM and Clang): >> >> >> >> define i32 @main() uwtable { >> >> [...] >> >> >> >> _Z6selecti.exit: ; preds = %13, %10, >> >> %7 >> >> %14 = load void (%struct.Base*)*** bitcast (%struct.NothingDerived* >> >> @_ZZ6selectiE2nd to void (%struct.Base*)***), align 8 >> >> %15 = load void (%struct.Base*)** %14,...
2012 Oct 04
0
[LLVMdev] [cfe-dev] Inlining and virtualization in Clang/LLVM
...;> >> } >>> >> >>> >> >>> >> Which gives the following main function (using Try out LLVM and Clang): >>> >> >>> >> define i32 @main() uwtable { >>> >> [...] >>> >> >>> >> _Z6selecti.exit: ; preds = %13, %10, >>> >> %7 >>> >> %14 = load void (%struct.Base*)*** bitcast (%struct.NothingDerived* >>> >> @_ZZ6selectiE2nd to void (%struct.Base*)***), align 8 >>> >> %15 = load void (%struc...