Lines Matching refs:ConstantVector
85 return ConstantExpr::getBitCast(ConstantVector::get(V), DestPTy); in FoldBitCast()
162 if ((isa<ConstantVector>(V) || isa<ConstantDataVector>(V)) && in ConstantFoldCastInstruction()
173 return ConstantVector::getSplat( in ConstantFoldCastInstruction()
187 return ConstantVector::get(res); in ConstantFoldCastInstruction()
274 if (ConstantVector *CondV = dyn_cast<ConstantVector>(Cond)) { in ConstantFoldSelectInstruction()
300 return ConstantVector::get(Result); in ConstantFoldSelectInstruction()
448 return ConstantVector::get(Result); in ConstantFoldInsertElementInstruction()
475 return ConstantVector::getSplat(MaskEltCount, Elt); in ConstantFoldShuffleVectorInstruction()
508 return ConstantVector::get(Result); in ConstantFoldShuffleVectorInstruction()
589 return ConstantVector::getSplat(VTy->getElementCount(), Elt); in ConstantFoldUnaryInstruction()
602 return ConstantVector::get(Result); in ConstantFoldUnaryInstruction()
907 return ConstantVector::getSplat(VTy->getElementCount(), Res); in ConstantFoldBinaryInstruction()
932 return ConstantVector::get(Result); in ConstantFoldBinaryInstruction()
1203 return ConstantVector::getSplat(C1VTy->getElementCount(), Elt); in ConstantFoldCompareInstruction()
1228 return ConstantVector::get(ResElts); in ConstantFoldCompareInstruction()
1365 ? ConstantVector::getSplat( in ConstantFoldGetElementPtr()