Introduce a string_ostream string builder facilty
[oota-llvm.git] / include / llvm / CodeGen / FastISel.h
index b1bb8eb17087cc41829227150ce7b249793b9b15..c7ec6a024b84859ce07d044ff6e86e50d0962c4b 100644 (file)
@@ -23,6 +23,7 @@ namespace llvm {
 class AllocaInst;
 class Constant;
 class ConstantFP;
+class CallInst;
 class DataLayout;
 class FunctionLoweringInfo;
 class Instruction;
@@ -376,6 +377,9 @@ protected:
   /// Test whether the given value has exactly one use.
   bool hasTrivialKill(const Value *V) const;
 
+  /// \brief Create a machine mem operand from the given instruction.
+  MachineMemOperand *createMachineMemOperandFor(const Instruction *I) const;
+
 private:
   bool SelectBinaryOp(const User *I, unsigned ISDOpcode);
 
@@ -411,6 +415,9 @@ private:
   /// beginning of the block. It helps to avoid spilling cached variables across
   /// heavy instructions like calls.
   void flushLocalValueMap();
+
+  bool addStackMapLiveVars(SmallVectorImpl<MachineOperand> &Ops,
+                           const CallInst *CI, unsigned StartIdx);
 };
 
 }