46ada15d425c0f075853adff14927bbfc7fc39dc |
|
19-Jan-2012 |
Chris Lattner <sabre@nondot.org> |
Introduce a new MutableArrayRef class, which refers to a series of mutable T's that are consequtively in memory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148463 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/ArrayRef.h
|
fced2945995b4fd8f28f7dec9fcb5a6ab2e2798d |
|
17-Jan-2012 |
Jakub Staszak <kubastaszak@gmail.com> |
Trailing spaces. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148332 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/ArrayRef.h
|
1752e45de9914cb52d748c1052ecd2f1414bced4 |
|
17-Jan-2012 |
Chris Lattner <sabre@nondot.org> |
add some missing const qualifiers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148274 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/ArrayRef.h
|
f6275309994dea2ec852c1f539875ae643646ec5 |
|
24-Jul-2011 |
Frits van Bommel <fvbommel@gmail.com> |
Omit explicit length here, now that I've had a chance to test this with gcc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135867 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/ArrayRef.h
|
b80e3477d144a42b764e32f61ede4f842ca47151 |
|
18-Jul-2011 |
Frits van Bommel <fvbommel@gmail.com> |
Hopefully fix some GCC-based buildbots. GCC apparently decays the array to a pointer here before overload resolution, so construct with an explicit length instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135391 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/ArrayRef.h
|
c48e1ef0e22b4113dd4dd48c5b170a19fe4d0188 |
|
18-Jul-2011 |
Frits van Bommel <fvbommel@gmail.com> |
Introduce the 'makeArrayRef(...)' family of functions, which fills a similar role for ArrayRef<> as std::make_pair() fills for std::pair<>: they return the right instantiation of ArrayRef<T> based on the types of the parameters. They mostly mirror the ArrayRef constructors, with two exceptions: * There's no function mirroring the default constructor because it wouldn't have any parameters to deduce the right ArrayRef<T> from. * There's an explicit SmallVector<T> overload in addition to the SmallVectorImpl<T> overload. Without it, the single-element overload would try to create an ArrayRef<Smallvector<T> > because it's a better match according to the overloading rules. (And both overloads are used in the current tree, so neither is redundant) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135389 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/ArrayRef.h
|
5d4f9909c49d28db9572acc4513c1a695b0c53da |
|
13-Jul-2011 |
Jay Foad <jay.foad@gmail.com> |
Add some bits that I found useful when converting InsertValueInst and ExtractValueInst APIs to use ArrayRef: a new constructor taking a (begin, end) range, and operators == and != for element-wise comparison. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135039 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/ArrayRef.h
|
2a4a6fecf0b8c92223f8fdf19545b564b7d3fcde |
|
22-Jun-2011 |
Jay Foad <jay.foad@gmail.com> |
Extend ConstantUniqueMap with a new template parameter ValRefType, representing a constant reference to ValType. Normally this is just "const ValType &", but when ValType is a std::vector we want to use ArrayRef as the reference type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133611 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/ArrayRef.h
|
715c80a00b965f19ca2c7dacbc2f809221cc2730 |
|
13-Apr-2011 |
Jay Foad <jay.foad@gmail.com> |
Fix typo in comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129436 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/ArrayRef.h
|
fa09685a9aa17dbdd4c72ad032684debb25feb0b |
|
02-Mar-2011 |
Chris Lattner <sabre@nondot.org> |
add some slice helper methods. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126878 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/ArrayRef.h
|
878ad7afa512ef300d5df4e7ca0189775342dfc2 |
|
27-Feb-2011 |
Chris Lattner <sabre@nondot.org> |
add a data() method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126590 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/ArrayRef.h
|
438208e8cb29c67b2177619a339b84291729b6b7 |
|
23-Feb-2011 |
Frits van Bommel <fvbommel@gmail.com> |
Implement TODO for implicit C-array-to-ArrayRef conversion. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126311 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/ArrayRef.h
|
04b2f0d99feb9cdf87eb8f35483816d757d170dd |
|
15-Feb-2011 |
Chris Lattner <sabre@nondot.org> |
fix comments git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125543 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/ArrayRef.h
|
04df049014396fe97a31bf3fa8951201b2ed8ffe |
|
15-Feb-2011 |
Chris Lattner <sabre@nondot.org> |
fix some typos. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125536 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/ArrayRef.h
|
75831904220042260c4faece8507a2807acba47f |
|
14-Feb-2011 |
Chris Lattner <sabre@nondot.org> |
revert my ConstantVector patch, it seems to have made the llvm-gcc builders unhappy. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125504 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/ArrayRef.h
|
283c8caccd093f8e1d4f0bdd01ac240b4edbd20a |
|
14-Feb-2011 |
Chris Lattner <sabre@nondot.org> |
Switch ConstantVector::get to use ArrayRef instead of a pointer+size idiom. Change various clients to simplify their code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125487 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/ArrayRef.h
|
2b9bc422a5e6840f5b925316bc06d5943deb610a |
|
14-Feb-2011 |
Chris Lattner <sabre@nondot.org> |
add a new ArrayRef class. This is intended to replace the idiom we use in many places where we pass a pointer and size to abstract APIs that can take C arrays, std::vector, SmallVector, etc. It is to arrays what StringRef is to strings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125486 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/ArrayRef.h
|