llvm::getKnowledgeFromBundle

This extracts the Knowledge from an element of an operand bundle. This is mostly for use in the assume builder.

Synopsis

Declared in <llvm/Analysis/AssumeBundleQueries.h>

RetainedKnowledge
getKnowledgeFromBundle(
    AssumeInst& Assume,
    CallBase::BundleOpInfo const& BOI);

Return Value

Retained knowledge extracted from the bundle element.

Parameters

NameDescription
AssumeThe llvm.assume that owns the operand bundle.
BOIOperand-bundle element to extract knowledge from.