Lines Matching refs:isNullValue

48   if (CV->isNullValue()) return Constant::getNullValue(DstTy);  in BitCastConstantVector()
262 if (RHS->isNullValue()) in ExtractConstantBytes()
367 if (V->isNullValue() && !DestTy->isX86_MMXTy() && !DestTy->isX86_AMXTy() && in ConstantFoldCastInstruction()
393 if (!CE->getOperand(i)->isNullValue()) { in ConstantFoldCastInstruction()
468 if (V->isNullValue()) // Is it an integral null value? in ConstantFoldCastInstruction()
473 if (V->isNullValue()) in ConstantFoldCastInstruction()
532 if (Cond->isNullValue()) return V2; in ConstantFoldSelectInstruction()
555 V = Cond->isNullValue() ? V2Element : V1Element; in ConstantFoldSelectInstruction()
1214 if (Instruction::isIntDivRem(Opcode) && C2Splat->isNullValue()) in ConstantFoldBinaryInstruction()
1233 if (Instruction::isIntDivRem(Opcode) && RHS->isNullValue()) in ConstantFoldBinaryInstruction()
1571 if (V2->isNullValue() && CE1->getType()->isIntOrPtrTy()) { in evaluateICmpRelation()
1596 if (!CE1->getOperand(i)->isNullValue()) in evaluateICmpRelation()
1616 !CE1->getOperand(1)->isNullValue() && in evaluateICmpRelation()
1672 if (!CE1->getOperand(i)->isNullValue()) { in evaluateICmpRelation()
1680 if (!CE2->getOperand(i)->isNullValue()) { in evaluateICmpRelation()
1740 if (C1->isNullValue()) { in ConstantFoldCompareInstruction()
1752 } else if (C2->isNullValue()) { in ConstantFoldCompareInstruction()
2051 (C1->isNullValue() && !C2->isNullValue())) { in ConstantFoldCompareInstruction()
2069 if (cast<Constant>(Idxs[0])->isNullValue()) return true; in isInBoundsIndices()
2084 if (!cast<Constant>(Idxs[i])->isNullValue()) in isInBoundsIndices()
2115 if (Idx0->isNullValue()) { in foldGEPOfGEP()
2214 if (Idxs.size() == 1 && (Idx0->isNullValue() || isa<UndefValue>(Idx0))) in ConstantFoldGetElementPtr()
2220 if (C->isNullValue()) { in ConstantFoldGetElementPtr()
2224 !cast<Constant>(Idxs[i])->isNullValue()) { in ConstantFoldGetElementPtr()
2268 if (CE->isCast() && Idxs.size() > 1 && Idx0->isNullValue()) { in ConstantFoldGetElementPtr()