Skip to content

NameQuery::queryMemoryPool

queryMemoryPool overloads

Synopses

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

** The function Result queryMemoryPool ( TypeOfQueryTypeOneParameter, VariantVector ){ will on every node of the memory pool which has a corresponding variant inVariantVector performa the predefined action specified by the second argumentand return a NodeQuerySynthesizedAttributeType.**

** The function NameQuerySynthesizedAttributeType queryMemoryPool(NodeFunctional nodeFunc , VariantVector* targetVariantVector= NULL) will query the memory pool for IR nodes which satisfies the criteriaspecified in and returned by the predicate in the second argument in the nodeswith a corresponding variant in VariantVector.**

template<typename NodeFunctional>
NameQuerySynthesizedAttributeType
queryMemoryPool(
    NodeFunctional nodeFunc,
    VariantVector* targetVariantVector = NULL);

** The function Result queryMemoryPool ( SgNode, TypeOfQueryTypeTwoParameters, VariantVector* ){ will on every node of the memory pool which has a corresponding variant inVariantVector performa the predefined action specified by the second argumentand return a NodeQuerySynthesizedAttributeType.**

NameQuerySynthesizedAttributeType
queryMemoryPool(
    std::string traversal,
    TypeOfQueryTypeTwoParameters elementReturnType,
    VariantVector* targetVariantVector = NULL);

** The function Result queryMemoryPool ( _Result (__x)(SgNode_), VariantVector* ){ will on every node of the memory pool which has a corresponding variant inVariantVector performa the action specified by the second argument and returna NodeQuerySynthesizedAttributeType.**

NameQuerySynthesizedAttributeType
queryMemoryPool(
    std::string traversal,
    roseFunctionPointerOneParameter querySolverFunction,
    VariantVector* targetVariantVector = NULL);

** The function NameQuerySynthesizedAttributeType queryMemoryPool ( Result (*x)(SgNode*,_Arg), Arg x_arg, VariantVector ){ will on every node of the memory pool which has a corresponding variant inVariantVector performa the action specified by the second argument and returna NodeQuerySynthesizedAttributeType.*

NameQuerySynthesizedAttributeType
queryMemoryPool(
    std::string traversal,
    roseFunctionPointerTwoParameters querySolverFunction,
    VariantVector* targetVariantVector);

Created with MrDocs