Lines Matching refs:PoisonValue

337       this, [&](const auto *C) { return isa<PoisonValue>(C); });  in containsPoisonElement()
426 if (const auto *PV = dyn_cast<PoisonValue>(this)) in getAggregateElement()
535 delete static_cast<PoisonValue *>(C); in deleteConstant()
1132 PoisonValue *PoisonValue::getSequentialElement() const { in getSequentialElement()
1134 return PoisonValue::get(ATy->getElementType()); in getSequentialElement()
1135 return PoisonValue::get(cast<VectorType>(getType())->getElementType()); in getSequentialElement()
1138 PoisonValue *PoisonValue::getStructElement(unsigned Elt) const { in getStructElement()
1139 return PoisonValue::get(getType()->getStructElementType(Elt)); in getStructElement()
1142 PoisonValue *PoisonValue::getElementValue(Constant *C) const { in getElementValue()
1148 PoisonValue *PoisonValue::getElementValue(unsigned Idx) const { in getElementValue()
1262 if (isa<PoisonValue>(C) && rangeOnlyContains(V.begin(), V.end(), C)) in getImpl()
1263 return PoisonValue::get(Ty); in getImpl()
1317 isPoison = isa<PoisonValue>(V[0]); in get()
1324 if (!isa<PoisonValue>(C)) in get()
1326 if (isa<PoisonValue>(C) || !isa<UndefValue>(C)) in get()
1334 return PoisonValue::get(ST); in get()
1364 bool isPoison = isa<PoisonValue>(C); in getImpl()
1377 return PoisonValue::get(T); in getImpl()
1413 Constant *PoisonV = PoisonValue::get(VTy); in getSplat()
1729 PoisonValue *PoisonValue::get(Type *Ty) { in get()
1730 std::unique_ptr<PoisonValue> &Entry = Ty->getContext().pImpl->PVConstants[Ty]; in get()
1732 Entry.reset(new PoisonValue(Ty)); in get()
1738 void PoisonValue::destroyConstantImpl() { in destroyConstantImpl()