Lines Matching refs:UndefValue
305 return isa<UndefValue>(CmpEq) || match(CmpEq, m_One()); in isElementWiseEqual()
332 this, [&](const auto *C) { return isa<UndefValue>(C); }); in containsUndefOrPoisonElement()
429 if (const auto *UV = dyn_cast<UndefValue>(this)) in getAggregateElement()
532 delete static_cast<UndefValue *>(C); in deleteConstant()
778 return UndefValue::get(Ty); in mergeUndefsWith()
797 NewC[I] = UndefValue::get(EltTy); in mergeUndefsWith()
1097 UndefValue *UndefValue::getSequentialElement() const { in getSequentialElement()
1099 return UndefValue::get(ATy->getElementType()); in getSequentialElement()
1100 return UndefValue::get(cast<VectorType>(getType())->getElementType()); in getSequentialElement()
1103 UndefValue *UndefValue::getStructElement(unsigned Elt) const { in getStructElement()
1104 return UndefValue::get(getType()->getStructElementType(Elt)); in getStructElement()
1107 UndefValue *UndefValue::getElementValue(Constant *C) const { in getElementValue()
1113 UndefValue *UndefValue::getElementValue(unsigned Idx) const { in getElementValue()
1119 unsigned UndefValue::getNumElements() const { in getNumElements()
1265 if (isa<UndefValue>(C) && rangeOnlyContains(V.begin(), V.end(), C)) in getImpl()
1266 return UndefValue::get(Ty); in getImpl()
1316 isUndef = isa<UndefValue>(V[0]); in get()
1326 if (isa<PoisonValue>(C) || !isa<UndefValue>(C)) in get()
1336 return UndefValue::get(ST); in get()
1363 bool isUndef = isa<UndefValue>(C); in getImpl()
1379 return UndefValue::get(T); in getImpl()
1407 else if (isa<UndefValue>(V)) in getSplat()
1408 return UndefValue::get(VTy); in getSplat()
1638 isa<UndefValue>(Shuf->getOperand(1))) { in getSplatValue()
1642 isa<UndefValue>(IElt->getOperand(0))) { in getSplatValue()
1671 if (isa<UndefValue>(OpC)) in getSplatValue()
1675 if (isa<UndefValue>(Elt)) in getSplatValue()
1710 UndefValue *UndefValue::get(Type *Ty) { in get()
1711 std::unique_ptr<UndefValue> &Entry = Ty->getContext().pImpl->UVConstants[Ty]; in get()
1713 Entry.reset(new UndefValue(Ty)); in get()
1719 void UndefValue::destroyConstantImpl() { in destroyConstantImpl()
2736 if (isa<UndefValue>(Elt)) { in getExactLogBase2()
3330 if (AllSame && isa<UndefValue>(ToC)) in handleOperandChangeImpl()
3331 return UndefValue::get(getType()); in handleOperandChangeImpl()
3370 if (AllSame && isa<UndefValue>(ToC)) in handleOperandChangeImpl()
3371 return UndefValue::get(getType()); in handleOperandChangeImpl()