Lines Matching refs:ConstantVector
85 return ConstantExpr::getBitCast(ConstantVector::get(V), DestPTy); in FoldBitCast()
222 if ((isa<ConstantVector>(V) || isa<ConstantDataVector>(V)) && in ConstantFoldCastInstruction()
233 return ConstantVector::getSplat( in ConstantFoldCastInstruction()
247 return ConstantVector::get(res); in ConstantFoldCastInstruction()
342 if (ConstantVector *CondV = dyn_cast<ConstantVector>(Cond)) { in ConstantFoldSelectInstruction()
368 return ConstantVector::get(Result); in ConstantFoldSelectInstruction()
516 return ConstantVector::get(Result); in ConstantFoldInsertElementInstruction()
543 return ConstantVector::getSplat(MaskEltCount, Elt); in ConstantFoldShuffleVectorInstruction()
575 return ConstantVector::get(Result); in ConstantFoldShuffleVectorInstruction()
656 return ConstantVector::getSplat(VTy->getElementCount(), Elt); in ConstantFoldUnaryInstruction()
669 return ConstantVector::get(Result); in ConstantFoldUnaryInstruction()
990 return ConstantVector::getSplat(VTy->getElementCount(), Res); in ConstantFoldBinaryInstruction()
1015 return ConstantVector::get(Result); in ConstantFoldBinaryInstruction()
1285 return ConstantVector::getSplat( in ConstantFoldCompareInstruction()
1309 return ConstantVector::get(ResElts); in ConstantFoldCompareInstruction()
1570 ? ConstantVector::getSplat( in ConstantFoldGetElementPtr()