search for: pronting

Displaying 1 result from an estimated 1 matches for "pronting".

Did you mean: printing
2016 Nov 14
2
getting the value back from metadata
...ls); Is it possible to extract the value of the constant int (135 in this case)? I tried using MetaDataAsValue as follows: cast<ConstantInt>(MetadataAsValue::get(context, mdnode->getOperand(1)))->getZExtValue() but I get NULL... (although when pronting the MetadataAsValue I do see "i32 135") maybe the MDNode should be built in a different manner? Thanks! Alon -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161114/bcd300a0/attachment.ht...