[llvm-dev] a bundle with one instruction

Krzysztof Parzyszek via llvm-dev llvm-dev at lists.llvm.org
Tue Feb 16 11:19:01 PST 2016

On 2/16/2016 12:36 PM, Rail Shafigulin wrote:
>     No problem.  At some point the machine instructions represented by a
>     class "MachineInstr" are transformed into a representation using
>     class "MCInst".  This is the MC level I'm talking about.  It's the
>     representation that the llvm-mc uses.
> Do you mind pointing out where in the code this is happening?

For Hexagon, it happens in lib/Target/Hexagon/HexagonMCInstLower.cpp. 
In function "HexagonLowerToMC" to be exact.

For other targets, look in lib/Target/<target>/*MCInstLower.cpp


Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
hosted by The Linux Foundation

More information about the llvm-dev mailing list