[LLVMdev] associating id with opcodes

Bill Wendling wendling at apple.com
Sun Aug 14 01:16:28 PDT 2011


On Aug 13, 2011, at 11:04 AM, shreyas krishnan wrote:

> Hi
>    Is there a way to associate  additional info with every opcode
> like an id either through the td files or when building an instruction
> ?
> 
The only way I can think of is metadata on the LLVM IR instruction:

	http://llvm.org/docs/LangRef.html#metadata

-bw





More information about the llvm-dev mailing list