Rename DIFactory::InsertValue() as DIFactory::InsertDbgValueIntrinsic()

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90807 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Victor Hernandez
2009-12-07 21:54:43 +00:00
parent 4063f6bcc7
commit c59b33562c
2 changed files with 14 additions and 12 deletions

View File

@ -662,12 +662,12 @@ namespace llvm {
Instruction *InsertDeclare(llvm::Value *Storage, DIVariable D, Instruction *InsertDeclare(llvm::Value *Storage, DIVariable D,
Instruction *InsertBefore); Instruction *InsertBefore);
/// InsertValue - Insert a new llvm.dbg.value intrinsic call. /// InsertDbgValueIntrinsic - Insert a new llvm.dbg.value intrinsic call.
Instruction *InsertValue(llvm::Value *V, llvm::Value *Offset, Instruction *InsertDbgValueIntrinsic(llvm::Value *V, llvm::Value *Offset,
DIVariable D, BasicBlock *InsertAtEnd); DIVariable D, BasicBlock *InsertAtEnd);
/// InsertValue - Insert a new llvm.dbg.value intrinsic call. /// InsertDbgValueIntrinsic - Insert a new llvm.dbg.value intrinsic call.
Instruction *InsertValue(llvm::Value *V, llvm::Value *Offset, Instruction *InsertDbgValueIntrinsic(llvm::Value *V, llvm::Value *Offset,
DIVariable D, Instruction *InsertBefore); DIVariable D, Instruction *InsertBefore);
private: private:
Constant *GetTagConstant(unsigned TAG); Constant *GetTagConstant(unsigned TAG);

View File

@ -1078,8 +1078,9 @@ Instruction *DIFactory::InsertDeclare(Value *Storage, DIVariable D,
return CallInst::Create(DeclareFn, Args, Args+2, "", InsertAtEnd); return CallInst::Create(DeclareFn, Args, Args+2, "", InsertAtEnd);
} }
/// InsertValue - Insert a new llvm.dbg.value intrinsic call. /// InsertDbgValueIntrinsic - Insert a new llvm.dbg.value intrinsic call.
Instruction *DIFactory::InsertValue(Value *V, Value *Offset, DIVariable D, Instruction *DIFactory::InsertDbgValueIntrinsic(Value *V, Value *Offset,
DIVariable D,
Instruction *InsertBefore) { Instruction *InsertBefore) {
assert(V && "no value passed to dbg.value"); assert(V && "no value passed to dbg.value");
assert(Offset->getType() == Type::getInt64Ty(V->getContext()) && assert(Offset->getType() == Type::getInt64Ty(V->getContext()) &&
@ -1093,8 +1094,9 @@ Instruction *DIFactory::InsertValue(Value *V, Value *Offset, DIVariable D,
return CallInst::Create(ValueFn, Args, Args+3, "", InsertBefore); return CallInst::Create(ValueFn, Args, Args+3, "", InsertBefore);
} }
/// InsertValue - Insert a new llvm.dbg.value intrinsic call. /// InsertDbgValueIntrinsic - Insert a new llvm.dbg.value intrinsic call.
Instruction *DIFactory::InsertValue(Value *V, Value *Offset, DIVariable D, Instruction *DIFactory::InsertDbgValueIntrinsic(Value *V, Value *Offset,
DIVariable D,
BasicBlock *InsertAtEnd) { BasicBlock *InsertAtEnd) {
assert(V && "no value passed to dbg.value"); assert(V && "no value passed to dbg.value");
assert(Offset->getType() == Type::getInt64Ty(V->getContext()) && assert(Offset->getType() == Type::getInt64Ty(V->getContext()) &&