Home
last modified time | relevance | path

Searched refs:CheapIndex (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/llvm/lib/Transforms/Vectorize/
DVectorCombine.cpp667 int CheapIndex = ConvertToShuf == Ext0 ? Index1 : Index0; in foldExtractedCmps() local
674 NewCost += TTI.getVectorInstrCost(Ext0->getOpcode(), CmpTy, CheapIndex); in foldExtractedCmps()
689 Value *Shuf = createShiftShuffle(VCmp, ExpensiveIndex, CheapIndex, Builder); in foldExtractedCmps()
692 Value *NewExt = Builder.CreateExtractElement(VecLogic, CheapIndex); in foldExtractedCmps()