diff options
author | Chris Lattner <sabre@nondot.org> | 2001-09-09 23:00:59 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-09-09 23:00:59 +0000 |
commit | 85cdba3bb6ad5a17864f703fec3e11fd9c0d599c (patch) | |
tree | 0a1967e96cc226f53a7f99f4f395e74307325d78 /include/llvm/ConstPoolVals.h | |
parent | 74c2b7633fd73bf782d2881c063eb0c58821d2bf (diff) | |
download | llvm-85cdba3bb6ad5a17864f703fec3e11fd9c0d599c.tar.gz llvm-85cdba3bb6ad5a17864f703fec3e11fd9c0d599c.tar.bz2 llvm-85cdba3bb6ad5a17864f703fec3e11fd9c0d599c.tar.xz |
Remove 3 gross global functions that don't belong here
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@523 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ConstPoolVals.h')
-rw-r--r-- | include/llvm/ConstPoolVals.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/include/llvm/ConstPoolVals.h b/include/llvm/ConstPoolVals.h index 931c9287e2..670cdfcfa0 100644 --- a/include/llvm/ConstPoolVals.h +++ b/include/llvm/ConstPoolVals.h @@ -175,24 +175,4 @@ public: inline const vector<Use> &getValues() const { return Operands; } }; -//===--------------------------------------------------------------------------- -// External functions -// - -// Convenience functions to get the value of an integer constant, for an -// appropriate integer or non-integer type that can be held in an integer. -// The type of the argument must be the following: -// GetSignedIntConstantValue: signed integer or bool -// GetUnsignedIntConstantValue: unsigned integer, bool, or pointer -// GetConstantValueAsSignedInt: any of the above, but the value -// must fit into a int64_t. -// -// isValidConstant is set to true if a valid constant was found. -// -int64_t GetSignedIntConstantValue (const Value* val, bool& isValidConst); -uint64_t GetUnsignedIntConstantValue (const Value* val, bool& isValidConst); -int64_t GetConstantValueAsSignedInt (const Value* val, bool& isValidConst); - -//===--------------------------------------------------------------------------- - #endif |