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()
623 Type *ElemTy = ArrTy->getElementType(); in getConstantValue() local
626 if (ElemTy->isIntegerTy()) in getConstantValue()
629 APInt(ElemTy->getPrimitiveSizeInBits(), 0); in getConstantValue()
635 Type *ElemTy = VTy->getElementType(); in getConstantValue() local
638 if (ElemTy->isIntegerTy()) in getConstantValue()
641 APInt(ElemTy->getPrimitiveSizeInBits(), 0); in getConstantValue()
934 Type* ElemTy; in getConstantValue() local
941 ElemTy = CDV->getElementType(); in getConstantValue()
945 ElemTy = VTy->getElementType(); in getConstantValue()
952 if(ElemTy->isFloatTy()) { in getConstantValue()
974 if (ElemTy->isDoubleTy()) { in getConstantValue()
996 if (ElemTy->isIntegerTy()) { in getConstantValue()
999 intZero.IntVal = APInt(ElemTy->getScalarSizeInBits(), 0ull); in getConstantValue()