search for: valuetopoolnodes

Displaying 2 results from an estimated 2 matches for "valuetopoolnodes".

2011 Dec 22
0
[LLVMdev] creating new Metadata
...filled with some constants, and > attach them > to llvm instructions. However, the metadata map is not getting updated > as expected. > For example, instead of the expected new entry If you look at PoolMDPass::runOnModule(), you'll see that the MDNodes are stored in a container (ValueToPoolNodes) and that they are added as operands to a NamedMDNode. I think you have to make your MDNodes operands of a NamedMDNode in order to get them to work properly. -- John T. > > !n = metadata !{some values} > > we are getting > > !n = metadata !{null} > > Do you know what mi...
2011 Dec 22
3
[LLVMdev] creating new Metadata
Hello, Thank you very much for the pointers. I am are able to create new MDNodes, filled with some constants, and attach them to llvm instructions. However, the metadata map is not getting updated as expected. For example, instead of the expected new entry !n = metadata !{some values} we are getting !n = metadata !{null} Do you know what might be wrong? Do we need to enter the MDNodes into the