Lines Matching refs:UndefValue
230 if (!isa<UndefValue>(GV->getInitializer())) in TrackValueOfGlobalVariable()
379 if (!isa<UndefValue>(V)) in getValueState()
408 else if (isa<UndefValue>(Elt)) in getStructValueState()
955 markConstant(&I,ConstantExpr::getInsertElement(UndefValue::get(I.getType()), in visitInsertElementInst()
979 V1State.getConstant() : UndefValue::get(I.getType()); in visitShuffleVectorInst()
981 V2State.getConstant() : UndefValue::get(I.getType()); in visitShuffleVectorInst()
983 MaskState.getConstant() : UndefValue::get(I.getOperand(2)->getType()); in visitShuffleVectorInst()
1458 if (isa<UndefValue>(BI->getCondition())) { in ResolvedUndefsIn()
1480 if (isa<UndefValue>(SI->getCondition())) { in ResolvedUndefsIn()
1542 Inst->replaceAllUsesWith(UndefValue::get(Inst->getType())); in DeleteInstructionInBlock()
1606 ? IV.getConstant() : UndefValue::get(Inst->getType()); in runOnFunction()
1769 IV.getConstant() : UndefValue::get(AI->getType()); in runOnModule()
1791 TI->replaceAllUsesWith(UndefValue::get(TI->getType())); in runOnModule()
1814 ? IV.getConstant() : UndefValue::get(Inst->getType()); in runOnModule()
1854 assert(BI->isConditional() && isa<UndefValue>(BI->getCondition()) && in runOnModule()
1857 assert(isa<UndefValue>(SI->getCondition()) && "Switch should fold"); in runOnModule()
1908 if (!isa<UndefValue>(RI->getOperand(0))) in runOnModule()
1915 ReturnsToZap[i]->setOperand(0, UndefValue::get(F->getReturnType())); in runOnModule()