Lines Matching refs:ConstantVector
65 return ConstantVector::getSplat(DstTy->getElementCount(), in BitCastConstantVector()
78 return ConstantVector::get(Result); in BitCastConstantVector()
159 return ConstantExpr::getBitCast(ConstantVector::get(V), DestPTy); in FoldBitCast()
406 if ((isa<ConstantVector>(V) || isa<ConstantDataVector>(V)) && in ConstantFoldCastInstruction()
414 return ConstantVector::getSplat( in ConstantFoldCastInstruction()
427 return ConstantVector::get(res); in ConstantFoldCastInstruction()
536 if (ConstantVector *CondV = dyn_cast<ConstantVector>(Cond)) { in ConstantFoldSelectInstruction()
562 return ConstantVector::get(Result); in ConstantFoldSelectInstruction()
713 return ConstantVector::get(Result); in ConstantFoldInsertElementInstruction()
736 return ConstantVector::getSplat(MaskEltCount, Elt); in ConstantFoldShuffleVectorInstruction()
768 return ConstantVector::get(Result); in ConstantFoldShuffleVectorInstruction()
849 return ConstantVector::getSplat(VTy->getElementCount(), Elt); in ConstantFoldUnaryInstruction()
861 return ConstantVector::get(Result); in ConstantFoldUnaryInstruction()
1217 return ConstantVector::getSplat( in ConstantFoldBinaryInstruction()
1239 return ConstantVector::get(Result); in ConstantFoldBinaryInstruction()
1853 return ConstantVector::getSplat( in ConstantFoldCompareInstruction()
1877 return ConstantVector::get(ResElts); in ConstantFoldCompareInstruction()
2216 ? ConstantVector::getSplat( in ConstantFoldGetElementPtr()