Lines Matching refs:ConstantVector
63 return ConstantVector::getSplat(DstTy->getElementCount(), in BitCastConstantVector()
76 return ConstantVector::get(Result); in BitCastConstantVector()
157 return ConstantExpr::getBitCast(ConstantVector::get(V), DestPTy); in FoldBitCast()
404 if ((isa<ConstantVector>(V) || isa<ConstantDataVector>(V)) && in ConstantFoldCastInstruction()
412 return ConstantVector::getSplat( in ConstantFoldCastInstruction()
425 return ConstantVector::get(res); in ConstantFoldCastInstruction()
528 if (ConstantVector *CondV = dyn_cast<ConstantVector>(Cond)) { in ConstantFoldSelectInstruction()
554 return ConstantVector::get(Result); in ConstantFoldSelectInstruction()
713 return ConstantVector::get(Result); in ConstantFoldInsertElementInstruction()
740 return ConstantVector::getSplat(MaskEltCount, Elt); in ConstantFoldShuffleVectorInstruction()
772 return ConstantVector::get(Result); in ConstantFoldShuffleVectorInstruction()
853 return ConstantVector::getSplat(VTy->getElementCount(), Elt); in ConstantFoldUnaryInstruction()
865 return ConstantVector::get(Result); in ConstantFoldUnaryInstruction()
1227 return ConstantVector::getSplat(VTy->getElementCount(), Res); in ConstantFoldBinaryInstruction()
1252 return ConstantVector::get(Result); in ConstantFoldBinaryInstruction()
1682 return ConstantVector::getSplat( in ConstantFoldCompareInstruction()
1706 return ConstantVector::get(ResElts); in ConstantFoldCompareInstruction()
2060 ? ConstantVector::getSplat( in ConstantFoldGetElementPtr()