/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | ArrayRef.h | 92 /*implicit*/ constexpr ArrayRef(const std::array<T, N> &Arr) argument 93 : Data(Arr.data()), Length(N) {} 97 /*implicit*/ constexpr ArrayRef(const T (&Arr)[N]) : Data(Arr), Length(N) {} 329 /*implicit*/ constexpr MutableArrayRef(std::array<T, N> &Arr) 330 : ArrayRef<T>(Arr) {} 334 /*implicit*/ constexpr MutableArrayRef(T (&Arr)[N]) : ArrayRef<T>(Arr) {} 494 ArrayRef<T> makeArrayRef(const std::array<T, N> &Arr) { argument 495 return Arr; [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/ |
H A D | CompilationDatabase.cpp | 203 // S2 in Arr where S1 == S2?" 205 MatchesAny(ArrayRef<std::string> Arr) : Arr(Arr) {} argument 208 for (const std::string *I = Arr.begin(), *E = Arr.end(); I != E; ++I) 215 ArrayRef<std::string> Arr; member in struct:__anon2384::MatchesAny
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | APValue.h | 251 struct Arr { struct in class:clang::APValue 254 Arr(unsigned NumElts, unsigned ArrSize); 255 ~Arr(); 278 ComplexAPFloat, Vec, Arr, StructData, 470 return ((Arr*)(char*)Data.buffer)->Elts[I]; 481 return ((Arr*)(char*)Data.buffer)->Elts[getArrayInitializedElts()]; 488 return ((const Arr*)(const void *)Data.buffer)->NumElts; 492 return ((const Arr*)(const void *)Data.buffer)->ArrSize;
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | APValue.cpp | 219 APValue::Arr::Arr(unsigned NumElts, unsigned Size) : function in class:APValue::Arr 222 APValue::Arr::~Arr() { delete [] Elts; } 323 ((Arr*)(char*)Data.buffer)->~Arr(); 744 new ((void*)(char*)Data.buffer) Arr(InitElts, Size);
|
H A D | DeclCXX.cpp | 3276 APValue &Arr = APVal.getStructField(3) = 3279 Arr.getArrayInitializedElt(I) =
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | Module.cpp | 642 auto *Arr = dyn_cast_or_null<ConstantDataArray>(CM->getValue()); 643 if (!Arr) 646 if (Index >= Arr->getNumElements()) 648 return (unsigned)Arr->getElementAsInteger(Index);
|
H A D | Constants.cpp | 2709 static bool isAllZeros(StringRef Arr) { 2710 for (char I : Arr)
|
H A D | Core.cpp | 742 void LLVMGetSubtypes(LLVMTypeRef Tp, LLVMTypeRef *Arr) { argument 745 Arr[i] = wrap(T);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | SHA1.cpp | 306 std::array<uint8_t, 20> Arr; local 307 memcpy(Arr.data(), S.data(), S.size()); 308 return Arr;
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | TransGCAttrs.cpp | 74 } else if (ArrayTypeLoc Arr = TL.getAs<ArrayTypeLoc>()) { 75 TL = Arr.getElementLoc();
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | DeclSpec.h | 1542 ArrayTypeInfo Arr; member in union:clang::DeclaratorChunk::__anon1461 1555 case DeclaratorChunk::Array: return Arr.destroy(); 1605 I.Arr.TypeQuals = TypeQuals; 1606 I.Arr.hasStatic = isStatic; 1607 I.Arr.isStar = isStar; 1608 I.Arr.NumElts = NumElts; 2274 !chunk->Arr.NumElts);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/ |
H A D | WinCOFFObjectWriter.cpp | 567 std::vector<COFFSection *> Arr; local 569 Arr.push_back(Section.get()); 570 llvm::sort(Arr, [](const COFFSection *A, const COFFSection *B) { 574 for (auto &Section : Arr) {
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ProfileData/ |
H A D | InstrProf.cpp | 424 auto *Arr = cast<ConstantDataArray>(NameVar->getInitializer()); local 426 Arr->isCString() ? Arr->getAsCString() : Arr->getAsString();
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | MemorySSAUpdater.cpp | 765 const ValueToValueMapTy *const Arr[] = {&VMap}; local 766 privateUpdateExitBlocksForClonedLoop(ExitBlocks, std::begin(Arr), 767 std::end(Arr), DT);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaTemplateVariadic.cpp | 905 if (Chunk.Arr.NumElts && 906 Chunk.Arr.NumElts->containsUnexpandedParameterPack())
|
H A D | SemaExprCXX.cpp | 1736 if (Chunk.Arr.hasStatic) 1739 if (!Chunk.Arr.NumElts && !Initializer) 1743 ArraySize = static_cast<Expr*>(Chunk.Arr.NumElts); 1753 DeclaratorChunk::ArrayTypeInfo &Array = D.getTypeObject(I).Arr;
|
H A D | SemaType.cpp | 3640 if (!C.Arr.NumElts) 4754 DeclaratorChunk::ArrayTypeInfo &ATI = DeclType.Arr; 6031 TL.setSizeExpr(static_cast<Expr*>(Chunk.Arr.NumElts));
|
H A D | SemaExpr.cpp | 16071 else if (const auto *Arr = S.Context.getAsArrayType(Ty)) 16072 Inner = Arr->getElementType();
|
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | ELFDumper.cpp | 3426 ArrayRef<typename ELFT::Shdr> Arr = cantFail(Obj->sections()); 3427 if (Arr.empty()) 3429 return "0 (" + to_string(Arr[0].sh_size) + ")"; 3439 ArrayRef<typename ELFT::Shdr> Arr = cantFail(Obj->sections()); 3440 if (Arr.empty()) 3442 return to_string(ElfHeader->e_shstrndx) + " (" + to_string(Arr[0].sh_link) + 5220 static SmallVector<std::string, 4> getGNUPropertyList(ArrayRef<uint8_t> Arr) { argument 5224 while (Arr.size() >= 8) { 5225 uint32_t Type = *reinterpret_cast<const Elf_Word *>(Arr.data()); 5226 uint32_t DataSize = *reinterpret_cast<const Elf_Word *>(Arr [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGExprCXX.cpp | 2083 while (const ConstantArrayType *Arr 2086 DeleteTy = Arr->getElementType();
|
H A D | CGObjCGNU.cpp | 1072 auto Arr = llvm::makeArrayRef(&ToBuf[0], ToPtr+1); variable 1073 auto *C = llvm::ConstantDataArray::get(VMContext, Arr);
|
H A D | CodeGenModule.cpp | 4833 auto Arr = llvm::makeArrayRef( local 4836 C = llvm::ConstantDataArray::get(VMContext, Arr);
|
H A D | CGBuiltin.cpp | 1597 if (const auto *Arr = Ctx.getAsArrayType(Ty)) 1598 Ty = Ctx.getBaseElementType(Arr);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | BugReporterVisitors.cpp | 1961 if (const auto *Arr = dyn_cast<ArraySubscriptExpr>(Inner)) 1963 LVNode, Arr->getIdx(), report, TKind, /*EnableNullFPSuppression*/false);
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm-c/ |
H A D | Core.h | 1388 void LLVMGetSubtypes(LLVMTypeRef Tp, LLVMTypeRef *Arr);
|