[#llvm-FoldingSetBase-FindNodeOrInsertPos] = xref:llvm.adoc[llvm]::xref:llvm/FoldingSetBase.adoc[FoldingSetBase]::FindNodeOrInsertPos :relfileprefix: ../../ :mrdocs: Look up the node specified by ID. If it exists, return it. If not, return the insertion token that will make insertion faster. == Synopsis Declared in `<llvm/ADT/FoldingSet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:llvm/FoldingSetBase/Node.adoc[Node]* FindNodeOrInsertPos( xref:llvm/FoldingSetNodeID.adoc[FoldingSetNodeID] const& ID, void*& InsertPos, xref:llvm/FoldingSetBase/FoldingSetInfo.adoc[FoldingSetInfo] const& Info); ---- == Return Value Matching node, or null when absent (with `InsertPos` set). == Parameters [cols="1,4"] |=== | Name| Description | *ID* | Profile identifying the node to find. | *InsertPos* | Set to an insertion token when the node is absent. | *Info* | Trait callbacks used to profile and compare nodes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#