llvm-project/llvm
Duncan P. N. Exon Smith dc0848c029 CodeGen: MachineInstr::getIterator() => getInstrIterator(), NFC
Delete MachineInstr::getIterator(), since the term "iterator" is
overloaded when talking about MachineInstr.

- Downcast to ilist_node in iplist::getNextNode() and getPrevNode() so
  that ilist_node::getIterator() is still available.
- Add it back as MachineInstr::getInstrIterator().  This matches the
  naming in MachineBasicBlock.
- Add MachineInstr::getBundleIterator().  This is explicitly called
  "bundle" (not matching MachineBasicBlock) to disintinguish it clearly
  from ilist_node::getIterator().
- Update all calls.  Some of these I switched to `auto` to remove
  boiler-plate, since the new name is clear about the type.

There was one call I updated that looked fishy, but it wasn't clear what
the right answer was.  This was in X86FrameLowering::inlineStackProbe(),
added in r252578 in lib/Target/X86/X86FrameLowering.cpp.  I opted to
leave the behaviour unchanged, but I'll reply to the original commit on
the list in a moment.

llvm-svn: 261504
2016-02-21 22:58:35 +00:00
..
bindings Kill LLVMAddTargetData 2016-02-16 00:22:02 +00:00
cmake cmake: Simplify the iOS.cmake toolchain 2016-02-12 23:36:05 +00:00
docs [LPM] Document the new helpers to make it easy to get consistent require 2016-02-19 10:59:43 +00:00
examples Remove autoconf support 2016-01-26 21:29:08 +00:00
include CodeGen: MachineInstr::getIterator() => getInstrIterator(), NFC 2016-02-21 22:58:35 +00:00
lib CodeGen: MachineInstr::getIterator() => getInstrIterator(), NFC 2016-02-21 22:58:35 +00:00
projects Remove autoconf support 2016-01-26 21:29:08 +00:00
resources
test [X86][AVX] Add shuffle masking support for EltsFromConsecutiveLoads 2016-02-21 19:15:48 +00:00
tools fixing msvc warning. 2016-02-20 02:11:49 +00:00
unittests ScalarEvolution: Do not keep temporary PHI values in ValueExprMap 2016-02-21 17:42:10 +00:00
utils [X86] Remove some unused encoding checks from the disassembler table building. 2016-02-20 06:20:21 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt [CMake] Properly set CMAKE_BUILD_TYPE to Debug by default 2016-02-18 23:07:09 +00:00
CODE_OWNERS.TXT [docs] Remove references to autotools build. 2016-01-30 01:10:15 +00:00
CREDITS.TXT
LICENSE.TXT
LLVMBuild.txt
README.txt Revert previous test commit. 2016-01-04 19:13:29 +00:00
configure Remove autoconf support 2016-01-26 21:29:08 +00:00
llvm.spec.in

README.txt

Low Level Virtual Machine (LLVM)
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.