Lines Matching refs:isNullValue
46 if (CV->isNullValue()) return Constant::getNullValue(DstTy); in BitCastConstantVector()
260 if (RHS->isNullValue()) in ExtractConstantBytes()
365 if (V->isNullValue() && !DestTy->isX86_MMXTy() && !DestTy->isX86_AMXTy() && in ConstantFoldCastInstruction()
391 if (!CE->getOperand(i)->isNullValue()) { in ConstantFoldCastInstruction()
460 if (V->isNullValue()) // Is it an integral null value? in ConstantFoldCastInstruction()
465 if (V->isNullValue()) in ConstantFoldCastInstruction()
524 if (Cond->isNullValue()) return V2; in ConstantFoldSelectInstruction()
547 V = Cond->isNullValue() ? V2Element : V1Element; in ConstantFoldSelectInstruction()
682 if (isa<ConstantAggregateZero>(Val) && Elt->isNullValue()) in ConstantFoldInsertElementInstruction()
736 if (Elt->isNullValue()) { in ConstantFoldShuffleVectorInstruction()
1218 if (Instruction::isIntDivRem(Opcode) && C2Splat->isNullValue()) in ConstantFoldBinaryInstruction()
1241 if (Instruction::isIntDivRem(Opcode) && RHS->isNullValue()) in ConstantFoldBinaryInstruction()
1527 if (V2->isNullValue() && CE1->getType()->isIntOrPtrTy()) { in evaluateICmpRelation()
1620 if (C1->isNullValue()) { in ConstantFoldCompareInstruction()
1632 } else if (C2->isNullValue()) { in ConstantFoldCompareInstruction()
1903 (C1->isNullValue() && !C2->isNullValue())) { in ConstantFoldCompareInstruction()
1921 if (cast<Constant>(Idxs[0])->isNullValue()) return true; in isInBoundsIndices()
1936 if (!cast<Constant>(Idxs[i])->isNullValue()) in isInBoundsIndices()
1967 if (Idx0->isNullValue()) { in foldGEPOfGEP()
2055 return IdxC->isNullValue() || isa<UndefValue>(IdxC); in ConstantFoldGetElementPtr()
2064 if (C->isNullValue()) { in ConstantFoldGetElementPtr()
2067 if (!isa<UndefValue>(Idx) && !cast<Constant>(Idx)->isNullValue()) { in ConstantFoldGetElementPtr()
2112 if (CE->isCast() && Idxs.size() > 1 && Idx0->isNullValue()) { in ConstantFoldGetElementPtr()