[llvm-dev] InstrStage, Interpretation of getUnits()

Rail Shafigulin via llvm-dev
2015-12-04T22:20:34Z

Here is the code
<https://github.com/llvm-mirror/llvm/blob/c68dcdb413079d92118839dbd835e125293f411a/include/llvm/MC/MCInstrItineraries.h#L75>
for InstrStage::getUnits()

/// \brief Returns the choice of FUs.
unsigned getUnits() const { return Units_; }

This method returns an integer. How does one interpret it? As far as I see
it it should tell me what resources are used by a given stage but I can't
figure out what a return value means. Would anyone care to help?

Thanks,

--
Rail Shafigulin
Software Engineer
Esencia Technologies
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20151204/52867324/attachment-0001.html>