Lines Matching refs:UndefValue

346       this, [&](const auto *C) { return isa<UndefValue>(C); });  in containsUndefOrPoisonElement()
356 return isa<UndefValue>(C) && !isa<PoisonValue>(C); in containsUndefElement()
451 if (const auto *UV = dyn_cast<UndefValue>(this)) in getAggregateElement()
557 delete static_cast<UndefValue *>(C); in deleteConstant()
799 return UndefValue::get(Ty); in mergeUndefsWith()
818 NewC[I] = UndefValue::get(EltTy); in mergeUndefsWith()
1148 UndefValue *UndefValue::getSequentialElement() const { in getSequentialElement()
1150 return UndefValue::get(ATy->getElementType()); in getSequentialElement()
1151 return UndefValue::get(cast<VectorType>(getType())->getElementType()); in getSequentialElement()
1154 UndefValue *UndefValue::getStructElement(unsigned Elt) const { in getStructElement()
1155 return UndefValue::get(getType()->getStructElementType(Elt)); in getStructElement()
1158 UndefValue *UndefValue::getElementValue(Constant *C) const { in getElementValue()
1164 UndefValue *UndefValue::getElementValue(unsigned Idx) const { in getElementValue()
1170 unsigned UndefValue::getNumElements() const { in getNumElements()
1316 if (isa<UndefValue>(C) && rangeOnlyContains(V.begin(), V.end(), C)) in getImpl()
1317 return UndefValue::get(Ty); in getImpl()
1367 isUndef = isa<UndefValue>(V[0]); in get()
1377 if (isa<PoisonValue>(C) || !isa<UndefValue>(C)) in get()
1387 return UndefValue::get(ST); in get()
1414 bool isUndef = isa<UndefValue>(C); in getImpl()
1432 return UndefValue::get(T); in getImpl()
1486 else if (isa<UndefValue>(V)) in getSplat()
1487 return UndefValue::get(VTy); in getSplat()
1699 isa<UndefValue>(Shuf->getOperand(1))) { in getSplatValue()
1703 isa<UndefValue>(IElt->getOperand(0))) { in getSplatValue()
1833 UndefValue *UndefValue::get(Type *Ty) { in get()
1834 std::unique_ptr<UndefValue> &Entry = Ty->getContext().pImpl->UVConstants[Ty]; in get()
1836 Entry.reset(new UndefValue(Ty)); in get()
1842 void UndefValue::destroyConstantImpl() { in destroyConstantImpl()
2641 if (isa<UndefValue>(Elt)) { in getExactLogBase2()
3267 if (AllSame && isa<UndefValue>(ToC)) in handleOperandChangeImpl()
3268 return UndefValue::get(getType()); in handleOperandChangeImpl()
3307 if (AllSame && isa<UndefValue>(ToC)) in handleOperandChangeImpl()
3308 return UndefValue::get(getType()); in handleOperandChangeImpl()