Lines Matching refs:isNullValue

48   if (CV->isNullValue()) return Constant::getNullValue(DstTy);  in BitCastConstantVector()
259 if (RHS->isNullValue()) in ExtractConstantBytes()
531 if (V->isNullValue() && !DestTy->isX86_MMXTy() && in ConstantFoldCastInstruction()
557 if (!CE->getOperand(i)->isNullValue()) { in ConstantFoldCastInstruction()
623 if (V->isNullValue()) // Is it an integral null value? in ConstantFoldCastInstruction()
628 if (V->isNullValue()) in ConstantFoldCastInstruction()
635 CE->getOperand(0)->isNullValue()) { in ConstantFoldCastInstruction()
658 CE->getOperand(1)->isNullValue()) { in ConstantFoldCastInstruction()
734 if (Cond->isNullValue()) return V2; in ConstantFoldSelectInstruction()
754 V = Cond->isNullValue() ? V2Element : V1Element; in ConstantFoldSelectInstruction()
790 if (Val->isNullValue()) // ee(zero, x) -> zero in ConstantFoldExtractElementInstruction()
1230 if (Instruction::isIntDivRem(Opcode) && RHS->isNullValue()) in ConstantFoldBinaryInstruction()
1560 if (V2->isNullValue() && CE1->getType()->isIntOrPtrTy()) { in evaluateICmpRelation()
1589 if (!CE1->getOperand(i)->isNullValue()) in evaluateICmpRelation()
1613 !CE1->getOperand(1)->isNullValue() && in evaluateICmpRelation()
1669 if (!CE1->getOperand(i)->isNullValue()) { in evaluateICmpRelation()
1677 if (!CE2->getOperand(i)->isNullValue()) { in evaluateICmpRelation()
1734 if (C1->isNullValue()) { in ConstantFoldCompareInstruction()
1746 } else if (C2->isNullValue()) { in ConstantFoldCompareInstruction()
2013 (C1->isNullValue() && !C2->isNullValue())) { in ConstantFoldCompareInstruction()
2031 if (cast<Constant>(Idxs[0])->isNullValue()) return true; in isInBoundsIndices()
2046 if (!cast<Constant>(Idxs[i])->isNullValue()) in isInBoundsIndices()
2081 if (Idxs.size() == 1 && (Idx0->isNullValue() || isa<UndefValue>(Idx0))) in ConstantFoldGetElementPtr()
2087 if (C->isNullValue()) { in ConstantFoldGetElementPtr()
2091 !cast<Constant>(Idxs[i])->isNullValue()) { in ConstantFoldGetElementPtr()
2149 if (Idx0->isNullValue()) in ConstantFoldGetElementPtr()
2169 if (!Idx0->isNullValue()) { in ConstantFoldGetElementPtr()
2195 if (IRIndex && *IRIndex == CE->getNumOperands() - 2 && !Idx0->isNullValue()) in ConstantFoldGetElementPtr()
2214 if (CE->isCast() && Idxs.size() > 1 && Idx0->isNullValue()) { in ConstantFoldGetElementPtr()