Home
last modified time | relevance | path

Searched refs:ValToPoison (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPoisonChecking.cpp223 static Value *getPoisonFor(DenseMap<Value *, Value *> &ValToPoison, Value *V) { in getPoisonFor() argument
224 auto Itr = ValToPoison.find(V); in getPoisonFor()
225 if (Itr != ValToPoison.end()) in getPoisonFor()
259 DenseMap<Value *, Value *> ValToPoison; in rewrite() local
269 ValToPoison[OldPHI] = NewPHI; in rewrite()
286 getPoisonFor(ValToPoison, const_cast<Value *>(Op))); in rewrite()
292 CreateAssertNot(B, getPoisonFor(ValToPoison, Op)); in rewrite()
297 if (ValToPoison.count(U) && propagatesPoison(U)) in rewrite()
298 Checks.push_back(getPoisonFor(ValToPoison, U)); in rewrite()
303 ValToPoison[&I] = buildOrChain(B, Checks); in rewrite()
[all …]