[LLVMdev] TableGen backend support to express relations between instruction

Hal Finkel hfinkel at anl.gov
Tue Aug 28 11:27:16 PDT 2012


Jyotsna,

I hadn't been following this, so I apologize if this has already been
provided, but can you give a quick example of how this functionality is
used?

Thanks in advance,
Hal

On Tue, 28 Aug 2012 13:01:17 -0500
"Jyotsna Verma" <jverma at codeaurora.org> wrote:

> Hi Jakob,
> 
> Here is the first draft of the patch to add TableGen backend support
> for the instruction mapping tables. Please take a look and let me
> know your suggestions. As of now, I create one mapping table per
> relation which results into a long .inc file. So, I'm planning to
> combine everything into a single table and will include APIs (one per
> relation) to query from this table. 
> 
> Thanks,
> Jyotsna
> --
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum.
> 
> 
> -----Original Message-----
> From: llvmdev-bounces at cs.uiuc.edu
> [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Jyotsna Verma
> Sent: Tuesday, August 21, 2012 12:42 PM
> To: 'Jakob Stoklund Olesen'
> Cc: llvmdev at cs.uiuc.edu
> Subject: Re: [LLVMdev] TableGen related question for the Hexagon
> backend
> 
> Sounds good. I've started adding TableGen backend support to emit
> relationship table into a .inc file. Hoping to finish it soon. 
> 
> Thanks for all your help.
> 
> -Jyotsna
> --
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum.
> 
> 
> -----Original Message-----
> From: Jakob Stoklund Olesen [mailto:stoklund at 2pi.dk]
> Sent: Tuesday, August 21, 2012 11:28 AM
> To: Jyotsna Verma
> Cc: llvmdev at cs.uiuc.edu
> Subject: Re: [LLVMdev] TableGen related question for the Hexagon
> backend
> 
> 
> On Aug 20, 2012, at 9:22 PM, Jyotsna Verma <jverma at codeaurora.org>
> wrote:
> 
> > Jakob,
> > 
> > One more question. You had suggested 'ValueCols' as of type 
> > list<list<string> >. Does the TableGen know how to extract it? It 
> > appears to me that we may have to add support for that.
> 
> You just start from getValueAsListInit() and go from there.
> 
> /jakob
> 
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev



-- 
Hal Finkel
Postdoctoral Appointee
Leadership Computing Facility
Argonne National Laboratory



More information about the llvm-dev mailing list