search for: _zst4cout

Displaying 15 results from an estimated 15 matches for "_zst4cout".

2009 Apr 28
3
[LLVMdev] how to resolve llvm exception IR?
...ptr) nounwind ; <i8*> [#uses=0] 59 %3 = invoke %"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(%"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZSt4cout, i8* getelementptr ([10 x i8]* @.str, i32 0, i32 0)) 60 to label %bb6 unwind label %lpad10 ; <%"struct.std::basic_ostream<char,std::char_traits<char> >"*> [#uses=0] 61 62 bb6: ; preds = %bb 63 tail ca...
2009 Apr 28
0
[LLVMdev] how to resolve llvm exception IR?
Hi zhangzw, ... > 59 %3 = invoke > %"struct.std::basic_ostream<char,std::char_traits<char> >"* > @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(%"struct.std::basic_ostream<char,std::char_traits<char> > >"* @_ZSt4cout, i8* getelementptr ([10 x i8]* @.str, i32 0, i32 0)) > 60 to label %bb6 unwind label %lpad10 ... > my question is at line 59 can throw an exception? I don't know if it can really throw an exception or not. Presumably it could run out of memory? But it'...
2006 Nov 17
4
[LLVMdev] C++ to C
...the code segment that uses the function: int main(void) { struct l_struct_2E_std_3A__3A_basic_ostream_3C_char_2C_std_3A__3A_char_traits_ 3C_char_3E__20__3E_ *ltmp_2_2; CODE_FOR_MAIN(); /*tail*/ __main(); ltmp_2_2 = /*tail*/ _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(( &_ZSt4cout), (&(_2E_str_1[0]))); return 0; } Thanks for any tips. Napi
2016 Jan 28
2
Find the instructions where a particular value is defined
...if.then.3, %if.else 74 br label %if.end.4 75 76 if.end.4: ; preds = %if.end, %if.then 77 %2 = load i32, i32* %a, align 4 78 %call5 = call dereferenceable(272) %"class.std::basic_ostream"* @_ZNSolsEi(%"class.std::basic_ostream"* @_ZSt4cout, i32 %2) 79 %3 = load i32, i32* %b, align 4 80 %call6 = call dereferenceable(272) %"class.std::basic_ostream"* @_ZNSolsEi(%"class.std::basic_ostream"* %call5, i32 %3) 81 ret i32 0 at line 79 of the IR, I have found %b. Now I would like to find lines 61 and 70 where %b...
2003 Dec 22
2
[LLVMdev] hello.bc & binary code
...ot compatible: [140 x sbyte]* %_ZSt4clog "struct.std::basic_ostream<char,std::char_traits<char> >"* %_ZSt4clog WARNING: Found global types that are not compatible: "struct.std::basic_ostream<char,std::char_traits<char> >"* %_ZSt4cout [140 x sbyte]* %_ZSt4cout WARNING: Found global types that are not compatible: [148 x sbyte]* %_ZSt4wcin "struct.std::basic_istream<wchar_t,std::char_traits<wchar_t> >"* %_ZSt4wcin WARNING: Found global types that are not compatible: [...
2017 Mar 30
2
Invoking lld for PE/COFF (Windows) linking
On 3/29/2017 1:38 PM, Reid Kleckner via llvm-dev wrote: > If clang is targeting VC++, then -fuse-ld=lld should be enough to make > it run lld-link.exe, and you won't need to set the flavor or do anything > special to get PE/COFF files. > > This example worked for me: > > $ cat t.cpp > #include <iostream> > int main() { std::cout << "hello
2017 Aug 12
3
Mischeduler: Unknown reason for peak register pressure increase
I am working on a project where we are integrating an existing pre-RA scheduler into LLVM and we are trying to match our peak register pressure values with the machine instruction schedulers values while using X86. I am finding some mismatches in test cases like the one attached. The registers "AH" and "AL" are live-out but not live-in and I don't see that they are defined
2006 Nov 17
0
[LLVMdev] C++ to C
...t; >int main(void) { > struct >l_struct_2E_std_3A__3A_basic_ostream_3C_char_2C_std_3A__3A_char_traits_ >3C_char_3E__20__3E_ *ltmp_2_2; > > CODE_FOR_MAIN(); > /*tail*/ __main(); > ltmp_2_2 = /*tail*/ >_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(( >&_ZSt4cout), (&(_2E_str_1[0]))); > return 0; >} > >Thanks for any tips. > >Napi > >_______________________________________________ >LLVM Developers mailing list >LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >...
2016 May 26
0
c++ programs type name changed in llvm ir after linking
...Function Attrs: uwtable define linkonce_odr void @_ZN1A1fEv(%class.X* %this) unnamed_addr #0 comdat align 2 { %1 = call dereferenceable(272) %"class.std::basic_ostream"* @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(%"class.std::basic_ostream"* dereferenceable(272) @_ZSt4cout, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i32 0, i32 0)) ret void } Does anyone know why llvm replace the type name and how to stop llvm from doing this? Thanks -- Xiaokang Fan PhD Student School of Computer Science and Engineering The University of New South Wales Sydney 205...
2006 Nov 05
0
[LLVMdev] Convert C++ to C. What is 0x0p+0 ?
On Nov 5, 2006, at 2:30 AM, Mohd-Hanafiah Abdullah wrote: > On Sat, 2006-11-04 at 21:06 -0800, Reid Spencer wrote: >>> In the resulting file foo.cbe.c there are many occurences of '0x0p >>> +0'. >>> What is it used for? Here's a code snippet from the file foo.cbe.c >>> >>> if ((ltmp_126_2 > 0x0p+0)) { >>> goto
2005 Jan 07
1
oh323 driver installation - It works now
Joao, Thanks for sending the Installation tips as pasted below. It works. Seshu ---------- Get oh323 from http://www.inaccessnetworks.com/projects/asterisk-oh323/Libraries/openh323-Janus_patch4-src-tar.gz Get pwlib from http://www.inaccessnetworks.com/projects/asterisk-oh323/Libraries/pwlib-Janus_patch4-src-tar.gz Get asterisk-oh323 from
2006 Nov 05
4
[LLVMdev] Convert C++ to C. What is 0x0p+0 ?
On Sat, 2006-11-04 at 21:06 -0800, Reid Spencer wrote: > Hi Napi, > > On Sun, 2006-11-05 at 12:40 +0800, Mohd-Hanafiah Abdullah wrote: > > Hi: > > > > I'm interested in using llvm to convert C++ code to C code. > > I used the following command to do this: > > > > % llvm-g++ -c foo.cpp -o - | llc -march=c -o foo.cbe.c > > Yup, that'll
2016 Jan 28
2
Find the instructions where a particular value is defined
Sorry, I should ask the following: finds all the instructions of a function where a particular variable is defined? Lets consider the following code snippet: 1. void foo(){ 2. int a, b; 3. if(a > 10) 4. b = 10; 5. if(a<10) 6. b = 5; 7. cout << b; 8. } I would like to know the instructions where variable b can be be defined, i.e, in this case, the instructions 4 and 6. On Wed,
2017 Mar 31
3
Invoking lld for PE/COFF (Windows) linking
...\src\llvm-project\build_mingw\bin\lld-link.exe: warning: t.o: > undefined symbol: _ZNSt8ios_base4InitD1Ev > C:\src\llvm-project\build_mingw\bin\lld-link.exe: warning: t.o: > undefined symbol: __main > C:\src\llvm-project\build_mingw\bin\lld-link.exe: warning: t.o: > undefined symbol: _ZSt4cout > C:\src\llvm-project\build_mingw\bin\lld-link.exe: warning: t.o: > undefined symbol: _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc > error: link failed > clang++.exe: error: linker command failed with exit code 1 (use -v to > see invocation) > > If you pile on enough...
2013 Oct 15
0
[LLVMdev] [llvm-commits] r192750 - Enable MI Sched for x86.
...r_traitsIcEERSt13basic_ostreamIcT_ES5_PKc >> %tmp34 = tail call %"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc( %"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZSt4cout, i8* getelementptr ([13 x i8]* @.str1, i32 0, i32 0) ) ; <%"struct.std::basic_ostream<char,std::char_traits<char> >"*> [#uses=1] >> %tmp3940 = fpext float %tmp1314 to double ; <double> [#uses=1] >> +; CHECK: fld >> ;...