LLVM API Documentation
#include "llvm/ADT/None.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallVector.h"
#include <vector>
Go to the source code of this file.
Classes | |
class | llvm::ArrayRef< T > |
struct | llvm::ArrayRef< T >::TRefOrNothing |
A dummy "optional" type that is only created by implicit conversion from a reference to T. | |
class | llvm::MutableArrayRef< T > |
struct | llvm::isPodLike< ArrayRef< T > > |
Namespaces | |
namespace | llvm |
List of target independent CodeGen pass IDs. | |
Functions | |
template<typename T > | |
bool | llvm::operator== (ArrayRef< T > LHS, ArrayRef< T > RHS) |
template<typename T > | |
bool | llvm::operator!= (ArrayRef< T > LHS, ArrayRef< T > RHS) |
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. |