Lines Matching refs:NumOperands
114 unsigned NumOperands = MI.getNumOperands(); in getInstrPartialMappingIdxs() local
115 for (unsigned Idx = 0; Idx < NumOperands; ++Idx) { in getInstrPartialMappingIdxs()
129 unsigned NumOperands = MI.getNumOperands(); in getInstrValueMapping() local
130 for (unsigned Idx = 0; Idx < NumOperands; ++Idx) { in getInstrValueMapping()
149 unsigned NumOperands = MI.getNumOperands(); in getSameOperandsMapping() local
152 if (NumOperands != 3 || (Ty != MRI.getType(MI.getOperand(1).getReg())) || in getSameOperandsMapping()
157 return getInstructionMapping(DefaultMappingID, 1, Mapping, NumOperands); in getSameOperandsMapping()
187 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() local
191 return getInstructionMapping(DefaultMappingID, 1, Mapping, NumOperands); in getInstrMapping()
198 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() local
199 SmallVector<PartialMappingIdx, 4> OpRegBankIdx(NumOperands); in getInstrMapping()
263 SmallVector<const ValueMapping *, 8> OpdsMapping(NumOperands); in getInstrMapping()
268 getOperandsMapping(OpdsMapping), NumOperands); in getInstrMapping()
293 unsigned NumOperands = MI.getNumOperands(); in getInstrAlternativeMappings() local
296 SmallVector<PartialMappingIdx, 4> OpRegBankIdx(NumOperands); in getInstrAlternativeMappings()
300 SmallVector<const ValueMapping *, 8> OpdsMapping(NumOperands); in getInstrAlternativeMappings()
305 /*ID*/ 1, /*Cost*/ 1, getOperandsMapping(OpdsMapping), NumOperands); in getInstrAlternativeMappings()