diff options
author | Dan Gohman <gohman@apple.com> | 2008-05-06 01:32:53 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-05-06 01:32:53 +0000 |
commit | a8b7e78f542cd9ba3a992d0d3687d108a8a4ffa9 (patch) | |
tree | 8b12915e8fd2874a31a7ecd2d05d2638f7c83312 /llvm/lib | |
parent | dbcc2ca6b2d6893ec6f1c7b8ec9d94b35f02852c (diff) | |
download | bcm5719-llvm-a8b7e78f542cd9ba3a992d0d3687d108a8a4ffa9.tar.gz bcm5719-llvm-a8b7e78f542cd9ba3a992d0d3687d108a8a4ffa9.zip |
Remove uses of llvm/System/IncludeFile.h that are no longer needed.
llvm-svn: 50695
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Analysis/IPA/FindUsedTypes.cpp | 3 | ||||
-rw-r--r-- | llvm/lib/Analysis/LoopInfo.cpp | 3 | ||||
-rw-r--r-- | llvm/lib/Analysis/PostDominators.cpp | 3 | ||||
-rw-r--r-- | llvm/lib/CodeGen/MachineLoopInfo.cpp | 3 | ||||
-rw-r--r-- | llvm/lib/Support/Dwarf.cpp | 3 | ||||
-rw-r--r-- | llvm/lib/System/Alarm.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/System/DynamicLibrary.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/System/Memory.cpp | 3 | ||||
-rw-r--r-- | llvm/lib/System/Mutex.cpp | 1 | ||||
-rw-r--r-- | llvm/lib/System/Process.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/System/Program.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/System/Signals.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/VMCore/IntrinsicInst.cpp | 4 | ||||
-rw-r--r-- | llvm/lib/VMCore/Mangler.cpp | 3 |
15 files changed, 0 insertions, 38 deletions
diff --git a/llvm/lib/Analysis/IPA/FindUsedTypes.cpp b/llvm/lib/Analysis/IPA/FindUsedTypes.cpp index cd61842f7c2..0a28cd5153c 100644 --- a/llvm/lib/Analysis/IPA/FindUsedTypes.cpp +++ b/llvm/lib/Analysis/IPA/FindUsedTypes.cpp @@ -96,6 +96,3 @@ void FindUsedTypes::print(std::ostream &o, const Module *M) const { E = UsedTypes.end(); I != E; ++I) WriteTypeSymbolic(o << " ", *I, M) << "\n"; } - -// Ensure that this file gets linked in when FindUsedTypes.h is used. -DEFINING_FILE_FOR(FindUsedTypes) diff --git a/llvm/lib/Analysis/LoopInfo.cpp b/llvm/lib/Analysis/LoopInfo.cpp index e067c1768fe..b6c6c5ffc0b 100644 --- a/llvm/lib/Analysis/LoopInfo.cpp +++ b/llvm/lib/Analysis/LoopInfo.cpp @@ -51,6 +51,3 @@ void LoopInfo::getAnalysisUsage(AnalysisUsage &AU) const { AU.setPreservesAll(); AU.addRequired<DominatorTree>(); } - -// Ensure this file gets linked when LoopInfo.h is used. -DEFINING_FILE_FOR(LoopInfo) diff --git a/llvm/lib/Analysis/PostDominators.cpp b/llvm/lib/Analysis/PostDominators.cpp index c72b140a622..cfa1b463295 100644 --- a/llvm/lib/Analysis/PostDominators.cpp +++ b/llvm/lib/Analysis/PostDominators.cpp @@ -84,6 +84,3 @@ PostDominanceFrontier::calculate(const PostDominatorTree &DT, return S; } - -// Ensure that this .cpp file gets linked when PostDominators.h is used. -DEFINING_FILE_FOR(PostDominanceFrontier) diff --git a/llvm/lib/CodeGen/MachineLoopInfo.cpp b/llvm/lib/CodeGen/MachineLoopInfo.cpp index 9900728d3e9..007317ccb59 100644 --- a/llvm/lib/CodeGen/MachineLoopInfo.cpp +++ b/llvm/lib/CodeGen/MachineLoopInfo.cpp @@ -40,6 +40,3 @@ void MachineLoopInfo::getAnalysisUsage(AnalysisUsage &AU) const { AU.setPreservesAll(); AU.addRequired<MachineDominatorTree>(); } - -// Ensure this file gets linked when MachineLoopInfo.h is used. -DEFINING_FILE_FOR(MachineLoopInfo) diff --git a/llvm/lib/Support/Dwarf.cpp b/llvm/lib/Support/Dwarf.cpp index 53d0ecbcbed..f3f183436ec 100644 --- a/llvm/lib/Support/Dwarf.cpp +++ b/llvm/lib/Support/Dwarf.cpp @@ -12,7 +12,6 @@ //===----------------------------------------------------------------------===// #include "llvm/Support/Dwarf.h" -#include "llvm/System/IncludeFile.h" #include <cassert> @@ -582,5 +581,3 @@ const char *CallFrameString(unsigned Encoding) { } // End of namespace dwarf. } // End of namespace llvm. - -DEFINING_FILE_FOR(SupportDwarf) diff --git a/llvm/lib/System/Alarm.cpp b/llvm/lib/System/Alarm.cpp index 57a8b081856..0014ca716b3 100644 --- a/llvm/lib/System/Alarm.cpp +++ b/llvm/lib/System/Alarm.cpp @@ -31,5 +31,3 @@ using namespace sys; #ifdef LLVM_ON_WIN32 #include "Win32/Alarm.inc" #endif - -DEFINING_FILE_FOR(SystemAlarm) diff --git a/llvm/lib/System/DynamicLibrary.cpp b/llvm/lib/System/DynamicLibrary.cpp index 7af718d490d..572ba496e19 100644 --- a/llvm/lib/System/DynamicLibrary.cpp +++ b/llvm/lib/System/DynamicLibrary.cpp @@ -159,5 +159,3 @@ void* DynamicLibrary::SearchForAddressOfSymbol(const char* symbolName) { } #endif // LLVM_ON_WIN32 - -DEFINING_FILE_FOR(SystemDynamicLibrary) diff --git a/llvm/lib/System/Memory.cpp b/llvm/lib/System/Memory.cpp index a0aa5432688..054cc966a3e 100644 --- a/llvm/lib/System/Memory.cpp +++ b/llvm/lib/System/Memory.cpp @@ -14,7 +14,6 @@ #include "llvm/System/Memory.h" #include "llvm/Config/config.h" -#include "llvm/System/IncludeFile.h" namespace llvm { using namespace sys; @@ -33,5 +32,3 @@ using namespace sys; #ifdef LLVM_ON_WIN32 #include "Win32/Memory.inc" #endif - -DEFINING_FILE_FOR(SystemMemory) diff --git a/llvm/lib/System/Mutex.cpp b/llvm/lib/System/Mutex.cpp index 0b7c5b57459..3bef7ce0b02 100644 --- a/llvm/lib/System/Mutex.cpp +++ b/llvm/lib/System/Mutex.cpp @@ -13,7 +13,6 @@ #include "llvm/Config/config.h" #include "llvm/System/Mutex.h" -#include "llvm/System/IncludeFile.h" //===----------------------------------------------------------------------===// //=== WARNING: Implementation here must contain only TRULY operating system diff --git a/llvm/lib/System/Process.cpp b/llvm/lib/System/Process.cpp index 4a5f9bafdd7..e93b2af4c12 100644 --- a/llvm/lib/System/Process.cpp +++ b/llvm/lib/System/Process.cpp @@ -31,5 +31,3 @@ using namespace sys; #ifdef LLVM_ON_WIN32 #include "Win32/Process.inc" #endif - -DEFINING_FILE_FOR(SystemProcess) diff --git a/llvm/lib/System/Program.cpp b/llvm/lib/System/Program.cpp index fb00dc958fb..eb289d81b2e 100644 --- a/llvm/lib/System/Program.cpp +++ b/llvm/lib/System/Program.cpp @@ -31,5 +31,3 @@ using namespace sys; #ifdef LLVM_ON_WIN32 #include "Win32/Program.inc" #endif - -DEFINING_FILE_FOR(SystemProgram) diff --git a/llvm/lib/System/Signals.cpp b/llvm/lib/System/Signals.cpp index fddb85410d4..d345b0a9aed 100644 --- a/llvm/lib/System/Signals.cpp +++ b/llvm/lib/System/Signals.cpp @@ -32,5 +32,3 @@ using namespace sys; #ifdef LLVM_ON_WIN32 #include "Win32/Signals.inc" #endif - -DEFINING_FILE_FOR(SystemSignals) diff --git a/llvm/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp b/llvm/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp index 6cdaba53a05..c024d32374e 100644 --- a/llvm/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp +++ b/llvm/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp @@ -28,8 +28,6 @@ char UnifyFunctionExitNodes::ID = 0; static RegisterPass<UnifyFunctionExitNodes> X("mergereturn", "Unify function exit nodes"); -int UnifyFunctionExitNodes::stub; - Pass *llvm::createUnifyFunctionExitNodesPass() { return new UnifyFunctionExitNodes(); } diff --git a/llvm/lib/VMCore/IntrinsicInst.cpp b/llvm/lib/VMCore/IntrinsicInst.cpp index fb7a74b5f77..94f582911e1 100644 --- a/llvm/lib/VMCore/IntrinsicInst.cpp +++ b/llvm/lib/VMCore/IntrinsicInst.cpp @@ -74,7 +74,3 @@ std::string DbgStopPointInst::getDirectory() const { ConstantStruct *CS = cast<ConstantStruct>(GV->getInitializer()); return CS->getOperand(4)->getStringValue(); } - -//===----------------------------------------------------------------------===// -/// Ensure that users of IntrinsicInst.h will link with this module. -DEFINING_FILE_FOR(IntrinsicInst) diff --git a/llvm/lib/VMCore/Mangler.cpp b/llvm/lib/VMCore/Mangler.cpp index 7448e7de444..0437508f394 100644 --- a/llvm/lib/VMCore/Mangler.cpp +++ b/llvm/lib/VMCore/Mangler.cpp @@ -211,6 +211,3 @@ Mangler::Mangler(Module &M, const char *prefix) for (Module::global_iterator I = M.global_begin(), E = M.global_end(); I != E; ++I) InsertName(I, Names); } - -// Cause this file to be linked in when Support/Mangler.h is #included -DEFINING_FILE_FOR(Mangler) |