Displaying 3 results from an estimated 3 matches for "i312".
Did you mean:
312
2008 Jul 24
0
[LLVMdev] weird function
...it possible to create
LLVM IR with all libraries defined inside (or linked with another bitcode
libraries) ?
Maybe it looks like that:
....
%tmp183 = tail call i32 (i8*, ...)* @printf( i8* getelementptr ([13 x i8]*
@.str1, i32 0, i32 0), i32 %tmp182 ) nounwind
tail call void @_ZdlPv( i8* %tmp432.i312 ) nounwind
....
define i32 @printf(i8*, ...) nounwind {
... // LLVM instructions
}
define i8* @_Znwj(i32) {
... // LLVM instructions
}
Thank for any advice
Quang
-----Ursprüngliche Nachricht-----
Von: Duncan Sands [mailto:baldrick at free.fr]
Gesendet: Donnerstag, 24. Juli 2008 17:49
An: llvmde...
2008 Jul 24
2
[LLVMdev] weird function
Hi,
> thank for your answer. Is there any document/tutorial about linking
> bytecode file with libstdc++ avaiable ?
first you need to compile the bitcode to assembler using llc.
For example:
llc bitcode.bc
This produces bitcode.s. Turn this into a executable using:
llvm-g++ -o bitcode bitcode.s
or
g++ -o bitcode bitcode.s
It doesn't matter which g++ you use here. Using g++
2013 Feb 14
1
[LLVMdev] LiveIntervals analysis problem
...v1.i306, 1
%conv2.i308 = trunc i32 %or.i307 to i16
br label %if.end.i315
if.end.i315: ; preds = %if.then.i309, %for.body.i305
%bits.1.i310 = phi i16 [ %conv2.i308, %if.then.i309 ], [ %bits.024.i301, %for.body.i305 ]
%shr22.i311 = lshr i16 %7, 1
%conv5.i312 = zext i16 %bits.1.i310 to i32
%and6.i313 = and i32 %conv5.i312, 2
%tobool7.i314 = icmp eq i32 %and6.i313, 0
br i1 %tobool7.i314, label %if.end12.i326, label %if.then8.i319
if.then8.i319: ; preds = %if.end.i315
%conv9.i316 = zext i16 %shr22.i311 to i32...