Home
last modified time | relevance | path

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

/external/clang/lib/Rewrite/
DRewriteRope.cpp674 CurNode = cast<RopePieceBTreeLeaf>(N); in RopePieceBTreeIterator()
678 while (CurNode && getCN(CurNode)->getNumPieces() == 0) in RopePieceBTreeIterator()
679 CurNode = getCN(CurNode)->getNextLeafInOrder(); in RopePieceBTreeIterator()
681 if (CurNode) in RopePieceBTreeIterator()
682 CurPiece = &getCN(CurNode)->getPiece(0); in RopePieceBTreeIterator()
689 if (CurPiece != &getCN(CurNode)->getPiece(getCN(CurNode)->getNumPieces()-1)) { in MoveToNextPiece()
697 CurNode = getCN(CurNode)->getNextLeafInOrder(); in MoveToNextPiece()
698 while (CurNode && getCN(CurNode)->getNumPieces() == 0); in MoveToNextPiece()
700 if (CurNode) in MoveToNextPiece()
701 CurPiece = &getCN(CurNode)->getPiece(0); in MoveToNextPiece()
/external/llvm/include/llvm/Analysis/
DAliasSetTracker.h193 PointerRec *CurNode; variable
196 explicit iterator(PointerRec *CN = nullptr) : CurNode(CN) {} in CurNode() function
199 return CurNode == x.CurNode;
204 assert(CurNode && "Dereferencing AliasSet.end()!");
205 return *CurNode;
209 Value *getPointer() const { return CurNode->getValue(); } in getPointer()
210 uint64_t getSize() const { return CurNode->getSize(); } in getSize()
211 AAMDNodes getAAInfo() const { return CurNode->getAAInfo(); } in getAAInfo()
214 assert(CurNode && "Advancing past AliasSet.end()!");
215 CurNode = CurNode->getNext();
/external/clang/include/clang/Rewrite/Core/
DRewriteRope.h91 const void /*RopePieceBTreeLeaf*/ *CurNode; variable
102 : CurNode(nullptr), CurPiece(nullptr), CurChar(0) {} in RopePieceBTreeIterator()
/external/llvm/include/llvm/ADT/
Dilist.h462 NodeTy *CurNode = where.getNodePtrUnchecked();
463 NodeTy *PrevNode = this->getPrev(CurNode);
464 this->setNext(New, CurNode);
467 if (CurNode != Head) // Is PrevNode off the beginning of the list?
471 this->setPrev(CurNode, New);