From 9b5fd40742bfe2956e668c342c26a6802fd6ac7a Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 9 Sep 2001 23:00:59 +0000 Subject: [PATCH] Remove 3 gross global functions that don't belong here llvm-svn: 523 --- include/llvm/ConstPoolVals.h | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/include/llvm/ConstPoolVals.h b/include/llvm/ConstPoolVals.h index 931c9287e2f..670cdfcfa05 100644 --- a/include/llvm/ConstPoolVals.h +++ b/include/llvm/ConstPoolVals.h @@ -175,24 +175,4 @@ public: inline const vector &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