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

/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DArrayRef.h92 /*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 DCompilationDatabase.cpp203 // 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 DAPValue.h251 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 DAPValue.cpp219 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 DDeclCXX.cpp3276 APValue &Arr = APVal.getStructField(3) =
3279 Arr.getArrayInitializedElt(I) =
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DModule.cpp642 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 DConstants.cpp2709 static bool isAllZeros(StringRef Arr) {
2710 for (char I : Arr)
H A DCore.cpp742 void LLVMGetSubtypes(LLVMTypeRef Tp, LLVMTypeRef *Arr) { argument
745 Arr[i] = wrap(T);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DSHA1.cpp306 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 DTransGCAttrs.cpp74 } else if (ArrayTypeLoc Arr = TL.getAs<ArrayTypeLoc>()) {
75 TL = Arr.getElementLoc();
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h1542 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 DWinCOFFObjectWriter.cpp567 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 DInstrProf.cpp424 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 DMemorySSAUpdater.cpp765 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 DSemaTemplateVariadic.cpp905 if (Chunk.Arr.NumElts &&
906 Chunk.Arr.NumElts->containsUnexpandedParameterPack())
H A DSemaExprCXX.cpp1736 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 DSemaType.cpp3640 if (!C.Arr.NumElts)
4754 DeclaratorChunk::ArrayTypeInfo &ATI = DeclType.Arr;
6031 TL.setSizeExpr(static_cast<Expr*>(Chunk.Arr.NumElts));
H A DSemaExpr.cpp16071 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 DELFDumper.cpp3426 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 DCGExprCXX.cpp2083 while (const ConstantArrayType *Arr
2086 DeleteTy = Arr->getElementType();
H A DCGObjCGNU.cpp1072 auto Arr = llvm::makeArrayRef(&ToBuf[0], ToPtr+1); variable
1073 auto *C = llvm::ConstantDataArray::get(VMContext, Arr);
H A DCodeGenModule.cpp4833 auto Arr = llvm::makeArrayRef( local
4836 C = llvm::ConstantDataArray::get(VMContext, Arr);
H A DCGBuiltin.cpp1597 if (const auto *Arr = Ctx.getAsArrayType(Ty))
1598 Ty = Ctx.getBaseElementType(Arr);
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp1961 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 DCore.h1388 void LLVMGetSubtypes(LLVMTypeRef Tp, LLVMTypeRef *Arr);

Completed in 605 milliseconds