ΒΆllvm::MDNode* findOptionMDForLoop(
    const llvm::Loop* TheLoop,
    llvm::StringRef Name)

Description

Find string metadata for a loop. Returns the MDNode where the first operand is the metadata's name. The following operands are the metadata's values. If no metadata with @p Name is found, return nullptr.

Declared at: llvm/include/llvm/Analysis/LoopInfo.h:1254

Parameters

const llvm::Loop* TheLoop
llvm::StringRef Name