Home
last modified time | relevance | path

Searched refs:Arr (Results 1 – 25 of 27) 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.c80 int Arr[100] = { X }; // Should use memset in test9() local
81 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) { // \ in f()
26 Arr brr; in f()
28 (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/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/llvm/include/llvm/ADT/
DArrayRef.h79 /*implicit*/ ArrayRef(const T (&Arr)[N]) in ArrayRef()
80 : Data(Arr), Length(N) {} in ArrayRef()
200 /*implicit*/ MutableArrayRef(T (&Arr)[N]) in MutableArrayRef()
201 : ArrayRef<T>(Arr) {} in MutableArrayRef()
283 ArrayRef<T> makeArrayRef(const T (&Arr)[N]) { in makeArrayRef()
284 return ArrayRef<T>(Arr); in makeArrayRef()
/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]* @Arr, i32 0, i32 %i.0.0 ; <i32*> [#uses=1]
/external/clang/test/SemaCXX/
Dwarn-large-by-value-copy.cpp19 typedef int Arr[200]; typedef
20 void farr(Arr a) { } in farr()
Dconstant-expression-cxx11.cpp615 struct Arr { struct
617 constexpr Arr() : arr{'x', 'y', 'z'} {} in Arr() argument
619 constexpr int hash(Arr &&a) { in hash()
622 constexpr int k = hash(Arr());
/external/clang/include/clang/AST/
DAPValue.h86 struct Arr { struct
89 Arr(unsigned NumElts, unsigned ArrSize); argument
90 ~Arr();
268 return ((Arr*)(char*)Data)->Elts[I]; in getArrayInitializedElt()
279 return ((Arr*)(char*)Data)->Elts[getArrayInitializedElts()]; in getArrayFiller()
286 return ((const Arr*)(const void *)Data)->NumElts; in getArrayInitializedElts()
290 return ((const Arr*)(const void *)Data)->ArrSize; in getArraySize()
/external/llvm/utils/obj2yaml/
Dcoff2yaml.cpp221 const pod_pair<T, const char *> (&Arr)[N], unsigned long Val) { in writeBitMask()
223 if (Val & Arr[i].first) in writeBitMask()
224 Out << Arr[i].second << ", "; in writeBitMask()
232 const char *nameLookup(const pod_pair<T, const char *> (&Arr)[N], in nameLookup()
236 if (n == Arr[i].first) in nameLookup()
237 return Arr[i].second; in nameLookup()
/external/clang/test/SemaTemplate/
Dalias-church-numerals.cpp34 using Arr = int[TwoHundredAndFiftySix<Increment, Const<int, 0>>::value]; typedef
35 using Arr = int[256]; typedef
Dinstantiate-expr-4.cpp289 UnresolvedMemRefArray Arr[10]; variable
291 return Arr->f(u); in UnresolvedMemRefArrayT()
/external/llvm/unittests/ADT/
DSmallVectorTest.cpp400 Constructable Arr[3] = in TYPED_TEST() local
405 this->theVector.insert(this->theVector.begin() + 1, Arr, Arr+3); in TYPED_TEST()
410 I = this->theVector.insert(this->theVector.end(), Arr, Arr+3); in TYPED_TEST()
/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)->~Arr(); in DestroyDataAndMakeUninit()
595 new ((void*)(char*)Data) Arr(InitElts, Size); in MakeArray()
/external/llvm/lib/Transforms/Instrumentation/
DProfilingUtils.h28 GlobalValue *Arr = 0,
/external/clang/test/PCH/
Dvariables.c45 int *Arr[] = { &a0, &a1, &a2 }; variable
/external/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)
/external/clang/include/clang/Sema/
DDeclSpec.h1308 ArrayTypeInfo Arr; member
1320 case DeclaratorChunk::Array: return Arr.destroy(); in destroy()
1372 I.Arr.AttrList = 0; in getArray()
1373 I.Arr.TypeQuals = TypeQuals; in getArray()
1374 I.Arr.hasStatic = isStatic; in getArray()
1375 I.Arr.isStar = isStar; in getArray()
1376 I.Arr.NumElts = NumElts; in getArray()
1838 !chunk->Arr.NumElts); in isArrayOfUnknownBound()
/external/clang/lib/ARCMigrate/
DTransGCAttrs.cpp72 } else if (ArrayTypeLoc Arr = TL.getAs<ArrayTypeLoc>()) { in lookForAttribute() local
73 TL = Arr.getElementLoc(); in lookForAttribute()
/external/clang/lib/CodeGen/
DCodeGenModule.cpp2247 ArrayRef<uint16_t> Arr = in GetAddrOfConstantCFString() local
2251 C = llvm::ConstantDataArray::get(VMContext, Arr); in GetAddrOfConstantCFString()
2972 APValue& Arr = InitStruct.getStructField(3); in EmitUuidofInitializer() local
2973 Arr = APValue(APValue::UninitArray(), 8, 8); in EmitUuidofInitializer()
2975 Arr.getArrayInitializedElt(t) = APValue(llvm::APSInt( in EmitUuidofInitializer()
DCGExprCXX.cpp1593 while (const ConstantArrayType *Arr in EmitCXXDeleteExpr() local
1596 DeleteTy = Arr->getElementType(); in EmitCXXDeleteExpr()
/external/llvm/lib/IR/
DConstants.cpp2205 static bool isAllZeros(StringRef Arr) { in isAllZeros() argument
2206 for (StringRef::iterator I = Arr.begin(), E = Arr.end(); I != E; ++I) in isAllZeros()
/external/clang/lib/Sema/
DSemaExprCXX.cpp951 if (Chunk.Arr.hasStatic) in ActOnCXXNew()
954 if (!Chunk.Arr.NumElts) in ActOnCXXNew()
958 ArraySize = static_cast<Expr*>(Chunk.Arr.NumElts); in ActOnCXXNew()
968 DeclaratorChunk::ArrayTypeInfo &Array = D.getTypeObject(I).Arr; in ActOnCXXNew()

12