[LLVMdev] attach metadata to argument/basicblock/function

ether zhhb etherzhhb at gmail.com
Tue Dec 22 01:40:53 PST 2009

hi all,

i have a pass that wants to attach metadata to argument for later
optimization pass, but i found that MetadataConext only have a method
"void addMD(unsigned Kind, MDNode *Node, Instruction *Inst);", so,
attaching metadata to LLVM Values other rather than Instruction is not
support yet?



More information about the llvm-dev mailing list