Home
last modified time | relevance | path

Searched refs:Vec (Results 1 – 25 of 88) sorted by relevance

1234

/external/llvm/unittests/ADT/
DPackedVectorTest.cpp22 PackedVector<unsigned, 2> Vec; in TEST() local
23 EXPECT_EQ(0U, Vec.size()); in TEST()
24 EXPECT_TRUE(Vec.empty()); in TEST()
26 Vec.resize(5); in TEST()
27 EXPECT_EQ(5U, Vec.size()); in TEST()
28 EXPECT_FALSE(Vec.empty()); in TEST()
30 Vec.resize(11); in TEST()
31 EXPECT_EQ(11U, Vec.size()); in TEST()
32 EXPECT_FALSE(Vec.empty()); in TEST()
38 Vec.clear(); in TEST()
[all …]
DBitVectorTest.cpp30 TypeParam Vec; in TYPED_TEST() local
31 EXPECT_EQ(0U, Vec.count()); in TYPED_TEST()
32 EXPECT_EQ(0U, Vec.size()); in TYPED_TEST()
33 EXPECT_FALSE(Vec.any()); in TYPED_TEST()
34 EXPECT_TRUE(Vec.all()); in TYPED_TEST()
35 EXPECT_TRUE(Vec.none()); in TYPED_TEST()
36 EXPECT_TRUE(Vec.empty()); in TYPED_TEST()
38 Vec.resize(5, true); in TYPED_TEST()
39 EXPECT_EQ(5U, Vec.count()); in TYPED_TEST()
40 EXPECT_EQ(5U, Vec.size()); in TYPED_TEST()
[all …]
DSparseBitVectorTest.cpp18 SparseBitVector<> Vec; in TEST() local
19 EXPECT_EQ(0U, Vec.count()); in TEST()
20 EXPECT_FALSE(Vec.test(17)); in TEST()
21 Vec.set(5); in TEST()
22 EXPECT_TRUE(Vec.test(5)); in TEST()
23 EXPECT_FALSE(Vec.test(17)); in TEST()
24 Vec.reset(6); in TEST()
25 EXPECT_TRUE(Vec.test(5)); in TEST()
26 EXPECT_FALSE(Vec.test(6)); in TEST()
27 Vec.reset(5); in TEST()
[all …]
/external/clang/include/clang/AST/
DDeclContextInternals.h86 if (DeclsTy *Vec = getAsVector()) in setHasExternalDecls() local
87 Data = DeclsAndHasExternalTy(Vec, true); in setHasExternalDecls()
114 DeclsTy &Vec = *getAsVector(); in remove() local
115 DeclsTy::iterator I = std::find(Vec.begin(), Vec.end(), D); in remove()
116 assert(I != Vec.end() && "list does not contain decl"); in remove()
117 Vec.erase(I); in remove()
119 assert(std::find(Vec.begin(), Vec.end(), D) in remove()
120 == Vec.end() && "list still contains decl"); in remove()
132 DeclsTy &Vec = *getAsVector(); in removeExternalDecls() local
133 Vec.erase(std::remove_if(Vec.begin(), Vec.end(), in removeExternalDecls()
[all …]
DAPValue.h80 struct Vec { struct
83 Vec() : Elts(nullptr), NumElts(0) {} in Vec() argument
84 ~Vec() { delete[] Elts; } in ~Vec() argument
113 ComplexAPFloat, Vec, Arr, StructData,
261 return ((Vec*)(char*)Data.buffer)->Elts[I]; in getVectorElt()
268 return ((const Vec*)(const void *)Data.buffer)->NumElts; in getVectorLength()
357 ((Vec*)(char*)Data.buffer)->Elts = new APValue[N]; in setVector()
358 ((Vec*)(char*)Data.buffer)->NumElts = N; in setVector()
360 ((Vec*)(char*)Data.buffer)->Elts[i] = E[i]; in setVector()
416 new ((void*)(char*)Data.buffer) Vec(); in MakeVector()
/external/clang/test/CodeGenCXX/
Dmangle-alias-template.cpp7 template<typename T> using Vec = vector<T>; typedef
9 template<typename T> void f(Vec<T> v);
20 Vec<double> VD; in z()
24 h<Vec>(VI); in z()
34 Vec<char> VC; in z()
35 g<Vec<char>>(VC); in z()
38 Vec<Vec<int>> VVI; in z()
/external/llvm/include/llvm/ADT/
DArrayRef.h72 /*implicit*/ ArrayRef(const SmallVectorTemplateCommon<T, U> &Vec) in ArrayRef() argument
73 : Data(Vec.data()), Length(Vec.size()) { in ArrayRef()
78 /*implicit*/ ArrayRef(const std::vector<T, A> &Vec) in ArrayRef() argument
79 : Data(Vec.data()), Length(Vec.size()) {} in ArrayRef()
87 /*implicit*/ ArrayRef(const std::initializer_list<T> &Vec) in ArrayRef() argument
88 : Data(Vec.begin() == Vec.end() ? (T*)0 : Vec.begin()), in ArrayRef()
89 Length(Vec.size()) {} in ArrayRef()
225 /*implicit*/ MutableArrayRef(SmallVectorImpl<T> &Vec) in MutableArrayRef() argument
226 : ArrayRef<T>(Vec) {} in MutableArrayRef()
229 /*implicit*/ MutableArrayRef(std::vector<T> &Vec) in MutableArrayRef() argument
[all …]
DTinyPtrVector.h132 if (VecTy *Vec = Val.template dyn_cast<VecTy*>()) in empty() local
133 return Vec->empty(); in empty()
219 else if (VecTy *Vec = Val.template get<VecTy*>()) in pop_back() local
220 Vec->pop_back(); in pop_back()
227 } else if (VecTy *Vec = Val.template dyn_cast<VecTy*>()) { in clear() local
229 Vec->clear(); in clear()
242 } else if (VecTy *Vec = Val.template dyn_cast<VecTy*>()) { in erase() local
245 return Vec->erase(I); in erase()
258 } else if (VecTy *Vec = Val.template dyn_cast<VecTy*>()) { in erase() local
259 return Vec->erase(S, E); in erase()
DPackedVector.h83 PackedVector &Vec; variable
88 reference(PackedVector &vec, unsigned idx) : Vec(vec), Idx(idx) { } in reference()
91 Vec.setValue(Vec.Bits, Idx, val);
95 return Vec.getValue(Vec.Bits, Idx); in T()
/external/llvm/test/Transforms/InstCombine/
D2007-10-12-Crash.ll3 %struct.Ray = type { %struct.Vec, %struct.Vec }
5 %struct.Vec = type { double, double, double }
7 declare double @_Z9ray_traceRK3VecRK3RayRK5Scene(%struct.Vec*, %struct.Ray*, %struct.Scene*)
16 %tmp322 = bitcast %struct.Ray* %tmp3 to %struct.Vec* ; <%struct.Vec*> [#uses=1]
17 %tmp322.0 = getelementptr %struct.Vec, %struct.Vec* %tmp322, i32 0, i32 0 ; <double*> [#uses=1]
19 …%tmp57 = call double @_Z9ray_traceRK3VecRK3RayRK5Scene( %struct.Vec* null, %struct.Ray* %tmp3, %st…
/external/clang/tools/libclang/
DARCMigrate.cpp26 std::vector<std::pair<std::string, std::string> > Vec; member
62 bool err = arcmt::getFileRemappings(remap->Vec, migrate_dir_path,&diagBuffer); in clang_getRemappings()
108 bool err = arcmt::getFileRemappingsFromFileList(remap->Vec, Files, in clang_getRemappingsFromFileList()
126 return static_cast<Remap *>(map)->Vec.size(); in clang_remap_getNumFiles()
134 static_cast<Remap *>(map)->Vec[index].first); in clang_remap_getFilenames()
137 static_cast<Remap *>(map)->Vec[index].second); in clang_remap_getFilenames()
DCXCursor.cpp1355 OverridenCursorsPool::CursorVec *Vec = nullptr; in clang_getOverriddenCursors() local
1358 Vec = pool.AvailableCursors.back(); in clang_getOverriddenCursors()
1362 Vec = new OverridenCursorsPool::CursorVec(); in clang_getOverriddenCursors()
1363 pool.AllCursors.push_back(Vec); in clang_getOverriddenCursors()
1368 Vec->clear(); in clang_getOverriddenCursors()
1373 backRefCursor.data[0] = Vec; in clang_getOverriddenCursors()
1375 Vec->push_back(backRefCursor); in clang_getOverriddenCursors()
1378 cxcursor::getOverriddenCursors(cursor, *Vec); in clang_getOverriddenCursors()
1382 if (Vec->size() == 1) { in clang_getOverriddenCursors()
1383 pool.AvailableCursors.push_back(Vec); in clang_getOverriddenCursors()
[all …]
/external/eigen/bench/
Dvdw_new.cpp18 typedef Matrix<SCALAR, Eigen::Dynamic, 1> Vec; typedef
22 SCALAR E_VDW(const Vec &interactions1, const Vec &interactions2) in E_VDW()
43Vec interactions1(SIZE), interactions2(SIZE); // SIZE is the number of vdw interactions in our sys… in main()
DbenchGeometry.cpp83 typedef Matrix<scalar, vsize, 1, option> Vec;\
84 typedef func<Vec,Trans,Vec,op> Func;\
85 test_transform< Func, Trans, Vec >::run();\
Dbench_sum.cpp8 typedef Matrix<SCALAR,Eigen::Dynamic,1> Vec; in main() typedef
9 Vec v(SIZE); in main()
/external/llvm/lib/Analysis/
DMemDerefPrinter.cpp24 SmallVector<Value *, 4> Vec; member
36 Vec.clear(); in releaseMemory()
57 Vec.push_back(PO); in runOnFunction()
65 for (auto &V: Vec) { in print()
/external/eigen/test/
Dadjoint.cpp17 template<typename Vec, typename Mat, typename Scalar>
18 static void run(const Vec& v1, const Vec& v2, Vec& v3, const Mat& square, Scalar s1, Scalar s2) { in run()
28 template<typename Vec, typename Mat, typename Scalar>
29 static void run(const Vec& v1, const Vec& v2, Vec& v3, const Mat& square, Scalar s1, Scalar s2) { in run()
52 VERIFY_IS_APPROX(Vec::Random(v1.size()).normalized().norm(), RealScalar(1)); in run()
/external/clang/test/CXX/temp/temp.decls/temp.alias/
Dp2.cpp19 template<class T> using Vec = vector<T, Alloc<T>>; typedef
20 Vec<int> v;
23 void process(Vec<T>& v) // expected-note {{previous definition is here}} in process()
/external/clang/test/SemaCXX/
Dmember-expr.cpp157 struct Vec { int size(); }; struct
158 Vec fun1();
160 Vec *fun2();
162 Vec fun3(int x = 0);
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMUnwindOpAsm.cpp29 SmallVectorImpl<uint8_t> &Vec; member in __anonab5f46510111::UnwindOpcodeStreamer
33 UnwindOpcodeStreamer(SmallVectorImpl<uint8_t> &V) : Vec(V), Pos(3) { in UnwindOpcodeStreamer()
38 Vec[Pos] = elem; in EmitByte()
59 while (Pos < Vec.size()) in FillFinishOpcode()
/external/clang/test/Index/
Dcomplete-cxx-inline-methods.cpp8 struct Vec { int x, y; }; argument
9 Vec vec;
/external/llvm/test/Transforms/SLPVectorizer/X86/
Dcrash_smallpt.ll6 …113.119.137.149.185.329.389.416 = type { %struct.Vec.0.6.48.108.114.132.144.180.324.384.414, %stru…
7 %struct.Vec.0.6.48.108.114.132.144.180.324.384.414 = type { double, double, double }
66 …599.601 = type { %struct.Vec.0.6.48.90.132.186.192.198.234.252.258.264.270.276.282.288.378.432.438…
67 %struct.Vec.0.6.48.90.132.186.192.198.234.252.258.264.270.276.282.288.378.432.438.450.456.594.600 =…
/external/llvm/lib/Target/R600/
DAMDGPUTargetTransformInfo.cpp66 unsigned AMDGPUTTIImpl::getNumberOfRegisters(bool Vec) { in getNumberOfRegisters() argument
67 if (Vec) in getNumberOfRegisters()
/external/llvm/test/Transforms/SimplifyCFG/
Ddbginfo.ll12 %struct.Ray = type { %struct.Vec, %struct.Vec }
14 %struct.Sphere = type { %struct.Scene, %struct.Vec, double }
15 %struct.Vec = type { double, double, double }
22 %"struct.std::Hit" = type { double, %struct.Vec }
/external/llvm/utils/TableGen/
DCodeGenRegisters.h235 typedef std::vector<const CodeGenRegister*> Vec; typedef
268 CodeGenRegister::Vec Members;
392 const CodeGenRegister::Vec &getMembers() const { return Members; } in getMembers()
406 const CodeGenRegister::Vec *Members;
410 Key(const CodeGenRegister::Vec *M, unsigned S = 0, unsigned A = 0)
528 const CodeGenRegister::Vec *Membs,

1234