search for: getinstrcycl

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

Did you mean: getinstrcycles
2015 Feb 04
2
[LLVMdev] Question on Machine Combiner Pass
...f APIs for the current and new instructions: For new instruction we use: unsigned NewRootDepth = getDepth(InsInstrs, InstrIdxForVirtReg, BlockTrace); unsigned NewRootLatency = getLatency(Root, NewRoot, BlockTrace); While for the current instruction we use: unsigned RootDepth = BlockTrace.getInstrCycles(Root).Depth; unsigned RootLatency = TSchedModel.computeInstrLatency(Root); This is related to the following commit: commit e4fa341dde3c9521b7f11bd53ecdcbeb3f8fcbda Author: Gerolf Hoflehner <ghoflehner at apple.com <mailto:ghoflehner at apple.com> > Date: Thu Aug 7 21:40:58 2...