Rename some GC classes so that their roll will hopefully be clearer.
authorGordon Henriksen <gordonhenriksen@mac.com>
Sun, 17 Aug 2008 18:44:35 +0000 (18:44 +0000)
committerGordon Henriksen <gordonhenriksen@mac.com>
Sun, 17 Aug 2008 18:44:35 +0000 (18:44 +0000)
commit5eca075b74d62c621b160aa216b4cd50829a2cc7
tree5406e0182a3a20726e00eec044bbca1199e673b9
parent94fb5f2a7066c427a9d3dac10a33ccbd02aac467
Rename some GC classes so that their roll will hopefully be clearer.

In particular, Collector was confusing to implementors. Several
thought that this compile-time class was the place to implement
their runtime GC heap. Of course, it doesn't even exist at runtime.
Specifically, the renames are:

  Collector               -> GCStrategy
  CollectorMetadata       -> GCFunctionInfo
  CollectorModuleMetadata -> GCModuleInfo
  CollectorRegistry       -> GCRegistry
  Function::getCollector  -> getGC (setGC, hasGC, clearGC)

Several accessors and nested types have also been renamed to be
consistent. These changes should be obvious.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54899 91177308-0d34-0410-b5e6-96231b3b80d8
38 files changed:
bindings/ocaml/llvm/llvm.ml
bindings/ocaml/llvm/llvm.mli
bindings/ocaml/llvm/llvm_ocaml.c
include/llvm-c/Core.h
include/llvm/Bitcode/LLVMBitCodes.h
include/llvm/CodeGen/AsmPrinter.h
include/llvm/CodeGen/GCMedataPrinter.h [deleted file]
include/llvm/CodeGen/GCMetadata.h
include/llvm/CodeGen/GCMetadataPrinter.h [new file with mode: 0644]
include/llvm/CodeGen/GCStrategy.h
include/llvm/CodeGen/GCs.h
include/llvm/CodeGen/LinkAllAsmWriterComponents.h
include/llvm/CodeGen/LinkAllCodegenComponents.h
include/llvm/CodeGen/Passes.h
include/llvm/CodeGen/SelectionDAGISel.h
include/llvm/Function.h
lib/AsmParser/llvmAsmParser.y
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Bitcode/Writer/BitcodeWriter.cpp
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp
lib/CodeGen/GCMetadata.cpp
lib/CodeGen/GCMetadataPrinter.cpp
lib/CodeGen/GCStrategy.cpp
lib/CodeGen/GCs.cpp [deleted file]
lib/CodeGen/LLVMTargetMachine.cpp
lib/CodeGen/OcamlGC.cpp
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
lib/CodeGen/ShadowStackGC.cpp
lib/Target/CBackend/CBackend.cpp
lib/Target/CppBackend/CPPBackend.cpp
lib/Target/MSIL/MSILWriter.cpp
lib/Transforms/Utils/InlineFunction.cpp
lib/VMCore/AsmWriter.cpp
lib/VMCore/Core.cpp
lib/VMCore/Function.cpp
lib/VMCore/Verifier.cpp
test/Bindings/Ocaml/vmcore.ml