search for: getmaxinstrindex

Displaying 1 result from an estimated 1 matches for "getmaxinstrindex".

2009 Jan 27
1
[LLVMdev] Get Maximum Instruction Index
Hi, guys, sometimes it would be good if I could get the maximum instruction index from the set of live intervals. In my local version I have added this method to LiveIntervals: /// Return the maximum index among the instruction indices. inline unsigned getMaxInstrIndex() const { return i2miMap_.size() * InstrSlots::NUM; } Is there something like this already in LiveIntervals? Do you guys think it could be added as a patch? All the best, Fernando