Lines Matching refs:Idx
191 int Idx = CostTableLookup<MVT>(AVX1CostTable, array_lengthof(AVX1CostTable), in getArithmeticInstrCost() local
193 if (Idx != -1) in getArithmeticInstrCost()
194 return LT.first * AVX1CostTable[Idx].Cost; in getArithmeticInstrCost()
204 int Idx = CostTableLookup<MVT>(CustomLowered, array_lengthof(CustomLowered), in getArithmeticInstrCost() local
206 if (Idx != -1) in getArithmeticInstrCost()
207 return LT.first * CustomLowered[Idx].Cost; in getArithmeticInstrCost()
266 int Idx = ConvertCostTableLookup<MVT>(AVXConversionTbl, in getCastInstrCost() local
269 if (Idx != -1) in getCastInstrCost()
270 return AVXConversionTbl[Idx].Cost; in getCastInstrCost()
313 int Idx = CostTableLookup<MVT>(AVX2CostTbl, array_lengthof(AVX2CostTbl), ISD, MTy); in getCmpSelInstrCost() local
314 if (Idx != -1) in getCmpSelInstrCost()
315 return LT.first * AVX2CostTbl[Idx].Cost; in getCmpSelInstrCost()
319 int Idx = CostTableLookup<MVT>(AVX1CostTbl, array_lengthof(AVX1CostTbl), ISD, MTy); in getCmpSelInstrCost() local
320 if (Idx != -1) in getCmpSelInstrCost()
321 return LT.first * AVX1CostTbl[Idx].Cost; in getCmpSelInstrCost()
325 int Idx = CostTableLookup<MVT>(SSE42CostTbl, array_lengthof(SSE42CostTbl), ISD, MTy); in getCmpSelInstrCost() local
326 if (Idx != -1) in getCmpSelInstrCost()
327 return LT.first * SSE42CostTbl[Idx].Cost; in getCmpSelInstrCost()