Lines Matching refs:Inst
151 /// \brief Gets latency information for \p Inst from the itinerary
155 static int getItineraryLatency(LLVMDisasmContext *DC, const MCInst &Inst) {
166 const MCInstrDesc& Desc = DC->getInstrInfo()->get(Inst.getOpcode());
170 for (unsigned OpIdx = 0, OpIdxEnd = Inst.getNumOperands(); OpIdx != OpIdxEnd;
177 /// \brief Gets latency information for \p Inst, based on \p DC information.
180 static int getLatency(LLVMDisasmContext *DC, const MCInst &Inst) {
190 return getItineraryLatency(DC, Inst);
193 const MCInstrDesc& Desc = DC->getInstrInfo()->get(Inst.getOpcode());
215 /// \brief Emits latency information in DC->CommentStream for \p Inst, based
217 static void emitLatency(LLVMDisasmContext *DC, const MCInst &Inst) {
218 int Latency = getLatency(DC, Inst);
247 MCInst Inst;
253 S = DisAsm->getInstruction(Inst, Size, Data, PC,
267 IP->printInst(&Inst, FormattedOS, AnnotationsStr, *DC->getSubtargetInfo());
270 emitLatency(DC, Inst);