[LLVMdev] CodeGen instructions and patterns

Jim Grosbach grosbach at apple.com
Fri Feb 24 08:58:23 PST 2012


Hi Omer,

On Feb 24, 2012, at 8:46 AM, محمد ﻋﻤﺮ ﺩﻫﻠﻮﻯ <omerbeg at gmail.com> wrote:

> Is there a generic function that gives the machine instructions and their patterns given in the .td files of a backend specification ?
> or a subset which match a certain opcode ?

I'm not aware of any dump utility functions to display that information concisely.  I agree such a thing would be useful.

> otherwise how are the machine instructions being accessed/matched for instruction selection ?
> 

Have a look at the code in SelectionDAGISel.

Regards,
-Jim

> -Omer
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev





More information about the llvm-dev mailing list