mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
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
This commit is contained in:
parent
74c2b7633f
commit
85cdba3bb6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user