[CodeGen] Add iterator_range for the MVT::SimpleValueType enum.
authorAhmed Bougacha <ahmed.bougacha@gmail.com>
Wed, 7 Jan 2015 21:15:38 +0000 (21:15 +0000)
committerAhmed Bougacha <ahmed.bougacha@gmail.com>
Wed, 7 Jan 2015 21:15:38 +0000 (21:15 +0000)
commit2925572796c3a328609b18d60469a39f9e374eae
tree756c48037efe760b117fbcc55fa5d3434ae1a36d
parentdb50b3d09087ae0044160c8fab5954a498296e59
[CodeGen] Add iterator_range for the MVT::SimpleValueType enum.

This commit adds a simple iterator over that enum, and a few
functions to create iterator ranges over the most common types.

Differential Revision: http://reviews.llvm.org/D6537

llvm-svn: 225387
llvm/include/llvm/CodeGen/MachineValueType.h