aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Transforms/Utils/Local.h
diff options
context:
space:
mode:
authorVictor Hernandez <vhernandez@apple.com>2010-01-21 23:05:53 +0000
committerVictor Hernandez <vhernandez@apple.com>2010-01-21 23:05:53 +0000
commit6c146eefbf75875250af37a0f1ea70fc6b4716ee (patch)
tree757ef033b6fd73d8345958abb5141772985c2530 /include/llvm/Transforms/Utils/Local.h
parenteca35b76cec713abb932eb016198b24a1acae314 (diff)
downloadexternal_llvm-6c146eefbf75875250af37a0f1ea70fc6b4716ee.zip
external_llvm-6c146eefbf75875250af37a0f1ea70fc6b4716ee.tar.gz
external_llvm-6c146eefbf75875250af37a0f1ea70fc6b4716ee.tar.bz2
DbgInfoIntrinsics no longer appear in an instruction's use list; so clean up looking for them in use iterations and remove OnlyUsedByDbgInfoIntrinsics()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94111 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Utils/Local.h')
-rw-r--r--include/llvm/Transforms/Utils/Local.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/llvm/Transforms/Utils/Local.h b/include/llvm/Transforms/Utils/Local.h
index 0b8147e..f6d9f82 100644
--- a/include/llvm/Transforms/Utils/Local.h
+++ b/include/llvm/Transforms/Utils/Local.h
@@ -27,7 +27,6 @@ class PHINode;
class AllocaInst;
class ConstantExpr;
class TargetData;
-class DbgInfoIntrinsic;
template<typename T> class SmallVectorImpl;
@@ -154,12 +153,6 @@ AllocaInst *DemoteRegToStack(Instruction &X,
/// The phi node is deleted and it returns the pointer to the alloca inserted.
AllocaInst *DemotePHIToStack(PHINode *P, Instruction *AllocaPoint = 0);
-/// OnlyUsedByDbgIntrinsics - Return true if the instruction I is only used
-/// by DbgIntrinsics. If DbgInUses is specified then the vector is filled
-/// with DbgInfoIntrinsic that use the instruction I.
-bool OnlyUsedByDbgInfoIntrinsics(Instruction *I,
- SmallVectorImpl<DbgInfoIntrinsic *> *DbgInUses = 0);
-
} // End llvm namespace
#endif