Lines Matching refs:isNullValue
47 if (CV->isNullValue()) return Constant::getNullValue(DstTy); in BitCastConstantVector()
259 if (RHS->isNullValue()) in ExtractConstantBytes()
534 if (V->isNullValue() && !DestTy->isX86_MMXTy() && in ConstantFoldCastInstruction()
553 if (!CE->getOperand(i)->isNullValue()) { in ConstantFoldCastInstruction()
621 if (V->isNullValue()) // Is it an integral null value? in ConstantFoldCastInstruction()
626 if (V->isNullValue()) in ConstantFoldCastInstruction()
633 CE->getOperand(0)->isNullValue()) { in ConstantFoldCastInstruction()
647 CE->getOperand(1)->isNullValue()) { in ConstantFoldCastInstruction()
728 if (Cond->isNullValue()) return V2; in ConstantFoldSelectInstruction()
748 V = Cond->isNullValue() ? V2Element : V1Element; in ConstantFoldSelectInstruction()
784 if (Val->isNullValue()) // ee(zero, x) -> zero in ConstantFoldExtractElementInstruction()
1133 assert(!CI2->isNullValue() && "Div by zero handled above"); in ConstantFoldBinaryInstruction()
1136 assert(!CI2->isNullValue() && "Div by zero handled above"); in ConstantFoldBinaryInstruction()
1141 assert(!CI2->isNullValue() && "Div by zero handled above"); in ConstantFoldBinaryInstruction()
1144 assert(!CI2->isNullValue() && "Div by zero handled above"); in ConstantFoldBinaryInstruction()
1539 if (V2->isNullValue() && in evaluateICmpRelation()
1569 if (!CE1->getOperand(i)->isNullValue()) in evaluateICmpRelation()
1593 !CE1->getOperand(1)->isNullValue() && in evaluateICmpRelation()
1649 if (!CE1->getOperand(i)->isNullValue()) { in evaluateICmpRelation()
1657 if (!CE2->getOperand(i)->isNullValue()) { in evaluateICmpRelation()
1713 if (C1->isNullValue()) { in ConstantFoldCompareInstruction()
1723 } else if (C2->isNullValue()) { in ConstantFoldCompareInstruction()
1988 (C1->isNullValue() && !C2->isNullValue())) { in ConstantFoldCompareInstruction()
2006 if (cast<Constant>(Idxs[0])->isNullValue()) return true; in isInBoundsIndices()
2013 if (!cast<Constant>(Idxs[i])->isNullValue()) in isInBoundsIndices()
2055 if ((Idxs.size() == 1 && Idx0->isNullValue())) in ConstantFoldGetElementPtrImpl()
2068 if (C->isNullValue()) { in ConstantFoldGetElementPtrImpl()
2071 if (!cast<Constant>(Idxs[i])->isNullValue()) { in ConstantFoldGetElementPtrImpl()
2117 if (Idx0->isNullValue()) in ConstantFoldGetElementPtrImpl()
2132 if (!Idx0->isNullValue()) { in ConstantFoldGetElementPtrImpl()
2168 if (CE->isCast() && Idxs.size() > 1 && Idx0->isNullValue()) { in ConstantFoldGetElementPtrImpl()