Home
last modified time | relevance | path

Searched refs:Arr (Results 1 – 25 of 45) sorted by relevance

12

/external/clang/test/CodeGen/
D2005-01-02-ConstantInits.c15 int Arr[100]; variable
17 int foo(int i) { return bar(&Arr[49])+bar(&Arr[i]); } in foo()
19 static const int *X = &Arr[49]; in foo2()
21 int *P = Arr; in foo2()
23 return bar(Arr+i); in foo2()
Dinit.c91 int Arr[100] = { X }; // Should use memset in test9() local
92 bar(Arr); in test9()
D2002-03-12-ArrayInitialization.c11 void *Arr[5] = { 0, 0 }; variable
/external/clang/test/Sema/
Dwarn-sizeof-arrayarg.c3 typedef int Arr[10]; typedef
7 void f(int a[10], Arr arr) { // expected-note 4 {{declared here}} in f()
22 Arr brr; in f()
24 (void)sizeof(Arr); in f()
Dscope-check.c173 int Arr[n]; // expected-note {{jump bypasses initialization of variable length array}} in test11() local
189 int Arr[n]; // expected-note {{jump bypasses initialization of variable length array}} in test12() local
/external/swiftshader/third_party/LLVM/test/Transforms/ScalarRepl/
Dsroa_two.ll4 %Arr = alloca [2 x i32] ; <[2 x i32]*> [#uses=3]
5 %tmp.0 = getelementptr [2 x i32]* %Arr, i32 0, i32 0 ; <i32*> [#uses=1]
7 %tmp.1 = getelementptr [2 x i32]* %Arr, i32 0, i32 1 ; <i32*> [#uses=1]
9 %tmp.3 = getelementptr [2 x i32]* %Arr, i32 0, i32 %X ; <i32*> [#uses=1]
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DArrayRef.h85 /*implicit*/ constexpr ArrayRef(const std::array<T, N> &Arr) in ArrayRef() argument
86 : Data(Arr.data()), Length(N) {} in ArrayRef()
90 /*implicit*/ constexpr ArrayRef(const T (&Arr)[N]) : Data(Arr), Length(N) {} in ArrayRef()
315 /*implicit*/ constexpr MutableArrayRef(std::array<T, N> &Arr) in MutableArrayRef() argument
316 : ArrayRef<T>(Arr) {} in MutableArrayRef()
320 /*implicit*/ constexpr MutableArrayRef(T (&Arr)[N]) : ArrayRef<T>(Arr) {} in MutableArrayRef()
486 ArrayRef<T> makeArrayRef(const T (&Arr)[N]) { in makeArrayRef()
487 return ArrayRef<T>(Arr); in makeArrayRef()
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
Dloop-hoist.ll1 ; LSR should hoist the load from the "Arr" stub out of the loop.
9 @Arr = external global [0 x i32] ; <[0 x i32]*> [#uses=1]
19 %tmp = getelementptr [0 x i32]* @Arr, i32 0, i32 %i.0.0 ; <i32*> [#uses=1]
/external/llvm/test/CodeGen/X86/
Dloop-hoist.ll1 ; LSR should hoist the load from the "Arr" stub out of the loop.
9 @Arr = external global [0 x i32] ; <[0 x i32]*> [#uses=1]
19 %tmp = getelementptr [0 x i32], [0 x i32]* @Arr, i32 0, i32 %i.0.0 ; <i32*> [#uses=1]
/external/clang/lib/Tooling/
DCompilationDatabase.cpp175 MatchesAny(ArrayRef<std::string> Arr) : Arr(Arr) {} in MatchesAny()
177 for (const std::string *I = Arr.begin(), *E = Arr.end(); I != E; ++I) in operator ()()
183 ArrayRef<std::string> Arr; member
/external/clang/test/OpenMP/
Dtarget_map_messages.cpp72 float Arr[100]; member
75 return &Arr[0]; in foo()
84 float Arr[100]; member
210 #pragma omp target map(r.ArrS[0].Arr[1:23]) in SAclient()
212 #pragma omp target map(r.ArrS[0].Arr[1:arg]) in SAclient()
214 #pragma omp target map(r.ArrS[0].Arr[arg:23]) in SAclient()
226 #pragma omp target map(r.S.Arr[:12]) in SAclient()
244 #pragma omp target map(r.Arr) in SAclient()
246 #pragma omp target map(r.Arr[3:5]) in SAclient()
252 …#pragma omp target map(r.ArrS[3:5].Arr[6:7]) // expected-error {{OpenMP array section is not all… in SAclient()
[all …]
Dtarget_data_use_device_ptr_ast_print.cpp31 float Arr[100]; member
34 return &Arr[0]; in foo()
43 float Arr[100]; member
Dtarget_is_device_ptr_ast_print.cpp76 float Arr[100]; member
79 return &Arr[0]; in foo()
88 float Arr[100]; member
Dtarget_is_device_ptr_messages.cpp60 float Arr[100]; member
63 return &Arr[0]; in foo()
72 float Arr[100]; member
Dtarget_data_use_device_ptr_messages.cpp52 float Arr[100]; member
55 return &Arr[0]; in foo()
64 float Arr[100]; member
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DArrayRef.h73 /*implicit*/ ArrayRef(const T (&Arr)[N]) in ArrayRef()
74 : Data(Arr), Length(N) {} in ArrayRef()
192 ArrayRef<T> makeArrayRef(const T (&Arr)[N]) { in makeArrayRef()
193 return ArrayRef<T>(Arr); in makeArrayRef()
/external/clang/include/clang/AST/
DAPValue.h86 struct Arr { struct
89 Arr(unsigned NumElts, unsigned ArrSize); argument
90 ~Arr();
113 ComplexAPFloat, Vec, Arr, StructData,
274 return ((Arr*)(char*)Data.buffer)->Elts[I]; in getArrayInitializedElt()
285 return ((Arr*)(char*)Data.buffer)->Elts[getArrayInitializedElts()]; in getArrayFiller()
292 return ((const Arr*)(const void *)Data.buffer)->NumElts; in getArrayInitializedElts()
296 return ((const Arr*)(const void *)Data.buffer)->ArrSize; in getArraySize()
/external/clang/test/SemaCXX/
Dwarn-large-by-value-copy.cpp19 typedef int Arr[200]; typedef
20 void farr(Arr a) { } in farr()
/external/llvm/include/llvm/ADT/
DArrayRef.h83 /*implicit*/ LLVM_CONSTEXPR ArrayRef(const T (&Arr)[N]) in ArrayRef()
84 : Data(Arr), Length(N) {} in ArrayRef()
258 /*implicit*/ LLVM_CONSTEXPR MutableArrayRef(T (&Arr)[N]) in MutableArrayRef()
259 : ArrayRef<T>(Arr) {} in MutableArrayRef()
365 ArrayRef<T> makeArrayRef(const T (&Arr)[N]) { in makeArrayRef()
366 return ArrayRef<T>(Arr); in makeArrayRef()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUAnnotateKernelFeatures.cpp160 for (const StringRef *Arr : IntrinsicToAttr) { in addAttrsForIntrinsics() local
161 if (Function *Fn = M.getFunction(Arr[0])) { in addAttrsForIntrinsics()
162 addAttrToCallers(Fn, Arr[1]); in addAttrsForIntrinsics()
/external/clang/test/SemaTemplate/
Dalias-church-numerals.cpp34 using Arr = int[TwoHundredAndFiftySix<Increment, Const<int, 0>>::value]; typedef
35 using Arr = int[256]; typedef
/external/clang/lib/AST/
DAPValue.cpp108 APValue::Arr::Arr(unsigned NumElts, unsigned Size) : in Arr() function in APValue::Arr
111 APValue::Arr::~Arr() { delete [] Elts; } in ~Arr()
203 ((Arr*)(char*)Data.buffer)->~Arr(); in DestroyDataAndMakeUninit()
638 new ((void*)(char*)Data.buffer) Arr(InitElts, Size); in MakeArray()
/external/clang/test/Analysis/
Dpadding_c.c220 struct SmallArrayInFunc Arr[15]; in arrayHolder() local
235 struct HoldsSmallArray Arr[15]; in nestedPadding() local
/external/clang/test/CXX/drs/
Ddr15xx.cpp243 template<class T> using Arr = T[]; typedef
247 int *pi = f(Arr<int>{1, 2, 3}); // OK prefer #1
252 short *ps = f(Arr<int>{1, 2}); // OK #5
/external/swiftshader/third_party/LLVM/test/Transforms/InstCombine/
Dsub.ll251 @Arr = external global [42 x i16]
254 %B = getelementptr inbounds [42 x i16]* @Arr, i64 0, i64 %A
256 %G = sub i64 %C, ptrtoint ([42 x i16]* @Arr to i64)
265 %B = getelementptr inbounds [42 x i16]* @Arr, i64 0, i64 %A
267 %G = sub i64 %C, ptrtoint (i16* getelementptr ([42 x i16]* @Arr, i64 1, i64 0) to i64)

12