Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DPoisonChecking.cpp222 static Value *getPoisonFor(DenseMap<Value *, Value *> &ValToPoison, Value *V) { in getPoisonFor() argument
223 auto Itr = ValToPoison.find(V); in getPoisonFor()
224 if (Itr != ValToPoison.end()) in getPoisonFor()
258 DenseMap<Value *, Value *> ValToPoison; in rewrite() local
268 ValToPoison[OldPHI] = NewPHI; in rewrite()
285 getPoisonFor(ValToPoison, const_cast<Value *>(Op))); in rewrite()
291 CreateAssertNot(B, getPoisonFor(ValToPoison, Op)); in rewrite()
296 if (ValToPoison.count(U) && propagatesPoison(U)) in rewrite()
297 Checks.push_back(getPoisonFor(ValToPoison, U)); in rewrite()
302 ValToPoison[&I] = buildOrChain(B, Checks); in rewrite()
[all …]