| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | instantiate-init.cpp | 89 …integral_c<N> array_lengthof(T (&x)[N]) { return integral_c<N>(); } // expected-note 2{{candidate … in array_lengthof() function 108 integral_c<1> ic1 = array_lengthof(Description<int>::data); in test() 109 (void)sizeof(array_lengthof(Description<float>::data)); in test() 111 …(void)sizeof(array_lengthof( // expected-error{{no matching function for call to 'array_lengthof'}} in test() 115 …array_lengthof(Description<float*>::data); // expected-error{{no matching function for call to 'ar… in test()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/ |
| H A D | SPIRVEnums.cpp | 62 return ArrayRef<spirv::Extension>(exts, llvm::array_lengthof(exts)); in getImpliedExtensions() 66 return ArrayRef<spirv::Extension>(exts, llvm::array_lengthof(exts)); in getImpliedExtensions() 71 return ArrayRef<spirv::Extension>(exts, llvm::array_lengthof(exts)); in getImpliedExtensions()
|
| H A D | SPIRVTypes.cpp | 171 ArrayRef<Capability> ref(caps, llvm::array_lengthof(caps)); in getCapabilities() 245 ArrayRef<Extension> ref(exts, llvm::array_lengthof(exts)); in getExtensions() 254 ArrayRef<Capability> ref(caps, llvm::array_lengthof(caps)); in getCapabilities() 480 ArrayRef<Capability> ref(caps, llvm::array_lengthof(caps)); in getCapabilities() 529 ArrayRef<Extension> ref(exts, llvm::array_lengthof(exts)); in getExtensions() 537 ArrayRef<Extension> ref(exts, llvm::array_lengthof(exts)); in getExtensions() 559 ArrayRef<Capability> ref(caps, llvm::array_lengthof(caps)); \ in getCapabilities() 565 ArrayRef<Capability> ref(caps, llvm::array_lengthof(caps)); \ in getCapabilities() 586 ArrayRef<Capability> ref(caps, llvm::array_lengthof(caps)); in getCapabilities() 604 ArrayRef<Capability> ref(caps, llvm::array_lengthof(caps)); \ in getCapabilities() [all …]
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | CommentParser.cpp | 667 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F() 804 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F() 834 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F() 864 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F() 895 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F() 950 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F() 1084 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F() 1106 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F() 1130 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F() 1152 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F() [all …]
|
| H A D | CommentLexer.cpp | 94 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F() 110 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F() 129 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F() 149 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F() 172 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F() 251 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F() 268 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F() 286 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F() 314 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F() 319 ASSERT_EQ(array_lengthof(Text), Toks.size()); in TEST_F() [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/minidump/ |
| H A D | RegisterContextMinidump_ARM.cpp | 339 constexpr size_t k_num_reg_infos = llvm::array_lengthof(g_reg_infos); 448 constexpr size_t k_num_gpr_regs = llvm::array_lengthof(g_gpr_regnums) - 1; 449 constexpr size_t k_num_fpu_regs = llvm::array_lengthof(g_fpu_regnums) - 1; 456 constexpr size_t k_num_reg_sets = llvm::array_lengthof(g_reg_sets); 463 for (unsigned i = 0; i < llvm::array_lengthof(m_regs.r); ++i) in RegisterContextMinidump_ARM() 467 for (unsigned i = 0; i < llvm::array_lengthof(m_regs.d); ++i) in RegisterContextMinidump_ARM()
|
| H A D | RegisterContextMinidump_ARM64.cpp | 547 constexpr size_t k_num_reg_infos = llvm::array_lengthof(g_reg_infos); 754 constexpr size_t k_num_gpr_regs = llvm::array_lengthof(g_gpr_regnums) - 1; 755 constexpr size_t k_num_fpu_regs = llvm::array_lengthof(g_fpu_regnums) - 1; 762 constexpr size_t k_num_reg_sets = llvm::array_lengthof(g_reg_sets);
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | CommentCommandTraits.cpp | 20 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()
|
| H A D | AttrDocTable.cpp | 24 if(K < llvm::array_lengthof(AttrDoc)) in getDocumentation()
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | templates.cpp | 37 inline unsigned array_lengthof(T (&)[N]) { in array_lengthof() function 43 clang_analyzer_eval(array_lengthof(S) == 2); in testNonTypeTemplateInstantiation()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/Windows/Common/x86/ |
| H A D | RegisterContextWindows_x86.cpp | 121 static size_t k_num_register_infos = llvm::array_lengthof(g_register_infos); 133 llvm::array_lengthof(g_gpr_reg_indices), g_gpr_reg_indices}, 145 return llvm::array_lengthof(g_register_infos); in GetRegisterCount() 156 return llvm::array_lengthof(g_register_sets); in GetRegisterSetCount()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/Windows/Common/arm/ |
| H A D | RegisterContextWindows_arm.cpp | 44 static size_t k_num_register_infos = llvm::array_lengthof(g_register_infos_arm); 72 llvm::array_lengthof(g_gpr_reg_indices), g_gpr_reg_indices}, 73 {"Floating Point Registers", "fpu", llvm::array_lengthof(g_fpu_reg_indices), 85 return llvm::array_lengthof(g_register_infos_arm); in GetRegisterCount() 96 return llvm::array_lengthof(g_register_sets); in GetRegisterSetCount()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/Windows/Common/arm64/ |
| H A D | RegisterContextWindows_arm64.cpp | 48 llvm::array_lengthof(g_register_infos_arm64_le); 86 llvm::array_lengthof(g_gpr_reg_indices), g_gpr_reg_indices}, 87 {"Floating Point Registers", "fpu", llvm::array_lengthof(g_fpu_reg_indices), 99 return llvm::array_lengthof(g_register_infos_arm64_le); in GetRegisterCount() 110 return llvm::array_lengthof(g_register_sets); in GetRegisterSetCount()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCCallingConv.cpp | 40 const unsigned NumArgRegs = array_lengthof(ArgRegs); in CC_PPC32_SVR4_Custom_AlignArgRegs() 65 const unsigned NumArgRegs = array_lengthof(ArgRegs); in CC_PPC32_SVR4_Custom_SkipLastArgRegsPPCF128() 91 const unsigned NumArgRegs = array_lengthof(ArgRegs); in CC_PPC32_SVR4_Custom_AlignFPArgRegs()
|
| /llvm-project-15.0.7/llvm/include/llvm/MC/ |
| H A D | SubtargetFeature.h | 106 for (unsigned I = 0, E = array_lengthof(Bits); I != E; ++I) { 118 for (unsigned I = 0, E = array_lengthof(Bits); I != E; ++I) { 130 for (unsigned I = 0, E = array_lengthof(Bits); I != E; ++I) {
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/Utility/ |
| H A D | RegisterContextWindows_i386.cpp | 81 return llvm::array_lengthof(g_register_infos_i386); in GetRegisterCount() 85 return llvm::array_lengthof(g_register_infos_i386); in GetUserRegisterCount()
|
| H A D | RegisterContextDarwin_i386.cpp | 366 static size_t k_num_register_infos = llvm::array_lengthof(g_register_infos); 424 const size_t k_num_gpr_registers = llvm::array_lengthof(g_gpr_regnums); 425 const size_t k_num_fpu_registers = llvm::array_lengthof(g_fpu_regnums); 426 const size_t k_num_exc_registers = llvm::array_lengthof(g_exc_regnums); 438 const size_t k_num_regsets = llvm::array_lengthof(g_reg_sets);
|
| H A D | RegisterContextWindows_x86_64.cpp | 144 return llvm::array_lengthof(g_register_infos_x86_64); in GetRegisterCount() 148 return llvm::array_lengthof(g_register_infos_x86_64); in GetUserRegisterCount()
|
| H A D | RegisterContextDarwin_x86_64.cpp | 423 static size_t k_num_register_infos = llvm::array_lengthof(g_register_infos); 480 const size_t k_num_gpr_registers = llvm::array_lengthof(g_gpr_regnums); 481 const size_t k_num_fpu_registers = llvm::array_lengthof(g_fpu_regnums); 482 const size_t k_num_exc_registers = llvm::array_lengthof(g_exc_regnums); 494 const size_t k_num_regsets = llvm::array_lengthof(g_reg_sets);
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | STLArrayExtras.h | 29 constexpr inline size_t array_lengthof(T (&)[N]) { in array_lengthof() function
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | X86TargetParser.cpp | 57 for (unsigned I = 0, E = array_lengthof(Bits); I != E; ++I) { in operator &=() 66 for (unsigned I = 0, E = array_lengthof(Bits); I != E; ++I) { in operator |=() 77 for (unsigned I = 0, E = array_lengthof(Bits); I != E; ++I) in operator &() 85 for (unsigned I = 0, E = array_lengthof(Bits); I != E; ++I) in operator |() 92 for (unsigned I = 0, E = array_lengthof(Bits); I != E; ++I) in operator ~() 98 for (unsigned I = 0, E = array_lengthof(Bits); I != E; ++I) in operator !=() 695 std::array<unsigned, array_lengthof(Priorities) - 1> HelperList; in getFeaturePriority()
|
| H A D | ARMAttributeParser.cpp | 214 if (value < array_lengthof(strings)) in ABI_align_needed() 233 if (value < array_lengthof(strings)) in ABI_align_preserved() 385 for (unsigned AHI = 0, AHE = array_lengthof(displayRoutines); AHI != AHE; in handler()
|
| H A D | RISCVAttributeParser.cpp | 56 for (unsigned AHI = 0, AHE = array_lengthof(displayRoutines); AHI != AHE; in handler()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/Windows/Common/x64/ |
| H A D | RegisterContextWindows_x64.cpp | 265 static size_t k_num_register_infos = llvm::array_lengthof(g_register_infos); 307 llvm::array_lengthof(g_gpr_reg_indices), g_gpr_reg_indices}, 309 llvm::array_lengthof(g_fpu_reg_indices), g_fpu_reg_indices}}; 320 return llvm::array_lengthof(g_register_infos); in GetRegisterCount() 331 return llvm::array_lengthof(g_register_sets); in GetRegisterSetCount()
|
| /llvm-project-15.0.7/llvm/utils/KillTheDoctor/ |
| H A D | KillTheDoctor.cpp | 210 array_lengthof(Filename) - 1); in GetFileNameFromHandle() 245 array_lengthof(PathName), in FindProgram() 250 else if (length > array_lengthof(PathName)) { in FindProgram()
|