llvm::object::getImageKind

Convert a string Name to an image kind.

Synopsis

Declared in <llvm/Object/OffloadBinary.h>

ImageKind
getImageKind(StringRef Name);

Return Value

The image kind corresponding to Name.

Parameters

NameDescription
NameImage kind name to convert.