/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
VersionTupleTest.cpp | 24 VersionTuple VT; 26 EXPECT_FALSE(VT.tryParse("1")); 27 EXPECT_EQ("1", VT.getAsString()); 29 EXPECT_FALSE(VT.tryParse("1.2")); 30 EXPECT_EQ("1.2", VT.getAsString()); 32 EXPECT_FALSE(VT.tryParse("1.2.3")); 33 EXPECT_EQ("1.2.3", VT.getAsString()); 35 EXPECT_FALSE(VT.tryParse("1.2.3.4")); 36 EXPECT_EQ("1.2.3.4", VT.getAsString()); 38 EXPECT_TRUE(VT.tryParse("")) [all...] |
/external/clang/test/SemaCXX/ |
cxx11-call-to-deleted-constructor.cpp | 10 template <class VT, unsigned int ROWS = 0, unsigned int COLS = 0> 14 typedef VT value_type; 18 template <class VT, unsigned int SIZE> using Vector = Matrix<VT, SIZE, 1>; 20 template <class VT> 21 using RGBValue = Vector<VT, 3>; 24 template <class VT> class Matrix<VT, 0, 0> { // expected-note {{passing argument to parameter here}} 26 typedef VT value_type;
|
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/ |
null.pass.cpp | 26 template <class VT> 29 std::unique_ptr<VT> p(0); 33 std::unique_ptr<VT, Deleter<VT> > p(0); 39 template <class VT> 42 std::default_delete<VT> d; 43 std::unique_ptr<VT> p(0, d); 47 std::unique_ptr<VT, Deleter<VT> > p(0, Deleter<VT>(5)) [all...] |
move.pass.cpp | 41 template <class VT> 42 std::unique_ptr<VT> source1() { 43 return std::unique_ptr<VT>(newValue<VT>(1)); 46 template <class VT> 47 std::unique_ptr<VT, Deleter<VT> > source2() { 48 return std::unique_ptr<VT, Deleter<VT> >(newValue<VT>(1), Deleter<VT>(5)) [all...] |
nullptr.pass.cpp | 36 template <class VT> 40 using U1 = std::unique_ptr<VT>; 41 using U2 = std::unique_ptr<VT, Deleter<VT> >; 49 std::unique_ptr<VT> p(nullptr); 53 std::unique_ptr<VT, NCDeleter<VT> > p(nullptr); 59 template <class VT> 64 using U = std::unique_ptr<VT, void (*)(void*)>; 69 using Del = CDeleter<VT>; [all...] |
move_convert.pass.cpp | 102 typedef typename std::conditional<IsArray, A[], A>::type VT; 106 using U1 = std::unique_ptr<VT, GenericConvertingDeleter<0> >; 107 using U2 = std::unique_ptr<VT, GenericConvertingDeleter<1> >; 112 using U1 = std::unique_ptr<VT, GenericDeleter<0> >; 113 using U2 = std::unique_ptr<VT, GenericDeleter<1> >; 118 using U1 = std::unique_ptr<VT, GenericConvertingDeleter<0> const& >; 119 using U2 = std::unique_ptr<VT, GenericConvertingDeleter<0> >; 120 using U3 = std::unique_ptr<VT, GenericConvertingDeleter<0> &>; 121 using U4 = std::unique_ptr<VT, GenericConvertingDeleter<1> >; 122 using U5 = std::unique_ptr<VT, GenericConvertingDeleter<1> const&> [all...] |
/external/llvm/lib/Target/X86/Utils/ |
X86ShuffleDecode.h | 35 void DecodeInsertElementMask(MVT VT, unsigned Idx, unsigned Len, 46 void DecodeMOVSLDUPMask(MVT VT, SmallVectorImpl<int> &ShuffleMask); 48 void DecodeMOVSHDUPMask(MVT VT, SmallVectorImpl<int> &ShuffleMask); 50 void DecodeMOVDDUPMask(MVT VT, SmallVectorImpl<int> &ShuffleMask); 52 void DecodePSLLDQMask(MVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask); 54 void DecodePSRLDQMask(MVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask); 56 void DecodePALIGNRMask(MVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask); 59 /// VT indicates the type of the vector allowing it to handle different 61 void DecodePSHUFMask(MVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask); 64 /// VT indicates the type of the vector allowing it to handle differen [all...] |
X86ShuffleDecode.cpp | 48 void DecodeInsertElementMask(MVT VT, unsigned Idx, unsigned Len, 50 unsigned NumElts = VT.getVectorNumElements(); 77 void DecodeMOVSLDUPMask(MVT VT, SmallVectorImpl<int> &ShuffleMask) { 78 unsigned NumElts = VT.getVectorNumElements(); 85 void DecodeMOVSHDUPMask(MVT VT, SmallVectorImpl<int> &ShuffleMask) { 86 unsigned NumElts = VT.getVectorNumElements(); 93 void DecodeMOVDDUPMask(MVT VT, SmallVectorImpl<int> &ShuffleMask) { 94 unsigned VectorSizeInBits = VT.getSizeInBits(); 95 unsigned ScalarSizeInBits = VT.getScalarSizeInBits(); 96 unsigned NumElts = VT.getVectorNumElements() [all...] |
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.asgn/ |
move.pass.cpp | 34 typedef typename std::conditional<IsArray, A[], A>::type VT; 37 std::unique_ptr<VT> s1(newValue<VT>(expect_alive)); 39 std::unique_ptr<VT> s2(newValue<VT>(expect_alive)); 48 std::unique_ptr<VT, Deleter<VT> > s1(newValue<VT>(expect_alive), 49 Deleter<VT>(5)); 51 std::unique_ptr<VT, Deleter<VT> > s2(newValue<VT>(expect_alive)) [all...] |
null.pass.cpp | 24 typedef typename std::conditional<IsArray, A[], A>::type VT; 27 std::unique_ptr<VT> s2(newValue<VT>(expect_alive));
|
nullptr.pass.cpp | 25 typedef typename std::conditional<IsArray, A[], A>::type VT; 28 std::unique_ptr<VT> s2(newValue<VT>(expect_alive));
|
move_convert.pass.cpp | 184 template <class VT, class DDest, class DSource> 186 using U1 = std::unique_ptr<VT, DDest>; 187 using U2 = std::unique_ptr<VT, DSource>; 198 typedef typename std::conditional<IsArray, A[], A>::type VT; 202 using U1 = std::unique_ptr<VT, GenericConvertingDeleter<0> >; 203 using U2 = std::unique_ptr<VT, GenericConvertingDeleter<1> >; 208 using U1 = std::unique_ptr<VT, GenericDeleter<0> >; 209 using U2 = std::unique_ptr<VT, GenericDeleter<1> >; 214 using U1 = std::unique_ptr<VT, GenericConvertingDeleter<0> const& >; 215 using U2 = std::unique_ptr<VT, GenericConvertingDeleter<0> > [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
AArch64ISelDAGToDAG.cpp | [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Target/ |
TargetLowering.h | 167 virtual EVT getSetCCResultType(EVT VT) const; 202 virtual TargetRegisterClass *getRegClassFor(EVT VT) const { 203 assert(VT.isSimple() && "getRegClassFor called on illegal type!"); 204 TargetRegisterClass *RC = RegClassForVT[VT.getSimpleVT().SimpleTy]; 214 virtual const TargetRegisterClass *getRepRegClassFor(EVT VT) const { 215 assert(VT.isSimple() && "getRepRegClassFor called on illegal type!"); 216 const TargetRegisterClass *RC = RepRegClassForVT[VT.getSimpleVT().SimpleTy]; 222 virtual uint8_t getRepRegClassCostFor(EVT VT) const { 223 assert(VT.isSimple() && "getRepRegClassCostFor called on illegal type!"); 224 return RepRegClassCostForVT[VT.getSimpleVT().SimpleTy] [all...] |
/external/llvm/lib/Target/AArch64/ |
AArch64ISelDAGToDAG.cpp | [all...] |
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.modifiers/ |
reset.pass.cpp | 24 typedef typename std::conditional<IsArray, A[], A>::type VT; 28 using U = std::unique_ptr<VT>; 34 std::unique_ptr<VT> p(newValue<VT>(expect_alive)); 38 A* new_value = newValue<VT>(expect_alive); 46 std::unique_ptr<const VT> p(newValue<const VT>(expect_alive)); 50 A* new_value = newValue<VT>(expect_alive); 61 typedef typename std::conditional<IsArray, A[], A>::type VT; 65 using U = std::unique_ptr<VT>; [all...] |
swap.pass.cpp | 44 typedef typename std::remove_all_extents<T>::type VT; 45 VT* p = newValue<T>(size); 53 typedef typename std::conditional<IsArray, TT[], TT>::type VT; 57 using U = std::unique_ptr<VT, Deleter<VT> >; 63 TT* p1 = newValueInit<VT>(expect_alive, 1); 64 std::unique_ptr<VT, Deleter<VT> > s1(p1, Deleter<VT>(1)); 65 TT* p2 = newValueInit<VT>(expect_alive, 2) [all...] |
release.pass.cpp | 24 typedef typename std::conditional<IsArray, A[], A>::type VT; 28 using U = std::unique_ptr<VT>; 34 std::unique_ptr<VT> p(newValue<VT>(expect_alive));
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
LowLevelType.cpp | 19 LLT::LLT(MVT VT) { 20 if (VT.isVector()) { 21 init(/*isPointer=*/false, VT.getVectorNumElements() > 1, 22 VT.getVectorNumElements(), VT.getVectorElementType().getSizeInBits(), 24 } else if (VT.isValid()) { 27 assert(VT.getSizeInBits() != 0 && "invalid zero-sized type"); 29 VT.getSizeInBits(), /*AddressSpace=*/0);
|
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/ |
pointer_type.pass.cpp | 36 typedef typename std::conditional<IsArray, int[], int>::type VT; 38 typedef std::unique_ptr<VT> P; 42 typedef std::unique_ptr<VT, Deleter> P; 48 typedef std::unique_ptr<VT, D2> P; 52 typedef std::unique_ptr<VT, D3> P;
|
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.observers/ |
get.pass.cpp | 24 typedef typename std::conditional<IsArray, int[], int>::type VT; 25 typedef const VT CVT; 27 typedef std::unique_ptr<VT> U; 28 int* p = newValue<VT>(1); 38 const int* p = newValue<VT>(1);
|
/external/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.members/ |
allocate.pass.cpp | 44 typedef IncompleteHolder* VT; 45 typedef A<VT> Alloc; 47 assert(std::allocator_traits<Alloc >::allocate(a, 10) == reinterpret_cast<VT*>(static_cast<std::uintptr_t>(0xDEADBEEF)));
|
allocate_hint.pass.cpp | 65 typedef IncompleteHolder* VT; 66 typedef A<VT> Alloc; 68 assert(std::allocator_traits<Alloc >::allocate(a, 10, nullptr) == reinterpret_cast<VT*>(static_cast<std::uintptr_t>(0xDEADBEEF))); 76 typedef IncompleteHolder* VT; 77 typedef B<VT> Alloc; 79 assert(std::allocator_traits<Alloc >::allocate(b, 11, nullptr) == reinterpret_cast<VT*>(static_cast<std::uintptr_t>(0xFEADBEEF)));
|
/external/libcxx/test/std/containers/unord/unord.multiset/ |
insert_const_lvalue.pass.cpp | 28 typedef typename C::value_type VT; 30 const VT v1(3.5); 39 const VT v2(4.5); 44 const VT v3(5.5);
|
/external/llvm/include/llvm/CodeGen/ |
ValueTypes.h | 41 bool operator==(EVT VT) const { 42 return !(*this != VT); 44 bool operator!=(EVT VT) const { 45 if (V.SimpleTy != VT.V.SimpleTy) 48 return LLVMTy != VT.LLVMTy; 69 /// length, where each element is of type VT. 70 static EVT getVectorVT(LLVMContext &Context, EVT VT, unsigned NumElements) { 71 MVT M = MVT::getVectorVT(VT.V, NumElements); 74 return getExtendedVectorVT(Context, VT, NumElements); 88 "Simple vector VT not representable by simple integer vector VT!") [all...] |