Skip to content

NodeQuery::queryMemoryPool

queryMemoryPool overloads

Synopses

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

** The function NodeQuerySynthesizedAttributeType queryMemoryPool(VariantVector& targetVariantVector); will return every node in the AST with a corresponding variant in theVariantVector.**

[[visibility]]
NodeQuerySynthesizedAttributeType
queryMemoryPool(VariantVector& targetVariantVector);

** The function Result queryMemoryPool ( SgNode * subTree, 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]]
NodeQuerySynthesizedAttributeType
queryMemoryPool(
    TypeOfQueryTypeOneParameter elementReturnType,
    VariantVector* targetVariantVector = NULL);

**** 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.**

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

** The function Result queryMemoryPool ( SgNode * subTree, 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]]
NodeQuerySynthesizedAttributeType
queryMemoryPool(
    SgNode* traversal,
    TypeOfQueryTypeTwoParameters elementReturnType,
    VariantVector* targetVariantVector = NULL);

** The function Result queryMemoryPool ( SgNode * subTree, _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]]
NodeQuerySynthesizedAttributeType
queryMemoryPool(
    SgNode* traversal,
    roseFunctionPointerOneParameter querySolverFunction,
    VariantVector* targetVariantVector = NULL);

** The function NodeQuerySynthesizedAttributeType queryMemoryPool ( SgNode * subTree, 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]]
NodeQuerySynthesizedAttributeType
queryMemoryPool(
    SgNode* traversal,
    roseFunctionPointerTwoParameters querySolverFunction,
    VariantVector* targetVariantVector);

Created with MrDocs