llvm-6502/lib/Transforms
Gordon Henriksen 80a75bfae9 Adding a collector name attribute to Function in the IR. These
methods are new to Function:

  bool hasCollector() const;
  const std::string &getCollector() const;
  void setCollector(const std::string &);
  void clearCollector();

The assembly representation is as such:

  define void @f() gc "shadow-stack" { ...

The implementation uses an on-the-side table to map Functions to 
collector names, such that there is no overhead. A StringPool is 
further used to unique collector names, which are extremely
likely to be unique per process.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44769 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-10 03:18:06 +00:00
..
Hello Fix typo in comment. 2007-05-06 13:37:16 +00:00
Instrumentation More fleshing out of docs/Passes.html, plus some typo fixes and 2007-10-26 03:03:51 +00:00
IPO Rather than having special rules like "intrinsics cannot 2007-12-03 20:06:50 +00:00
Scalar Fix several cache coherence bugs in MemDep/GVN that were found. Also add some (disabled) debugging code 2007-12-08 01:37:09 +00:00
Utils Adding a collector name attribute to Function in the IR. These 2007-12-10 03:18:06 +00:00
Makefile Build Hello by default so it can be used in test cases. 2007-04-11 21:03:37 +00:00