Skip to content

NumberQuery::queryMemoryPool

queryMemoryPool overloads

Synopses

Declared in <src/midend/astQuery/numberQuery.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.**

[[visibility]]
NumberQuerySynthesizedAttributeType
queryMemoryPool(
    TypeOfQueryTypeOneParameter elementReturnType,
    VariantVector* targetVariantVector = NULL);

** The function NumberQuerySynthesizedAttributeType 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>
NumberQuerySynthesizedAttributeType
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.**

[[visibility]]
NumberQuerySynthesizedAttributeType
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.**

[[visibility]]
NumberQuerySynthesizedAttributeType
queryMemoryPool(
    std::string traversal,
    roseFunctionPointerOneParameter querySolverFunction,
    VariantVector* targetVariantVector = NULL);

** The function NumberQuerySynthesizedAttributeType 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.*

[[visibility]]
NumberQuerySynthesizedAttributeType
queryMemoryPool(
    std::string traversal,
    roseFunctionPointerTwoParameters querySolverFunction,
    VariantVector* targetVariantVector);

Created with MrDocs