Searched refs:InElt (Results 1 – 2 of 2) sorted by relevance
861 Constant *InElt = GetVectorElement(Mask, i); in ConstantFoldShuffleVectorInstruction() local862 if (InElt == 0) return 0; in ConstantFoldShuffleVectorInstruction()864 if (isa<UndefValue>(InElt)) in ConstantFoldShuffleVectorInstruction()865 InElt = UndefValue::get(EltTy); in ConstantFoldShuffleVectorInstruction()866 else if (ConstantInt *CI = dyn_cast<ConstantInt>(InElt)) { in ConstantFoldShuffleVectorInstruction()869 InElt = UndefValue::get(EltTy); in ConstantFoldShuffleVectorInstruction()871 InElt = GetVectorElement(V2, Elt - SrcNumElts); in ConstantFoldShuffleVectorInstruction()873 InElt = GetVectorElement(V1, Elt); in ConstantFoldShuffleVectorInstruction()874 if (InElt == 0) return 0; in ConstantFoldShuffleVectorInstruction()879 Result.push_back(InElt); in ConstantFoldShuffleVectorInstruction()
852 Constant *InElt; in ConstantFoldShuffleVectorInstruction() local854 InElt = UndefValue::get(EltTy); in ConstantFoldShuffleVectorInstruction()857 InElt = in ConstantFoldShuffleVectorInstruction()862 InElt = ConstantExpr::getExtractElement(V1, ConstantInt::get(Ty, Elt)); in ConstantFoldShuffleVectorInstruction()864 Result.push_back(InElt); in ConstantFoldShuffleVectorInstruction()