diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2004-03-11 23:08:20 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2004-03-11 23:08:20 +0000 |
commit | dd298c8c6eb036baf35bf5a559c59d2afd2c7944 (patch) | |
tree | 0407c874472e1e0da4e2c999d081d7558d27e7a1 /include/llvm/Analysis/DataStructure/DSSupport.h | |
parent | 3497ae9f0556c66fa843106e40a71bb5c82fd68d (diff) |
Doxygenified and cleand up comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12294 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/DataStructure/DSSupport.h')
-rw-r--r-- | include/llvm/Analysis/DataStructure/DSSupport.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/include/llvm/Analysis/DataStructure/DSSupport.h b/include/llvm/Analysis/DataStructure/DSSupport.h index b1053714b9..fdbb43236e 100644 --- a/include/llvm/Analysis/DataStructure/DSSupport.h +++ b/include/llvm/Analysis/DataStructure/DSSupport.h @@ -35,9 +35,9 @@ namespace DS { // FIXME: After the paper, this should get cleaned up PointerSize = 1 << PointerShift }; - // isPointerType - Return true if this first class type is big enough to hold - // a pointer. - // + /// isPointerType - Return true if this first class type is big enough to hold + /// a pointer. + /// bool isPointerType(const Type *Ty); }; @@ -89,6 +89,7 @@ public: /// isNull - Check to see if getNode() == 0, without going through the trouble /// of checking to see if we are forwarding... + /// bool isNull() const { return N == 0; } // Allow explicit conversion to DSNode... @@ -112,7 +113,8 @@ public: /// void mergeWith(const DSNodeHandle &N) const; - // hasLink - Return true if there is a link at the specified offset... + /// hasLink - Return true if there is a link at the specified offset... + /// inline bool hasLink(unsigned Num) const; /// getLink - Treat this current node pointer as a pointer to a structure of @@ -262,8 +264,9 @@ public: } } - // mergeWith - Merge the return value and parameters of the these two call - // sites. + /// mergeWith - Merge the return value and parameters of the these two call + /// sites. + /// void mergeWith(DSCallSite &CS) { getRetVal().mergeWith(CS.getRetVal()); unsigned MinArgs = getNumPtrArgs(); |