Lines Matching refs:isNullValue
205 if (V->isNullValue() && !DestTy->isX86_MMXTy() && !DestTy->isX86_AMXTy() && in ConstantFoldCastInstruction()
338 if (Cond->isNullValue()) return V2; in ConstantFoldSelectInstruction()
361 V = Cond->isNullValue() ? V2Element : V1Element; in ConstantFoldSelectInstruction()
485 if (isa<ConstantAggregateZero>(Val) && Elt->isNullValue()) in ConstantFoldInsertElementInstruction()
539 if (Elt->isNullValue()) { in ConstantFoldShuffleVectorInstruction()
981 if (Instruction::isIntDivRem(Opcode) && C2Splat->isNullValue()) in ConstantFoldBinaryInstruction()
1004 if (Instruction::isIntDivRem(Opcode) && RHS->isNullValue()) in ConstantFoldBinaryInstruction()
1247 if (C2->isNullValue()) { in ConstantFoldCompareInstruction()
1409 (C1->isNullValue() && !C2->isNullValue())) { in ConstantFoldCompareInstruction()
1427 if (cast<Constant>(Idxs[0])->isNullValue()) return true; in isInBoundsIndices()
1442 if (!cast<Constant>(Idxs[i])->isNullValue()) in isInBoundsIndices()
1473 if (Idx0->isNullValue()) { in foldGEPOfGEP()
1565 return IdxC->isNullValue() || isa<UndefValue>(IdxC); in ConstantFoldGetElementPtr()