Displaying 6 results from an estimated 6 matches for "metadata_info".
2010 Oct 25
2
[LLVMdev] Prevent instruction elimination
...clang to transform them in metadata information. I want to keep this
information until I run some passes on the *.bc files and manipulate the
code. Then, I delete those "dummy" instructions.
I want to transform this:
#pragma my_pragma {
C/C++ code
C/C++ code
}
into
LLVM_dummy_inst1 , !metadata_info !0
optimized LLVM code
optimized LLVM code
LLVM_dummy_inst2, !metadata_info !1
but if I run this with clang -O2 or with opt -O2, my dummy_inst are removed,
so I cannot find the pragmas in the LLVM IR.
I know that metadata will not prevent the elimination, but I am asking if
there is any way to pr...
2010 Oct 25
0
[LLVMdev] Prevent instruction elimination
On Oct 25, 2010, at 2:13 AM, Xinfinity wrote:
>
> Hello,
>
> Does there exist something like a "dummy" instruction that is not removed by
> the optimizers, even if it seems to be dead code?
> I want to use such instructions to carry metadata information, but they
> should have a minimal impact on the code generation and optimization.
Use of metadata will not
2010 Oct 25
0
[LLVMdev] Prevent instruction elimination
...to keep this
> information until I run some passes on the *.bc files and manipulate the
> code. Then, I delete those "dummy" instructions.
> I want to transform this:
> #pragma my_pragma {
>
> C/C++ code
> C/C++ code
> }
>
> into
> LLVM_dummy_inst1 , !metadata_info !0
> optimized LLVM code
> optimized LLVM code
> LLVM_dummy_inst2, !metadata_info !1
>
> but if I run this with clang -O2 or with opt -O2, my dummy_inst are removed,
> so I cannot find the pragmas in the LLVM IR.
>
> I know that metadata will not prevent the elimination, b...
2010 Oct 25
4
[LLVMdev] Prevent instruction elimination
Hello,
Does there exist something like a "dummy" instruction that is not removed by
the optimizers, even if it seems to be dead code?
I want to use such instructions to carry metadata information, but they
should have a minimal impact on the code generation and optimization. I used
an add instruction:
%0 = add i8 1, 2, !pragma_instrument_mem_add !0 ; <i8> [#uses=0]
which
2004 Aug 06
0
ices2 metadata, script module
...tion:
Is there a way to make ices2 update metadata about the currently playing
song if you're using a script to control the playlist in the input module
config? It seems to be possible with <param name="metadata">1</param> and
<param name="metadatafilename">metadata_info</param> when using the OSS
module, but how does one do this in my situation? It'd be really useful,
'cause none of the files I'm streaming have metadata -- I could use my
playlist script to write the metadata each time the script is invoked,
getting the artist/song data from a MyS...
2004 Aug 06
2
problems setting the sample rate with icecast2 and darkice
...param name="device">/dev/dsp</param>
<param name="rate">44100</param>
<param name="channels">2</param>
<param name="metadata">1</param>
<param name="metadatafilename">metadata_info</param>
<p>
--
Ian Howard
ihoward@uwaterloo.ca
+1 519 888 4567 x5227
GPG ID: D4D3 8028 8750 604D C9B7 6BF8 03CC 75E6 75F4 0388
<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from thi...