/external/clang/test/CodeGen/ |
D | 2005-01-02-ConstantInits.c | 15 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()
|
D | init.c | 80 int Arr[100] = { X }; // Should use memset in test9() local 81 bar(Arr); in test9()
|
D | 2002-03-12-ArrayInitialization.c | 11 void *Arr[5] = { 0, 0 }; variable
|
/external/clang/test/Sema/ |
D | warn-sizeof-arrayarg.c | 3 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()
|
D | scope-check.c | 173 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/ |
D | sroa_two.ll | 4 %Arr = alloca [2 x i32] ; <[2 x i32]*> [#uses=3] 5 %tmp.0 = getelementptr [2 x i32], [2 x i32]* %Arr, i32 0, i32 0 ; <i32*> [#uses=1] 7 %tmp.1 = getelementptr [2 x i32], [2 x i32]* %Arr, i32 0, i32 1 ; <i32*> [#uses=1] 9 %tmp.3 = getelementptr [2 x i32], [2 x i32]* %Arr, i32 0, i32 %X ; <i32*> [#uses=1]
|
/external/llvm/test/CodeGen/X86/ |
D | loop-hoist.ll | 1 ; 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/ |
D | CompilationDatabase.cpp | 176 MatchesAny(ArrayRef<std::string> Arr) : Arr(Arr) {} in MatchesAny() 178 for (const std::string *I = Arr.begin(), *E = Arr.end(); I != E; ++I) in operator ()() 184 ArrayRef<std::string> Arr; member
|
/external/llvm/include/llvm/ADT/ |
D | ArrayRef.h | 83 /*implicit*/ LLVM_CONSTEXPR ArrayRef(const T (&Arr)[N]) in ArrayRef() 84 : Data(Arr), Length(N) {} in ArrayRef() 234 /*implicit*/ LLVM_CONSTEXPR MutableArrayRef(T (&Arr)[N]) in MutableArrayRef() 235 : ArrayRef<T>(Arr) {} in MutableArrayRef() 320 ArrayRef<T> makeArrayRef(const T (&Arr)[N]) { in makeArrayRef() 321 return ArrayRef<T>(Arr); in makeArrayRef()
|
/external/clang/include/clang/AST/ |
D | APValue.h | 86 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()
|
D | StmtOpenMP.h | 110 filtered_clause_iterator(ArrayRef<OMPClause *> Arr, FilterPredicate Pred) in filtered_clause_iterator() argument 111 : Current(Arr.begin()), End(Arr.end()), Pred(Pred) { in filtered_clause_iterator() 137 linear_filter(ArrayRef<OMPClause *> Arr) in linear_filter() 138 : filtered_clause_iterator(Arr, [](const OMPClause *C)->bool { in linear_filter()
|
/external/clang/test/SemaCXX/ |
D | warn-large-by-value-copy.cpp | 19 typedef int Arr[200]; typedef 20 void farr(Arr a) { } in farr()
|
D | constant-expression-cxx11.cpp | 675 struct Arr { struct 677 constexpr Arr() : arr{'x', 'y', 'z'} {} in Arr() argument 679 constexpr int hash(Arr &&a) { in hash() 682 constexpr int k = hash(Arr());
|
/external/clang/test/SemaTemplate/ |
D | alias-church-numerals.cpp | 34 using Arr = int[TwoHundredAndFiftySix<Increment, Const<int, 0>>::value]; typedef 35 using Arr = int[256]; typedef
|
D | instantiate-expr-4.cpp | 289 UnresolvedMemRefArray Arr[10]; variable 291 return Arr->f(u); in UnresolvedMemRefArrayT()
|
/external/clang/lib/AST/ |
D | APValue.cpp | 108 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/llvm/lib/Transforms/Instrumentation/ |
D | InstrProfiling.cpp | 186 auto *Arr = cast<ConstantDataArray>(Inc->getName()->getInitializer()); in getVarName() local 187 StringRef Name = Arr->isCString() ? Arr->getAsCString() : Arr->getAsString(); in getVarName()
|
/external/clang/test/PCH/ |
D | variables.c | 45 int *Arr[] = { &a0, &a1, &a2 }; variable
|
/external/llvm/unittests/ADT/ |
D | SmallVectorTest.cpp | 561 Constructable Arr[3] = in TYPED_TEST() local 566 auto I = this->theVector.insert(this->theVector.begin() + 1, Arr, Arr + 3); in TYPED_TEST() 586 Constructable Arr[3] = in TYPED_TEST() local 593 auto I = this->theVector.insert(this->theVector.end(), Arr, Arr+3); in TYPED_TEST()
|
/external/clang/include/clang/Sema/ |
D | DeclSpec.h | 1386 ArrayTypeInfo Arr; member 1398 case DeclaratorChunk::Array: return Arr.destroy(); in destroy() 1452 I.Arr.AttrList = nullptr; in getArray() 1453 I.Arr.TypeQuals = TypeQuals; in getArray() 1454 I.Arr.hasStatic = isStatic; in getArray() 1455 I.Arr.isStar = isStar; in getArray() 1456 I.Arr.NumElts = NumElts; in getArray() 1970 !chunk->Arr.NumElts); in isArrayOfUnknownBound()
|
/external/llvm/test/Transforms/InstCombine/ |
D | sub.ll | 287 @Arr = external global [42 x i16] 290 %B = getelementptr inbounds [42 x i16], [42 x i16]* @Arr, i64 0, i64 %A 292 %G = sub i64 %C, ptrtoint ([42 x i16]* @Arr to i64) 301 %B = getelementptr inbounds [42 x i16], [42 x i16]* @Arr, i64 0, i64 %A 303 %G = sub i64 %C, ptrtoint (i16* getelementptr ([42 x i16], [42 x i16]* @Arr, i64 1, i64 0) to i64)
|
/external/clang/test/CXX/drs/ |
D | dr1xx.cpp | 84 typedef T Arr[1]; typedef 88 const Arr a3 = {}; 89 volatile Arr a4 = {};
|
/external/clang/lib/ARCMigrate/ |
D | TransGCAttrs.cpp | 72 } else if (ArrayTypeLoc Arr = TL.getAs<ArrayTypeLoc>()) { in lookForAttribute() local 73 TL = Arr.getElementLoc(); in lookForAttribute()
|
/external/clang/lib/Sema/ |
D | SemaTemplateVariadic.cpp | 757 if (Chunk.Arr.NumElts && in containsUnexpandedParameterPacks() 758 Chunk.Arr.NumElts->containsUnexpandedParameterPack()) in containsUnexpandedParameterPacks()
|
/external/clang/unittests/Basic/ |
D | VirtualFileSystemTest.cpp | 352 std::vector<StringRef> makeStringRefVector(const T (&Arr)[N]) { in makeStringRefVector() 355 Vec.push_back(Arr[i]); in makeStringRefVector()
|