LLVM 23.0.0git
UndefPoison.h File Reference

This file contains the UndefPoisonKind enum and helper functions. More...

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.

Enumerations

enum class  llvm::UndefPoisonKind { llvm::PoisonOnly = (1 << 0) , llvm::UndefOnly = (1 << 1) , llvm::UndefOrPoison = PoisonOnly | UndefOnly }
 Enumeration to track whether we are interested in Undef, Poison, or both. More...

Functions

bool llvm::includesPoison (UndefPoisonKind Kind)
 Returns true if Kind includes the Poison bit.
bool llvm::includesUndef (UndefPoisonKind Kind)
 Returns true if Kind includes the Undef bit.

Detailed Description

This file contains the UndefPoisonKind enum and helper functions.

Definition in file UndefPoison.h.