Lines Matching refs:ElemTy
606 Type *ElemTy = STy->getElementType(i); in getConstantValue() local
607 if (ElemTy->isIntegerTy()) in getConstantValue()
609 APInt(ElemTy->getPrimitiveSizeInBits(), 0); in getConstantValue()
610 else if (ElemTy->isAggregateType()) { in getConstantValue()
611 const Constant *ElemUndef = UndefValue::get(ElemTy); in getConstantValue()
624 Type *ElemTy = VTy->getElementType(); in getConstantValue() local
627 if (ElemTy->isIntegerTy()) in getConstantValue()
630 APInt(ElemTy->getPrimitiveSizeInBits(), 0); in getConstantValue()
916 Type* ElemTy; in getConstantValue() local
923 ElemTy = CDV->getElementType(); in getConstantValue()
927 ElemTy = VTy->getElementType(); in getConstantValue()
934 if(ElemTy->isFloatTy()) { in getConstantValue()
956 if (ElemTy->isDoubleTy()) { in getConstantValue()
978 if (ElemTy->isIntegerTy()) { in getConstantValue()
981 intZero.IntVal = APInt(ElemTy->getScalarSizeInBits(), 0ull); in getConstantValue()