• Home
  • Raw
  • Download

Lines Matching refs:SelectionTree

38   ExtractionContext(const SelectionTree::Node *Node, const SourceManager &SM,
41 const SelectionTree::Node *getExprNode() const { return ExprNode; } in getExprNode()
55 const SelectionTree::Node *ExprNode;
86 ExtractionContext::ExtractionContext(const SelectionTree::Node *Node, in ExtractionContext()
122 [](const SelectionTree::Node *InsertionPoint) -> bool { in computeInsertionPoint()
142 for (const SelectionTree::Node *CurNode = getExprNode(); in computeInsertionPoint()
205 llvm::SmallVector<const SelectionTree::Node*, 8> SelectedOperands;
208 bool parse(const SelectionTree::Node &N) { in parse()
256 for (const SelectionTree::Node *Child : SelectedOperands) in crossesMacroBoundary()
275 const SourceRange getBinaryOperatorRange(const SelectionTree::Node &N, in getBinaryOperatorRange()
289 const SelectionTree::Node *Start = Op.SelectedOperands.front(); // LHS in getBinaryOperatorRange()
290 const SelectionTree::Node *End = Op.SelectedOperands.back(); // RHS in getBinaryOperatorRange()
323 const SelectionTree::Node *getCallExpr(const SelectionTree::Node *DeclRef) { in getCallExpr()
324 const SelectionTree::Node &MaybeCallee = DeclRef->outerImplicit(); in getCallExpr()
325 const SelectionTree::Node *MaybeCall = MaybeCallee.Parent; in getCallExpr()
364 bool eligibleForExtraction(const SelectionTree::Node *N) { in eligibleForExtraction()
385 const SelectionTree::Node &OuterImplicit = N->outerImplicit(); in eligibleForExtraction()
413 const SelectionTree::Node *computeExtractedExpr(const SelectionTree::Node *N) { in computeExtractedExpr()
416 const SelectionTree::Node *TargetNode = N; in computeExtractedExpr()
423 if (const SelectionTree::Node *Call = getCallExpr(N)) in computeExtractedExpr()
470 if (const SelectionTree::Node *N = in REGISTER_TWEAK()