Check whether I has explicitly‐unknown branch‐weight metadata.

Synopsis

Declared in <llvm/IR/ProfDataUtils.h>

bool
hasExplicitlyUnknownBranchWeights(Instruction const& I);

Return Value

True if I has explicitly‐unknown branch‐weight metadata. False otherwise.

Parameters

Name

Description

I

The instruction to check

Created with MrDocs