[LLVMdev] associating id with opcodes
shreyas krishnan
shreyas76 at gmail.com
Sun Aug 14 10:05:15 PDT 2011
I am sorry, I actually meant Machine Instructions - is there a way ?
One use of that is I would like to be able to group instructions
together and be able check their group quickly.
thanks
shrey
On Sun, Aug 14, 2011 at 1:16 AM, Bill Wendling <wendling at apple.com> wrote:
> 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