llvm::MDBuilder::createTBAANode

Return metadata for a non-root TBAA node with the given name, parent in the TBAA tree, and value for 'pointsToConstantMemory'.

Synopsis

Declared in <llvm/IR/MDBuilder.h>

MDNode*
createTBAANode(
    StringRef Name,
    MDNode* Parent,
    bool isConstant = false);

Return Value

Non-root TBAA metadata node.

Parameters

NameDescription
NameName of the TBAA node.
ParentParent node in the TBAA tree.
isConstantWhether the node points to constant memory.