Skip to content

NodeQuery::queryMemoryPool

**** The function NodeQuerySynthesizedAttributeType queryMemoryPool(SgNode* node, NodeFunctional nodeFunc , VariantVector*targetVariantVector = NULL) will query the memory pool for IR nodes whichsatisfies the criteria specified in and returned by the predicate in thesecond argument in the nodes with a corresponding variant in VariantVector.**

Synopsis

Declared in <src/midend/astQuery/nodeQuery.h>

template<typename NodeFunctional>
std::invoke_result_t<NodeFunctional&, SgNode*>
queryMemoryPool(
    NodeFunctional nodeFunc,
    VariantVector* targetVariantVector = NULL);

Created with MrDocs