Lines Matching refs:UndefValue
235 if (!isa<UndefValue>(GV->getInitializer())) in TrackValueOfGlobalVariable()
397 if (!isa<UndefValue>(V)) in getValueState()
426 else if (isa<UndefValue>(Elt)) in getStructValueState()
779 if (isa<UndefValue>(C)) in visitCastInst()
887 if (isa<UndefValue>(C)) in visitBinaryOperator()
948 if (isa<UndefValue>(C)) in visitCmpInst()
1000 if (isa<UndefValue>(C)) in visitGetElementPtrInst()
1061 if (isa<UndefValue>(C)) in visitLoadInst()
1108 if (isa<UndefValue>(C)) in visitCallSite()
1477 if (isa<UndefValue>(BI->getCondition())) { in ResolvedUndefsIn()
1499 if (isa<UndefValue>(SI->getCondition())) { in ResolvedUndefsIn()
1526 : UndefValue::get(ST->getElementType(i))); in tryToReplaceWithConstant()
1533 Const = IV.isConstant() ? IV.getConstant() : UndefValue::get(V->getType()); in tryToReplaceWithConstant()
1829 assert(BI->isConditional() && isa<UndefValue>(BI->getCondition()) && in runIPSCCP()
1832 assert(isa<UndefValue>(SI->getCondition()) && "Switch should fold"); in runIPSCCP()
1882 if (!isa<UndefValue>(RI->getOperand(0))) in runIPSCCP()
1889 ReturnsToZap[i]->setOperand(0, UndefValue::get(F->getReturnType())); in runIPSCCP()