llvm-6502/utils/TableGen
Alkis Evlogimenos 73ff5120eb Change MRegisterDesc::AliasSet, TargetInstrDescriptor::ImplicitDefs
and TargetInstrDescriptor::ImplicitUses to always point to a null
terminated array and never be null. So there is no need to check for
pointer validity when iterating over those sets. Code that looked
like:

if (const unsigned* AS = TID.ImplicitDefs) {
  for (int i = 0; AS[i]; ++i) {
    // use AS[i]
  }
}

was changed to:

for (const unsigned* AS = TID.ImplicitDefs; *AS; ++AS) {
  // use *AS
}


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8960 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-08 05:20:08 +00:00
..
CodeEmitterGen.cpp Do not put DEBUG() guard around error condition; this must *always* be printed. 2003-09-17 18:21:48 +00:00
CodeEmitterGen.h
CodeGenTarget.cpp Add new function 2003-08-10 19:50:32 +00:00
CodeGenTarget.h Using std::string requires `#include <string>', says gcc-2.95.3. 2003-08-13 22:27:15 +00:00
CodeGenWrappers.cpp Add new function 2003-08-10 19:50:32 +00:00
CodeGenWrappers.h Using std::string requires `#include <string>', says gcc-2.95.3. 2003-08-13 22:27:15 +00:00
FileLexer.l Modified the code so that we exit() with a non-zero value instead of calling 2003-09-09 14:37:48 +00:00
FileParser.y Spell `necessary' correctly. 2003-08-18 14:43:39 +00:00
InstrInfoEmitter.cpp Change MRegisterDesc::AliasSet, TargetInstrDescriptor::ImplicitDefs 2003-10-08 05:20:08 +00:00
InstrInfoEmitter.h
InstrSelectorEmitter.cpp Squelch warning 2003-09-22 20:27:10 +00:00
InstrSelectorEmitter.h Added #include <cassert>. In GCC 3.3, we don't get assert() through the other 2003-08-20 22:07:45 +00:00
Makefile Move support/tools/* back into utils 2003-10-05 19:27:59 +00:00
Record.cpp Implement correct parsing, representation, and printing of DAG argument names 2003-08-10 22:14:13 +00:00
Record.h Implement autopromotion of leaf trees from arguments to nodes of their own, 2003-08-10 22:38:36 +00:00
RegisterInfoEmitter.cpp Change MRegisterDesc::AliasSet, TargetInstrDescriptor::ImplicitDefs 2003-10-08 05:20:08 +00:00
RegisterInfoEmitter.h
TableGen.cpp Fixed spelling of `intentionally'. 2003-09-07 20:12:52 +00:00
TableGenBackend.cpp Eliminate now-dead method 2003-08-07 05:39:37 +00:00
TableGenBackend.h Eliminate now-dead method 2003-08-07 05:39:37 +00:00