Lines Matching refs:UndefValue
258 if (isa<UndefValue>(getAggregateElement(i))) in containsUndefElement()
342 if (const UndefValue *UV = dyn_cast<UndefValue>(this)) in getAggregateElement()
870 UndefValue *UndefValue::getSequentialElement() const { in getSequentialElement()
871 return UndefValue::get(getType()->getSequentialElementType()); in getSequentialElement()
874 UndefValue *UndefValue::getStructElement(unsigned Elt) const { in getStructElement()
875 return UndefValue::get(getType()->getStructElementType(Elt)); in getStructElement()
878 UndefValue *UndefValue::getElementValue(Constant *C) const { in getElementValue()
884 UndefValue *UndefValue::getElementValue(unsigned Idx) const { in getElementValue()
890 unsigned UndefValue::getNumElements() const { in getNumElements()
1003 if (isa<UndefValue>(C) && rangeOnlyContains(V.begin(), V.end(), C)) in getImpl()
1004 return UndefValue::get(Ty); in getImpl()
1053 isUndef = isa<UndefValue>(V[0]); in get()
1059 if (!isa<UndefValue>(V[i])) in get()
1067 return UndefValue::get(ST); in get()
1094 bool isUndef = isa<UndefValue>(C); in getImpl()
1107 return UndefValue::get(T); in getImpl()
1162 if (isa<UndefValue>(*OI)) in isGEPWithNoNotionalOverIndexing()
1415 UndefValue *UndefValue::get(Type *Ty) { in get()
1416 std::unique_ptr<UndefValue> &Entry = Ty->getContext().pImpl->UVConstants[Ty]; in get()
1418 Entry.reset(new UndefValue(Ty)); in get()
1424 void UndefValue::destroyConstantImpl() { in destroyConstantImpl()
2873 if (AllSame && isa<UndefValue>(ToC)) in handleOperandChangeImpl()
2874 return UndefValue::get(getType()); in handleOperandChangeImpl()
2913 if (AllSame && isa<UndefValue>(ToC)) in handleOperandChangeImpl()
2914 return UndefValue::get(getType()); in handleOperandChangeImpl()