Chris Lattner 6e3abaa77f Ok, break down and add some cast<>'ing helper methods to the Type class
to reduce the number of cast<>'s we have.  This allows someone to use
things like Ty->getVectorNumElements() instead of 
cast<VectorType>(Ty)->getNumElements() when you know that a type is a
vector.

It would be a great general cleanup to move the codebase to use these,
I will do so in the code I'm touching.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148999 91177308-0d34-0410-b5e6-96231b3b80d8
2012-01-26 00:01:10 +00:00
..
2012-01-20 17:56:17 +00:00
2011-10-11 22:58:58 +00:00
2011-03-29 04:28:26 +00:00
2010-11-29 18:16:10 +00:00
2011-06-20 14:12:33 +00:00
2011-12-01 08:00:17 +00:00
2012-01-20 17:56:17 +00:00