ArrayRef.h File Reference

#include "llvm/ADT/SmallVector.h"
#include <vector>

Go to the source code of this file.

Classes

class  llvm::ArrayRef< T >
 ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory), i.e. More...
struct  llvm::isPodLike< ArrayRef< T > >

Namespaces

namespace  llvm

Functions

ArrayRef Convenience constructors



template<typename T >
ArrayRef< T > llvm::makeArrayRef (const T &OneElt)
 Construct an ArrayRef from a single element.
template<typename T >
ArrayRef< T > llvm::makeArrayRef (const T *data, size_t length)
 Construct an ArrayRef from a pointer and length.
template<typename T >
ArrayRef< T > llvm::makeArrayRef (const T *begin, const T *end)
 Construct an ArrayRef from a range.
template<typename T >
ArrayRef< T > llvm::makeArrayRef (const SmallVectorImpl< T > &Vec)
 Construct an ArrayRef from a SmallVector.
template<typename T , unsigned N>
ArrayRef< T > llvm::makeArrayRef (const SmallVector< T, N > &Vec)
 Construct an ArrayRef from a SmallVector.
template<typename T >
ArrayRef< T > llvm::makeArrayRef (const std::vector< T > &Vec)
 Construct an ArrayRef from a std::vector.
template<typename T , size_t N>
ArrayRef< T > llvm::makeArrayRef (const T(&Arr)[N])
 Construct an ArrayRef from a C array.
ArrayRef Comparison Operators



template<typename T >
bool llvm::operator== (ArrayRef< T > LHS, ArrayRef< T > RHS)
template<typename T >
bool llvm::operator!= (ArrayRef< T > LHS, ArrayRef< T > RHS)

Generated on 2 Nov 2013 for Galois by  doxygen 1.6.1