Displaying 1 result from an estimated 1 matches for "lfunction".
Did you mean:
function
2010 Nov 11
0
[LLVMdev] string constant propagation
...handle constant propagation for
complex types in LLVM. For example, my language needs to be able to
simplify expressions involving strings by precomputing (in my own
constant propagation pass) various external function calls. Here's an
example program:
----------------
; ModuleID = 'LFunction'
declare i8* @"set at SS"([5 x i8])
declare void @"printf at S"([4 x i8], i8*)
define void @strings() {
entry:
%0 = tail call i8* @"set at SS"([5 x i8] c"abcd\00") ; <i8*> [#uses=1]
tail call void @"printf at S"([4 x i8] c"%s...