Lines Matching refs:UndefValue
450 if (isa<UndefValue>(Arg)) in wouldInstructionBeTriviallyDead()
488 return C->isNullValue() || isa<UndefValue>(C); in wouldInstructionBeTriviallyDead()
592 Value *Undef = UndefValue::get(I->getType()); in replaceDbgUsesWithUndef()
634 I->replaceAllUsesWith(UndefValue::get(I->getType())); in RecursivelyDeleteDeadPHINode()
748 if (NewVal == PN) NewVal = UndefValue::get(PN->getType()); in MergeBasicBlockIntoOnlyPred()
824 return First == Second || isa<UndefValue>(First) || isa<UndefValue>(Second); in CanMergeValues()
905 if (!isa<UndefValue>(OldVal)) { in selectIncomingValueForBlock()
934 if (!isa<UndefValue>(V)) in gatherIncomingValuesToPhi()
950 if (!isa<UndefValue>(V)) continue; in replaceUndefValuesInPhi()
977 PN->setIncomingValue(i, UndefValue::get(PN->getType())); in replaceUndefValuesInPhi()
1459 DV = UndefValue::get(DV->getType()); in ConvertDebugDeclareToDebugValue()
1780 Value *Undef = UndefValue::get(I.getOperand(0)->getType()); in salvageDebugInfoForDbgValues()
1791 Value *Undef = UndefValue::get(I.getType()); in salvageDebugInfoForDbgValues()
2099 Inst->replaceAllUsesWith(UndefValue::get(Inst->getType())); in removeAllNonTerminatorAndEHPadInstructions()
2138 BBI->replaceAllUsesWith(UndefValue::get(BBI->getType())); in changeToUnreachable()
2289 isa<UndefValue>(Callee)) { in markAliveBlocks()
2315 if (isa<UndefValue>(Ptr) || in markAliveBlocks()
2332 isa<UndefValue>(Callee)) { in markAliveBlocks()