/external/llvm/tools/llvm-readobj/ |
D | ARMAttributeParser.cpp | 130 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in CPU_arch() 157 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in ARM_ISA_use() 167 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in THUMB_ISA_use() 180 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in FP_arch() 190 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in WMMX_arch() 202 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in Advanced_SIMD_arch() 215 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in PCS_config() 225 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in ABI_PCS_R9_use() 237 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in ABI_PCS_RW_data() 249 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in ABI_PCS_RO_data() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | ARMAttributeParser.cpp | 141 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in CPU_arch() 168 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in ARM_ISA_use() 178 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in THUMB_ISA_use() 191 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in FP_arch() 201 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in WMMX_arch() 213 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in Advanced_SIMD_arch() 226 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in PCS_config() 236 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in ABI_PCS_R9_use() 248 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in ABI_PCS_RW_data() 260 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in ABI_PCS_RO_data() [all …]
|
/external/clang/test/SemaTemplate/ |
D | instantiate-init.cpp | 81 …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() 107 …array_lengthof(Description<float*>::data); // expected-error{{no matching function for call to 'ar… in test()
|
/external/llvm/unittests/Support/ |
D | TargetParserTest.cpp | 243 for (unsigned i = 0; i < array_lengthof(ArchExt); i++) { in TEST() 259 for (unsigned i = 0; i < array_lengthof(ARMArch); i++) in TEST() 266 for (unsigned i = 0; i < array_lengthof(hwdiv); i++) in TEST() 305 for (unsigned i = 0; i < array_lengthof(FPU); i++) in TEST() 310 for (unsigned i = 0; i < array_lengthof(ARMArch); i++) in TEST() 320 for (unsigned i = 0; i < array_lengthof(ArchExt); i++) in TEST() 361 for (unsigned i = 0; i < array_lengthof(Arch); i++) { in TEST() 397 for (unsigned i = 0; i < array_lengthof(ARMArch); i++) { in TEST() 422 for (unsigned i = 0; i < array_lengthof(ARMArch); i++) in TEST() 530 for (unsigned i = 0; i < array_lengthof(ArchExt); i++) { in TEST() [all …]
|
D | CommandLineTest.cpp | 192 array_lengthof(Output)); in TEST() 201 array_lengthof(Output)); in TEST() 213 for (size_t i = 0, e = array_lengthof(Inputs); i < e; ++i) { in TEST() 242 testAliasRequired(array_lengthof(opts1), opts1); in TEST() 243 testAliasRequired(array_lengthof(opts2), opts2); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | CommandLineTest.cpp | 185 array_lengthof(Output)); in TEST() 194 array_lengthof(Output)); in TEST() 201 array_lengthof(Output)); in TEST() 208 array_lengthof(Output)); in TEST() 215 array_lengthof(Output)); in TEST() 222 array_lengthof(Output)); in TEST() 229 array_lengthof(Output)); in TEST() 236 array_lengthof(Output)); in TEST() 243 array_lengthof(Output)); in TEST() 266 array_lengthof(Output)); in TEST() [all …]
|
/external/clang/unittests/AST/ |
D | CommentParser.cpp | 669 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 …]
|
D | CommentLexer.cpp | 95 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 …]
|
D | ExternalASTSourceTest.cpp | 56 Args + array_lengthof(Args), in testExternalASTSource()
|
/external/clang/lib/AST/ |
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()
|
/external/clang/test/Analysis/ |
D | templates.cpp | 37 inline unsigned array_lengthof(T (&)[N]) { in array_lengthof() function 43 clang_analyzer_eval(array_lengthof(S) == 2); in testNonTypeTemplateInstantiation()
|
/external/llvm/include/llvm/Target/ |
D | TargetLowering.h | 459 (unsigned)VT.getSimpleVT().SimpleTy < array_lengthof(RegClassForVT)); in isTypeLegal() 602 if (Op > array_lengthof(OpActions[0])) return Custom; in getOperationAction() 747 assert((unsigned)CC < array_lengthof(CondCodeActions) && in getCondCodeAction() 748 ((unsigned)VT.SimpleTy >> 3) < array_lengthof(CondCodeActions[0]) && in getCondCodeAction() 829 assert((unsigned)VT.SimpleTy < array_lengthof(RegisterTypeForVT)); in getRegisterType() 837 array_lengthof(RegisterTypeForVT)); in getRegisterType() 865 array_lengthof(NumRegistersForVT)); in getNumRegisters() 907 assert(unsigned(NT >> 3) < array_lengthof(TargetDAGCombineArray)); in hasTargetDAGCombine() 1398 assert((unsigned)VT.SimpleTy < array_lengthof(RegClassForVT)); in addRegisterClass() 1427 assert(Op < array_lengthof(OpActions[0]) && "Table isn't big enough!"); in setOperationAction() [all …]
|
/external/llvm/lib/MC/ |
D | MCAsmBackend.cpp | 42 assert((size_t)Kind <= array_lengthof(Builtins) && "Unknown fixup kind"); in getFixupKindInfo()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceTargetLoweringX8632.cpp | 84 const size_t TargetX8632Traits::TableFcmpSize = llvm::array_lengthof(TableFcmp); 95 llvm::array_lengthof(TableIcmp32); 109 llvm::array_lengthof(TableIcmp64); 121 llvm::array_lengthof(TableTypeX8632Attributes);
|
D | IceIntrinsics.cpp | 228 const size_t IceIntrinsicsTableSize = llvm::array_lengthof(IceIntrinsicsTable); 246 constexpr size_t LLVMPrefixLen = llvm::array_lengthof(LLVMPrefix) - 1; in find()
|
D | IceTimerTree.cpp | 286 snprintf(PrefixStr, llvm::array_lengthof(PrefixStr), "%9zu ", in dump() 298 snprintf(PrefixStr, llvm::array_lengthof(PrefixStr), "%9zu ", in dump()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPURegisterInfo.cpp | 47 assert(Channel < array_lengthof(SubRegs)); in getSubRegFromChannel()
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/KillTheDoctor/ |
D | KillTheDoctor.cpp | 211 array_lengthof(Filename) - 1); in GetFileNameFromHandle() 246 array_lengthof(PathName), in FindProgram() 251 else if (length > array_lengthof(PathName)) { in FindProgram()
|
/external/llvm/utils/KillTheDoctor/ |
D | KillTheDoctor.cpp | 211 array_lengthof(Filename) - 1); in GetFileNameFromHandle() 246 array_lengthof(PathName), in FindProgram() 251 else if (length > array_lengthof(PathName)) { in FindProgram()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Nios2/ |
D | Nios2RegisterInfo.cpp | 43 for (unsigned I = 0; I < array_lengthof(ReservedCPURegs); ++I) in getReservedRegs()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | TargetLowering.h | 636 (unsigned)VT.getSimpleVT().SimpleTy < array_lengthof(RegClassForVT)); in isTypeLegal() 789 if (Op >= array_lengthof(OpActions[0])) return Custom; in getOperationAction() 1034 assert((unsigned)CC < array_lengthof(CondCodeActions) && in getCondCodeAction() 1035 ((unsigned)VT.SimpleTy >> 3) < array_lengthof(CondCodeActions[0]) && in getCondCodeAction() 1120 assert((unsigned)VT.SimpleTy < array_lengthof(RegisterTypeForVT)); in getRegisterType() 1128 array_lengthof(RegisterTypeForVT)); in getRegisterType() 1156 array_lengthof(NumRegistersForVT)); in getNumRegisters() 1222 assert(unsigned(NT >> 3) < array_lengthof(TargetDAGCombineArray)); in hasTargetDAGCombine() 1782 assert((unsigned)VT.SimpleTy < array_lengthof(RegClassForVT)); in addRegisterClass() 1800 assert(Op < array_lengthof(OpActions[0]) && "Table isn't big enough!"); in setOperationAction() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPURegisterInfo.cpp | 38 assert(Channel < array_lengthof(SubRegs)); in getSubRegFromChannel()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | StringRefTest.cpp | 611 for (size_t i = 0; i < array_lengthof(Unsigned); ++i) { in TEST() 647 for (size_t i = 0; i < array_lengthof(Signed); ++i) { in TEST() 697 for (size_t i = 0; i < array_lengthof(BadStrings); ++i) { in TEST() 780 for (size_t i = 0; i < array_lengthof(ConsumeUnsigned); ++i) { in TEST() 833 for (size_t i = 0; i < array_lengthof(ConsumeSigned); ++i) { in TEST() 915 for (size_t i = 0; i < array_lengthof(join_input); ++i) { in TEST()
|
/external/llvm/lib/Target/Mips/ |
D | MipsRegisterInfo.cpp | 167 for (unsigned I = 0; I < array_lengthof(ReservedGPR32); ++I) in getReservedRegs() 177 for (unsigned I = 0; I < array_lengthof(ReservedGPR64); ++I) in getReservedRegs()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/ |
D | MipsRegisterInfo.cpp | 165 for (unsigned I = 0; I < array_lengthof(ReservedGPR32); ++I) in getReservedRegs() 175 for (unsigned I = 0; I < array_lengthof(ReservedGPR64); ++I) in getReservedRegs()
|