[llvm-commits] CVS: llvm/include/llvm/CodeGen/InstrSelectionSupport.h

Chris Lattner lattner at cs.uiuc.edu
Wed Jan 15 15:37:01 PST 2003


Changes in directory llvm/include/llvm/CodeGen:

InstrSelectionSupport.h updated: 1.21 -> 1.22

---
Log message:

Move sparc specific code into the Sparc backend


---
Diffs of the changes:

Index: llvm/include/llvm/CodeGen/InstrSelectionSupport.h
diff -u llvm/include/llvm/CodeGen/InstrSelectionSupport.h:1.21 llvm/include/llvm/CodeGen/InstrSelectionSupport.h:1.22
--- llvm/include/llvm/CodeGen/InstrSelectionSupport.h:1.21	Wed Jan 15 13:46:39 2003
+++ llvm/include/llvm/CodeGen/InstrSelectionSupport.h	Wed Jan 15 15:36:48 2003
@@ -15,50 +15,6 @@
 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:





More information about the llvm-commits mailing list