llvm::findOptionMDForLoopID

Find and return the loop attribute node for the attribute Name in LoopID. Return nullptr if there is no such attribute.

Synopsis

Declared in <llvm/Analysis/LoopInfo.h>

MDNode*
findOptionMDForLoopID(
    MDNode* LoopID,
    StringRef Name);

Return Value

Metadata node.

Parameters

NameDescription
LoopIDMetadata node.
NameRepresent a constant reference to a string, i.e. a character array and a length, which need not be null terminated.