14#ifndef LLVM_SUPPORT_UNDEFPOISON_H
15#define LLVM_SUPPORT_UNDEFPOISON_H
28 return (
static_cast<unsigned>(Kind) &
34 return (
static_cast<unsigned>(Kind) &
This is an optimization pass for GlobalISel generic memory operations.
bool includesPoison(UndefPoisonKind Kind)
Returns true if Kind includes the Poison bit.
bool includesUndef(UndefPoisonKind Kind)
Returns true if Kind includes the Undef bit.
UndefPoisonKind
Enumeration to track whether we are interested in Undef, Poison, or both.