Home
last modified time | relevance | path

Searched refs:array_lengthof (Results 1 – 25 of 79) sorted by relevance

1234

/minix3/external/bsd/llvm/dist/llvm/tools/llvm-readobj/
H A DARMAttributeParser.cpp129 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in CPU_arch()
156 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in ARM_ISA_use()
166 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in THUMB_ISA_use()
179 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in FP_arch()
189 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in WMMX_arch()
201 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in Advanced_SIMD_arch()
214 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in PCS_config()
224 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in ABI_PCS_R9_use()
236 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in ABI_PCS_RW_data()
246 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in ABI_PCS_RO_data()
[all …]
/minix3/external/bsd/llvm/dist/clang/test/SemaTemplate/
H A Dinstantiate-init.cpp81 …integral_c<N> array_lengthof(T (&x)[N]) { return integral_c<N>(); } // expected-note 2{{candidate … in array_lengthof() function
100 integral_c<1> ic1 = array_lengthof(Description<int>::data); in test()
101 (void)sizeof(array_lengthof(Description<float>::data)); in test()
103 sizeof(array_lengthof( // expected-error{{no matching function for call to 'array_lengthof'}} in test()
107array_lengthof(Description<float*>::data); // expected-error{{no matching function for call to 'ar… in test()
/minix3/external/bsd/llvm/dist/llvm/unittests/Support/
H A DCommandLineTest.cpp179 array_lengthof(Output)); in TEST()
188 array_lengthof(Output)); in TEST()
200 for (size_t i = 0, e = array_lengthof(Inputs); i < e; ++i) { in TEST()
229 testAliasRequired(array_lengthof(opts1), opts1); in TEST()
230 testAliasRequired(array_lengthof(opts2), opts2); in TEST()
/minix3/external/bsd/llvm/dist/clang/test/Analysis/
H A Dtemplates.cpp37 inline unsigned array_lengthof(T (&)[N]) { in array_lengthof() function
43 clang_analyzer_eval(array_lengthof(S) == 2); in testNonTypeTemplateInstantiation()
/minix3/external/bsd/llvm/dist/clang/lib/AST/
H A DCommentCommandTraits.cpp20 NextID(llvm::array_lengthof(Commands)), Allocator(Allocator) { in CommandTraits()
118 if (CommandID < llvm::array_lengthof(Commands)) in getBuiltinCommandInfo()
134 return RegisteredCommands[CommandID - llvm::array_lengthof(Commands)]; in getRegisteredCommandInfo()
/minix3/external/bsd/llvm/dist/clang/unittests/AST/
H A DCommentParser.cpp669 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F()
806 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F()
836 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F()
866 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F()
897 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F()
952 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F()
1086 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F()
1108 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F()
1132 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F()
1154 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F()
[all …]
H A DCommentLexer.cpp95 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F()
111 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F()
130 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F()
150 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F()
173 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F()
252 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F()
269 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F()
287 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F()
315 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F()
320 ASSERT_EQ(array_lengthof(Text), Toks.size()); in TEST_F()
[all …]
H A DExternalASTSourceTest.cpp56 Args + array_lengthof(Args), in testExternalASTSource()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/
H A DMetaRenamer.cpp102 array_lengthof(metaNames)]).toStringRef(NameStorage)); in runOnModule()
112 FI->setName(metaNames[prng.rand() % array_lengthof(metaNames)]); in runOnModule()
/minix3/external/bsd/llvm/dist/llvm/lib/MC/
H A DMCAsmBackend.cpp40 assert((size_t)Kind <= array_lengthof(Builtins) && "Unknown fixup kind"); in getFixupKindInfo()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/AArch64/Utils/
H A DAArch64BaseInfo.cpp251 NumInstPairs = llvm::array_lengthof(MRSPairs); in MRSMapper()
275 NumInstPairs = llvm::array_lengthof(MSRPairs); in MSRMapper()
768 for (unsigned i = 0; i < array_lengthof(SysRegPairs); ++i) { in fromString()
777 for (unsigned i = 0; i < array_lengthof(CycloneSysRegPairs); ++i) { in fromString()
819 for (unsigned i = 0; i < array_lengthof(SysRegPairs); ++i) { in toString()
827 for (unsigned i = 0; i < array_lengthof(CycloneSysRegPairs); ++i) { in toString()
/minix3/external/bsd/llvm/dist/clang/lib/Driver/
H A DDriverOptions.cpp37 : OptTable(InfoTable, llvm::array_lengthof(InfoTable)) {} in DriverOptTable()
H A DTypes.cpp32 static const unsigned numTypes = llvm::array_lengthof(TypeInfos);
/minix3/external/bsd/llvm/dist/clang/lib/Basic/
H A DTargetInfo.cpp364 for (unsigned j = 0; j < llvm::array_lengthof(AddlNames[i].Names); j++) { in isValidGCCRegisterName()
379 for (unsigned j = 0 ; j < llvm::array_lengthof(Aliases[i].Aliases); j++) { in isValidGCCRegisterName()
417 for (unsigned j = 0; j < llvm::array_lengthof(AddlNames[i].Names); j++) { in getNormalizedGCCRegisterName()
432 for (unsigned j = 0 ; j < llvm::array_lengthof(Aliases[i].Aliases); j++) { in getNormalizedGCCRegisterName()
H A DDiagnosticIDs.cpp94 static const unsigned StaticDiagInfoSize = llvm::array_lengthof(StaticDiagInfo);
223 return llvm::array_lengthof(CategoryNameTable) - 1; in getNumberOfCategories()
508 static const size_t OptionTableSize = llvm::array_lengthof(OptionTable);
H A DTargets.cpp1193 NumNames = llvm::array_lengthof(GCCRegNames); in getGCCRegNames()
1269 NumAliases = llvm::array_lengthof(GCCRegAliases); in getGCCRegAliases()
1515 NumNames = llvm::array_lengthof(GCCRegNames); in getGCCRegNames()
1986 NumNames = llvm::array_lengthof(GCCRegNames); in getGCCRegNames()
1996 NumNames = llvm::array_lengthof(AddlRegNames); in getGCCAddlRegNames()
4464 NumNames = llvm::array_lengthof(GCCRegNames); in getGCCRegNames()
4491 NumAliases = llvm::array_lengthof(GCCRegAliases); in getGCCRegAliases()
4910 NumNames = llvm::array_lengthof(GCCRegNames); in getGCCRegNames()
4925 NumAliases = llvm::array_lengthof(GCCRegAliases); in getGCCRegAliases()
5138 NumNames = llvm::array_lengthof(GCCRegNames); in getGCCRegNames()
[all …]
/minix3/external/bsd/llvm/dist/llvm/include/llvm/Target/
H A DTargetLowering.h383 (unsigned)VT.getSimpleVT().SimpleTy < array_lengthof(RegClassForVT)); in isTypeLegal()
526 if (Op > array_lengthof(OpActions[0])) return Custom; in getOperationAction()
640 assert((unsigned)CC < array_lengthof(CondCodeActions) && in getCondCodeAction()
641 ((unsigned)VT.SimpleTy >> 4) < array_lengthof(CondCodeActions[0]) && in getCondCodeAction()
720 assert((unsigned)VT.SimpleTy < array_lengthof(RegisterTypeForVT)); in getRegisterType()
728 array_lengthof(RegisterTypeForVT)); in getRegisterType()
756 array_lengthof(NumRegistersForVT)); in getNumRegisters()
798 assert(unsigned(NT >> 3) < array_lengthof(TargetDAGCombineArray)); in hasTargetDAGCombine()
1215 assert((unsigned)VT.SimpleTy < array_lengthof(RegClassForVT)); in addRegisterClass()
1244 assert(Op < array_lengthof(OpActions[0]) && "Table isn't big enough!"); in setOperationAction()
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/Target/R600/
H A DAMDGPURegisterInfo.cpp56 assert(Channel < array_lengthof(SubRegs)); in getSubRegFromChannel()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/Mips/
H A DMipsRegisterInfo.cpp139 for (unsigned I = 0; I < array_lengthof(ReservedGPR32); ++I) in getReservedRegs()
149 for (unsigned I = 0; I < array_lengthof(ReservedGPR64); ++I) in getReservedRegs()
H A DMipsCCState.cpp32 const char *const *End = LibCalls + array_lengthof(LibCalls); in isF128SoftLibCall()
/minix3/external/bsd/llvm/dist/llvm/tools/llvm-config/
H A Dllvm-config.cpp101 for (unsigned i = 0; i != array_lengthof(AvailableComponents); ++i) { in ComputeLibsForComponents()
305 for (unsigned j = 0; j != array_lengthof(AvailableComponents); ++j) { in main()
/minix3/external/bsd/llvm/dist/llvm/utils/KillTheDoctor/
H A DKillTheDoctor.cpp210 array_lengthof(Filename) - 1); in GetFileNameFromHandle()
245 array_lengthof(PathName), in FindProgram()
250 else if (length > array_lengthof(PathName)) { in FindProgram()
/minix3/external/bsd/llvm/dist/llvm/unittests/ADT/
H A DStringRefTest.cpp419 for (size_t i = 0; i < array_lengthof(Unsigned); ++i) { in TEST()
455 for (size_t i = 0; i < array_lengthof(Signed); ++i) { in TEST()
502 for (size_t i = 0; i < array_lengthof(BadStrings); ++i) { in TEST()
516 for (size_t i = 0; i < array_lengthof(join_input); ++i) { in TEST()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/ADT/
H A DArrayRef.h236 if (size() > array_lengthof(Args))
244 return size() == array_lengthof(Args) || Args[size()].TPtr == nullptr;
/minix3/external/bsd/llvm/dist/llvm/lib/Support/
H A DTriple.cpp532 for (unsigned Pos = 0; Pos != array_lengthof(Found); ++Pos) { in normalize()
538 if (Idx < array_lengthof(Found) && Found[Idx]) in normalize()
586 while (i < array_lengthof(Found) && Found[i]) in normalize()
607 while (++i < array_lengthof(Found) && Found[i]) in normalize()
615 while (++Idx < array_lengthof(Found) && Found[Idx]) in normalize()

1234