Lines Matching refs:UndefValue

303   return isa<UndefValue>(CmpEq) || match(CmpEq, m_One());  in isElementWiseEqual()
330 this, [&](const auto *C) { return isa<UndefValue>(C); }); in containsUndefOrPoisonElement()
441 if (const auto *UV = dyn_cast<UndefValue>(this)) in getAggregateElement()
541 delete static_cast<UndefValue *>(C); in deleteConstant()
735 UndefValue::get(C->getType())); in removeDeadUsersOfConstant()
800 return UndefValue::get(Ty); in mergeUndefsWith()
819 NewC[I] = UndefValue::get(EltTy); in mergeUndefsWith()
1120 UndefValue *UndefValue::getSequentialElement() const { in getSequentialElement()
1122 return UndefValue::get(ATy->getElementType()); in getSequentialElement()
1123 return UndefValue::get(cast<VectorType>(getType())->getElementType()); in getSequentialElement()
1126 UndefValue *UndefValue::getStructElement(unsigned Elt) const { in getStructElement()
1127 return UndefValue::get(getType()->getStructElementType(Elt)); in getStructElement()
1130 UndefValue *UndefValue::getElementValue(Constant *C) const { in getElementValue()
1136 UndefValue *UndefValue::getElementValue(unsigned Idx) const { in getElementValue()
1142 unsigned UndefValue::getNumElements() const { in getNumElements()
1287 if (isa<UndefValue>(C) && rangeOnlyContains(V.begin(), V.end(), C)) in getImpl()
1288 return UndefValue::get(Ty); in getImpl()
1338 isUndef = isa<UndefValue>(V[0]); in get()
1348 if (isa<PoisonValue>(V[i]) || !isa<UndefValue>(V[i])) in get()
1358 return UndefValue::get(ST); in get()
1385 bool isUndef = isa<UndefValue>(C); in getImpl()
1401 return UndefValue::get(T); in getImpl()
1429 else if (isa<UndefValue>(V)) in getSplat()
1430 return UndefValue::get(VTy); in getSplat()
1435 Constant *UndefV = UndefValue::get(VTy); in getSplat()
1475 if (isa<UndefValue>(*OI)) in isGEPWithNoNotionalOverIndexing()
1714 isa<UndefValue>(Shuf->getOperand(1))) { in getSplatValue()
1718 isa<UndefValue>(IElt->getOperand(0))) { in getSplatValue()
1747 if (isa<UndefValue>(OpC)) in getSplatValue()
1751 if (isa<UndefValue>(Elt)) in getSplatValue()
1786 UndefValue *UndefValue::get(Type *Ty) { in get()
1787 std::unique_ptr<UndefValue> &Entry = Ty->getContext().pImpl->UVConstants[Ty]; in get()
1789 Entry.reset(new UndefValue(Ty)); in get()
1795 void UndefValue::destroyConstantImpl() { in destroyConstantImpl()
2790 if (isa<UndefValue>(Elt)) { in getExactLogBase2()
3385 if (AllSame && isa<UndefValue>(ToC)) in handleOperandChangeImpl()
3386 return UndefValue::get(getType()); in handleOperandChangeImpl()
3425 if (AllSame && isa<UndefValue>(ToC)) in handleOperandChangeImpl()
3426 return UndefValue::get(getType()); in handleOperandChangeImpl()