Lines Matching refs:UndefValue
199 if (const UndefValue *UV = dyn_cast<UndefValue>(this)) in getAggregateElement()
688 UndefValue *UndefValue::getSequentialElement() const { in getSequentialElement()
689 return UndefValue::get(getType()->getSequentialElementType()); in getSequentialElement()
694 UndefValue *UndefValue::getStructElement(unsigned Elt) const { in getStructElement()
695 return UndefValue::get(getType()->getStructElementType(Elt)); in getStructElement()
700 UndefValue *UndefValue::getElementValue(Constant *C) const { in getElementValue()
708 UndefValue *UndefValue::getElementValue(unsigned Idx) const { in getElementValue()
755 if (isa<UndefValue>(C) && rangeOnlyContains(V.begin(), V.end(), C)) in get()
756 return UndefValue::get(Ty); in get()
878 isUndef = isa<UndefValue>(V[0]); in get()
884 if (!isa<UndefValue>(V[i])) in get()
892 return UndefValue::get(ST); in get()
927 bool isUndef = isa<UndefValue>(C); in get()
940 return UndefValue::get(T); in get()
1328 UndefValue *UndefValue::get(Type *Ty) { in get()
1329 UndefValue *&Entry = Ty->getContext().pImpl->UVConstants[Ty]; in get()
1331 Entry = new UndefValue(Ty); in get()
1338 void UndefValue::destroyConstant() { in destroyConstant()
2559 } else if (AllSame && isa<UndefValue>(ToC)) { in replaceUsesOfWithOnConstant()
2560 Replacement = UndefValue::get(getType()); in replaceUsesOfWithOnConstant()
2627 } else if (isa<UndefValue>(ToC)) { in replaceUsesOfWithOnConstant()
2632 if (isAllUndef) isAllUndef = isa<UndefValue>(Val); in replaceUsesOfWithOnConstant()
2646 Replacement = UndefValue::get(getType()); in replaceUsesOfWithOnConstant()