Lines Matching refs:getNullValue
47 if (CV->isNullValue()) return Constant::getNullValue(DstTy); in BitCastConstantVector()
113 Constant::getNullValue(Type::getInt32Ty(DPTy->getContext())); in FoldBitCast()
146 return Constant::getNullValue(DestTy); in FoldBitCast()
279 return Constant::getNullValue(IntegerType::get(CE->getContext(), in ExtractConstantBytes()
301 return Constant::getNullValue(IntegerType::get(CE->getContext(), in ExtractConstantBytes()
317 return Constant::getNullValue(IntegerType::get(CE->getContext(), in ExtractConstantBytes()
364 return ConstantExpr::getNullValue(DestTy); in getFoldedSizeOf()
530 return Constant::getNullValue(DestTy); in ConstantFoldCastInstruction()
536 return Constant::getNullValue(DestTy); in ConstantFoldCastInstruction()
673 APInt::getNullValue(DestTy->getPrimitiveSizeInBits())); in ConstantFoldCastInstruction()
785 return Constant::getNullValue(Val->getType()->getVectorElementType()); in ConstantFoldExtractElementInstruction()
927 return Constant::getNullValue(C1->getType()); in ConstantFoldBinaryInstruction()
935 return Constant::getNullValue(C1->getType()); // undef & X -> 0 in ConstantFoldBinaryInstruction()
947 return Constant::getNullValue(C1->getType()); in ConstantFoldBinaryInstruction()
959 return Constant::getNullValue(C1->getType()); in ConstantFoldBinaryInstruction()
969 return Constant::getNullValue(C1->getType()); in ConstantFoldBinaryInstruction()
982 return Constant::getNullValue(C1->getType()); in ConstantFoldBinaryInstruction()
992 return Constant::getNullValue(C1->getType()); in ConstantFoldBinaryInstruction()
1001 return Constant::getNullValue(C1->getType()); in ConstantFoldBinaryInstruction()
1042 return Constant::getNullValue(CI2->getType()); // X % 1 == 0 in ConstantFoldBinaryInstruction()
1079 return Constant::getNullValue(CI2->getType()); in ConstantFoldBinaryInstruction()
1544 Constant::getNullValue(CE1Op0->getType()), in evaluateICmpRelation()
1687 return Constant::getNullValue(ResultTy); in ConstantFoldCompareInstruction()
1770 case FCmpInst::FCMP_FALSE: return Constant::getNullValue(ResultTy); in ConstantFoldCompareInstruction()
2083 return Constant::getNullValue(GEPTy); in ConstantFoldGetElementPtrImpl()