getContextString overloads

Synopses

Declared in <llvm/Transforms/IPO/SampleContextTracker.h>

Get a context string from root to the node for FSamples.

std::string
getContextString(FunctionSamples const& FSamples) const;

Get a context string from root to Node.

std::string
getContextString(ContextTrieNode* Node) const;

Return Value

  • A string describing the context path from root to the node for FSamples.

  • A string describing the context path from root to Node.

Parameters

Name

Description

FSamples

Function samples whose context path is formatted.

Node

Context trie node whose path from the root is formatted.

Created with MrDocs