Lines Matching refs:getNullValue
48 if (CV->isNullValue()) return Constant::getNullValue(DstTy); in BitCastConstantVector()
114 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()
363 return ConstantExpr::getNullValue(DestTy); in getFoldedSizeOf()
527 return Constant::getNullValue(DestTy); in ConstantFoldCastInstruction()
533 return Constant::getNullValue(DestTy); in ConstantFoldCastInstruction()
684 APInt::getNullValue(DestTy->getPrimitiveSizeInBits())); in ConstantFoldCastInstruction()
791 return Constant::getNullValue(Val->getType()->getVectorElementType()); in ConstantFoldExtractElementInstruction()
932 return Constant::getNullValue(C1->getType()); in ConstantFoldBinaryInstruction()
940 return Constant::getNullValue(C1->getType()); // undef & X -> 0 in ConstantFoldBinaryInstruction()
952 return Constant::getNullValue(C1->getType()); in ConstantFoldBinaryInstruction()
964 return Constant::getNullValue(C1->getType()); in ConstantFoldBinaryInstruction()
974 return Constant::getNullValue(C1->getType()); in ConstantFoldBinaryInstruction()
987 return Constant::getNullValue(C1->getType()); in ConstantFoldBinaryInstruction()
997 return Constant::getNullValue(C1->getType()); in ConstantFoldBinaryInstruction()
1006 return Constant::getNullValue(C1->getType()); in ConstantFoldBinaryInstruction()
1055 return Constant::getNullValue(CI2->getType()); // X % 1 == 0 in ConstantFoldBinaryInstruction()
1092 return Constant::getNullValue(CI2->getType()); in ConstantFoldBinaryInstruction()
1564 Constant::getNullValue(CE1Op0->getType()), in evaluateICmpRelation()
1708 return Constant::getNullValue(ResultTy); in ConstantFoldCompareInstruction()
1795 case FCmpInst::FCMP_FALSE: return Constant::getNullValue(ResultTy); in ConstantFoldCompareInstruction()
2114 return Constant::getNullValue(GEPTy); in ConstantFoldGetElementPtr()