Lines Matching refs:UndefValue
322 return isa<UndefValue>(II->getArgOperand(1)); in isInstructionTriviallyDead()
341 return C->isNullValue() || isa<UndefValue>(C); in isInstructionTriviallyDead()
420 I->replaceAllUsesWith(UndefValue::get(I->getType())); in RecursivelyDeleteDeadPHINode()
573 if (NewVal == PN) NewVal = UndefValue::get(PN->getType()); in MergeBasicBlockIntoOnlyPred()
617 return First == Second || isa<UndefValue>(First) || isa<UndefValue>(Second); in CanMergeValues()
697 if (!isa<UndefValue>(OldVal)) { in selectIncomingValueForBlock()
726 if (!isa<UndefValue>(V)) in gatherIncomingValuesToPhi()
741 if (!isa<UndefValue>(V)) continue; in replaceUndefValuesInPhi()
1301 Inst->replaceAllUsesWith(UndefValue::get(Inst->getType())); in removeAllNonTerminatorAndEHPadInstructions()
1335 BBI->replaceAllUsesWith(UndefValue::get(BBI->getType())); in changeToUnreachable()
1411 if (isa<ConstantPointerNull>(Callee) || isa<UndefValue>(Callee)) { in markAliveBlocks()
1438 if (isa<UndefValue>(Ptr) || in markAliveBlocks()
1452 if (isa<ConstantPointerNull>(Callee) || isa<UndefValue>(Callee)) { in markAliveBlocks()