Rename DIFactory::InsertValue() as DIFactory::InsertDbgValueIntrinsic()
authorVictor Hernandez <vhernandez@apple.com>
Mon, 7 Dec 2009 21:54:43 +0000 (21:54 +0000)
committerVictor Hernandez <vhernandez@apple.com>
Mon, 7 Dec 2009 21:54:43 +0000 (21:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90807 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/DebugInfo.h
lib/Analysis/DebugInfo.cpp

index 33986e80260c7e854f198a3adccf24d55fc3bd44..a6ccc29e791b06ff217aba7afc380858fc77ed10 100644 (file)
@@ -662,13 +662,13 @@ namespace llvm {
     Instruction *InsertDeclare(llvm::Value *Storage, DIVariable D,
                                Instruction *InsertBefore);
 
-    /// InsertValue - Insert a new llvm.dbg.value intrinsic call.
-    Instruction *InsertValue(llvm::Value *V, llvm::Value *Offset,
-                             DIVariable D, BasicBlock *InsertAtEnd);
+    /// InsertDbgValueIntrinsic - Insert a new llvm.dbg.value intrinsic call.
+    Instruction *InsertDbgValueIntrinsic(llvm::Value *V, llvm::Value *Offset,
+                                         DIVariable D, BasicBlock *InsertAtEnd);
 
-    /// InsertValue - Insert a new llvm.dbg.value intrinsic call.
-    Instruction *InsertValue(llvm::Value *V, llvm::Value *Offset,
-                             DIVariable D, Instruction *InsertBefore);
+    /// InsertDbgValueIntrinsic - Insert a new llvm.dbg.value intrinsic call.
+    Instruction *InsertDbgValueIntrinsic(llvm::Value *V, llvm::Value *Offset,
+                                       DIVariable D, Instruction *InsertBefore);
   private:
     Constant *GetTagConstant(unsigned TAG);
   };
index 7dc652fb7b7b02b67c98515ef8cde2c2cd4db375..bd81314f46321b848cdde258a0361725c7c2ee4b 100644 (file)
@@ -1078,9 +1078,10 @@ Instruction *DIFactory::InsertDeclare(Value *Storage, DIVariable D,
   return CallInst::Create(DeclareFn, Args, Args+2, "", InsertAtEnd);
 }
 
-/// InsertValue - Insert a new llvm.dbg.value intrinsic call.
-Instruction *DIFactory::InsertValue(Value *V, Value *Offset, DIVariable D,
-                                    Instruction *InsertBefore) {
+/// InsertDbgValueIntrinsic - Insert a new llvm.dbg.value intrinsic call.
+Instruction *DIFactory::InsertDbgValueIntrinsic(Value *V, Value *Offset,
+                                                DIVariable D,
+                                                Instruction *InsertBefore) {
   assert(V && "no value passed to dbg.value");
   assert(Offset->getType() == Type::getInt64Ty(V->getContext()) &&
          "offset must be i64");
@@ -1093,9 +1094,10 @@ Instruction *DIFactory::InsertValue(Value *V, Value *Offset, DIVariable D,
   return CallInst::Create(ValueFn, Args, Args+3, "", InsertBefore);
 }
 
-/// InsertValue - Insert a new llvm.dbg.value intrinsic call.
-Instruction *DIFactory::InsertValue(Value *V, Value *Offset, DIVariable D,
-                                    BasicBlock *InsertAtEnd) {
+/// InsertDbgValueIntrinsic - Insert a new llvm.dbg.value intrinsic call.
+Instruction *DIFactory::InsertDbgValueIntrinsic(Value *V, Value *Offset,
+                                                DIVariable D,
+                                                BasicBlock *InsertAtEnd) {
   assert(V && "no value passed to dbg.value");
   assert(Offset->getType() == Type::getInt64Ty(V->getContext()) &&
          "offset must be i64");