Home
last modified time | relevance | path

Searched refs:CurNode (Results 1 – 7 of 7) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/lib/Rewrite/
H A DRewriteRope.cpp680 CurNode = cast<RopePieceBTreeLeaf>(N); in RopePieceBTreeIterator()
684 while (CurNode && getCN(CurNode)->getNumPieces() == 0) in RopePieceBTreeIterator()
685 CurNode = getCN(CurNode)->getNextLeafInOrder(); in RopePieceBTreeIterator()
687 if (CurNode) in RopePieceBTreeIterator()
688 CurPiece = &getCN(CurNode)->getPiece(0); in RopePieceBTreeIterator()
695 if (CurPiece != &getCN(CurNode)->getPiece(getCN(CurNode)->getNumPieces()-1)) { in MoveToNextPiece()
703 CurNode = getCN(CurNode)->getNextLeafInOrder(); in MoveToNextPiece()
704 while (CurNode && getCN(CurNode)->getNumPieces() == 0); in MoveToNextPiece()
706 if (CurNode) in MoveToNextPiece()
707 CurPiece = &getCN(CurNode)->getPiece(0); in MoveToNextPiece()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DAliasSetTracker.h236 PointerRec *CurNode; variable
245 explicit iterator(PointerRec *CN = nullptr) : CurNode(CN) {} in CurNode() function
248 return CurNode == x.CurNode;
253 assert(CurNode && "Dereferencing AliasSet.end()!");
254 return *CurNode;
258 Value *getPointer() const { return CurNode->getValue(); } in getPointer()
259 LocationSize getSize() const { return CurNode->getSize(); } in getSize()
260 AAMDNodes getAAInfo() const { return CurNode->getAAInfo(); } in getAAInfo()
263 assert(CurNode && "Advancing past AliasSet.end()!");
264 CurNode = CurNode->getNext();
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchers.h7569 const auto &CurNode = Stack.back(); in AST_MATCHER_P() local
7571 if (const auto *FuncDeclNode = CurNode.get<FunctionDecl>()) { in AST_MATCHER_P()
7575 } else if (const auto *LambdaExprNode = CurNode.get<LambdaExpr>()) { in AST_MATCHER_P()
7581 for (const auto &Parent : Finder->getASTContext().getParents(CurNode)) in AST_MATCHER_P()
7620 const auto &CurNode = Stack.back(); in AST_MATCHER_P() local
7622 if (const auto *FuncDeclNode = CurNode.get<FunctionDecl>()) { in AST_MATCHER_P()
7626 } else if (const auto *LambdaExprNode = CurNode.get<LambdaExpr>()) { in AST_MATCHER_P()
7631 } else if (const auto *ObjCMethodDeclNode = CurNode.get<ObjCMethodDecl>()) { in AST_MATCHER_P()
7635 } else if (const auto *BlockDeclNode = CurNode.get<BlockDecl>()) { in AST_MATCHER_P()
7640 for (const auto &Parent : Finder->getASTContext().getParents(CurNode)) in AST_MATCHER_P()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Rewrite/Core/
H A DRewriteRope.h88 const void /*RopePieceBTreeLeaf*/ *CurNode = nullptr; variable
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DDeclBase.h1261 if (DeclListNode *CurNode = Ptr.dyn_cast<DeclListNode*>())
1262 return CurNode->D;
1271 if (DeclListNode *CurNode = Ptr.dyn_cast<DeclListNode*>())
1272 Ptr = CurNode->Rest;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DMemorySSA.cpp830 DefPath &CurNode = *Iter; in tryOptimizePhi() local
831 assert(CurNode.Last == Current); in tryOptimizePhi()
858 TerminatedPath Result{CurNode.Last, defPathIndex(CurNode)}; in tryOptimizePhi()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp1960 auto CurNode = Worklist[i].first; in visitTokenFactor() local
1964 switch (CurNode->getOpcode()) { in visitTokenFactor()
1973 for (const SDValue &Op : CurNode->op_values()) in visitTokenFactor()
1980 AddToWorklist(i, CurNode->getOperand(0).getNode(), CurOpNumber); in visitTokenFactor()
1983 if (auto *MemNode = dyn_cast<MemSDNode>(CurNode)) in visitTokenFactor()