diff options
| author | Chris Lattner <sabre@nondot.org> | 2003-01-15 21:36:50 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2003-01-15 21:36:50 +0000 |
| commit | 795ba6cabdbba32cdf9912fbd9091e6b3cfbd3c6 (patch) | |
| tree | 955f7550fe8244d4995d72ea4116717e3656000a /include/llvm/CodeGen | |
| parent | ac4dfd064383da680b7e6eb92487a203731b95a8 (diff) | |
Move sparc specific code into the Sparc backend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5317 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
| -rw-r--r-- | include/llvm/CodeGen/InstrSelectionSupport.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/include/llvm/CodeGen/InstrSelectionSupport.h b/include/llvm/CodeGen/InstrSelectionSupport.h index 8e5855d8c5..663396e5d8 100644 --- a/include/llvm/CodeGen/InstrSelectionSupport.h +++ b/include/llvm/CodeGen/InstrSelectionSupport.h @@ -15,50 +15,6 @@ class TargetMachine; class Instruction; //--------------------------------------------------------------------------- -// Function GetConstantValueAsUnsignedInt -// Function GetConstantValueAsSignedInt -// -// Convenience functions to get the value of an integer constant, for an -// appropriate integer or non-integer type that can be held in a signed -// or unsigned integer respectively. The type of the argument must be -// the following: -// Signed or unsigned integer -// Boolean -// Pointer -// -// isValidConstant is set to true if a valid constant was found. -//--------------------------------------------------------------------------- - -uint64_t GetConstantValueAsUnsignedInt (const Value *V, - bool &isValidConstant); - -int64_t GetConstantValueAsSignedInt (const Value *V, - bool &isValidConstant); - - -//--------------------------------------------------------------------------- -// Function: GetMemInstArgs -// -// Purpose: -// Get the pointer value and the index vector for a memory operation -// (GetElementPtr, Load, or Store). If all indices of the given memory -// operation are constant, fold in constant indices in a chain of -// preceding GetElementPtr instructions (if any), and return the -// pointer value of the first instruction in the chain. -// All folded instructions are marked so no code is generated for them. -// -// Return values: -// Returns the pointer Value to use. -// Returns the resulting IndexVector in idxVec. -// Returns true/false in allConstantIndices if all indices are/aren't const. -//--------------------------------------------------------------------------- - -Value* GetMemInstArgs (InstructionNode* memInstrNode, - std::vector<Value*>& idxVec, - bool& allConstantIndices); - - -//--------------------------------------------------------------------------- // Function: ChooseRegOrImmed // // Purpose: |
