[LLVMdev] Querying instruction classes

Evandro Menezes emenezes at codeaurora.org
Mon Nov 28 17:03:39 PST 2011


I'd appreciate some help in figuring out how to determine which 
InstrItinClass an instruction belongs to.

For example, an InstrItinClass is defined in Schedule.td as:

def FOO : InstrItinClass;

Which is then used to build an InstrItinData in ProcessorItineraries and 
to specify the class of a particular instruction.

I'd like to find out from a given instruction which class it belongs to, 
"FOO" or any other.

TIA

-- 
Evandro Menezes        Austin, TX        emenezes at codeaurora.org
Qualcomm Innovation Center, Inc is a member of Code Aurora Forum




More information about the llvm-dev mailing list