Lines Matching refs:isNullValue
49 if (CV->isNullValue()) return Constant::getNullValue(DstTy); in BitCastConstantVector()
258 if (RHS->isNullValue()) in ExtractConstantBytes()
536 if (V->isNullValue() && !DestTy->isX86_MMXTy()) in ConstantFoldCastInstruction()
554 if (!CE->getOperand(i)->isNullValue()) { in ConstantFoldCastInstruction()
622 if (V->isNullValue()) // Is it an integral null value? in ConstantFoldCastInstruction()
627 if (V->isNullValue()) in ConstantFoldCastInstruction()
634 CE->getOperand(0)->isNullValue()) { in ConstantFoldCastInstruction()
648 CE->getOperand(1)->isNullValue()) { in ConstantFoldCastInstruction()
729 if (Cond->isNullValue()) return V2; in ConstantFoldSelectInstruction()
749 V = Cond->isNullValue() ? V2Element : V1Element; in ConstantFoldSelectInstruction()
785 if (Val->isNullValue()) // ee(zero, x) -> zero in ConstantFoldExtractElementInstruction()
1120 assert(!CI2->isNullValue() && "Div by zero handled above"); in ConstantFoldBinaryInstruction()
1123 assert(!CI2->isNullValue() && "Div by zero handled above"); in ConstantFoldBinaryInstruction()
1128 assert(!CI2->isNullValue() && "Div by zero handled above"); in ConstantFoldBinaryInstruction()
1131 assert(!CI2->isNullValue() && "Div by zero handled above"); in ConstantFoldBinaryInstruction()
1522 if (V2->isNullValue() && in evaluateICmpRelation()
1552 if (!CE1->getOperand(i)->isNullValue()) in evaluateICmpRelation()
1576 !CE1->getOperand(1)->isNullValue() && in evaluateICmpRelation()
1632 if (!CE1->getOperand(i)->isNullValue()) { in evaluateICmpRelation()
1640 if (!CE2->getOperand(i)->isNullValue()) { in evaluateICmpRelation()
1696 if (C1->isNullValue()) { in ConstantFoldCompareInstruction()
1706 } else if (C2->isNullValue()) { in ConstantFoldCompareInstruction()
1971 (C1->isNullValue() && !C2->isNullValue())) { in ConstantFoldCompareInstruction()
1990 if (cast<Constant>(Idxs[0])->isNullValue()) return true; in isInBoundsIndices()
1997 if (!cast<Constant>(Idxs[i])->isNullValue()) in isInBoundsIndices()
2039 if ((Idxs.size() == 1 && Idx0->isNullValue())) in ConstantFoldGetElementPtrImpl()
2050 if (C->isNullValue()) { in ConstantFoldGetElementPtrImpl()
2053 if (!cast<Constant>(Idxs[i])->isNullValue()) { in ConstantFoldGetElementPtrImpl()
2097 if (Idx0->isNullValue()) in ConstantFoldGetElementPtrImpl()
2112 if (!Idx0->isNullValue()) { in ConstantFoldGetElementPtrImpl()
2148 if (CE->isCast() && Idxs.size() > 1 && Idx0->isNullValue()) { in ConstantFoldGetElementPtrImpl()