/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/swiftshader/third_party/LLVM/include/llvm/Target/ |
D | TargetLowering.h | 232 (unsigned)VT.getSimpleVT().SimpleTy < array_lengthof(RegClassForVT)); in isTypeLegal() 372 assert(Op < array_lengthof(OpActions[0]) && "Table isn't big enough!"); in getOperationAction() 476 assert((unsigned)CC < array_lengthof(CondCodeActions) && in getCondCodeAction() 535 assert((unsigned)VT.SimpleTy < array_lengthof(RegisterTypeForVT)); in getRegisterType() 544 array_lengthof(RegisterTypeForVT)); in getRegisterType() 570 array_lengthof(NumRegistersForVT)); in getNumRegisters() 595 assert(unsigned(NT >> 3) < array_lengthof(TargetDAGCombineArray)); in hasTargetDAGCombine() 1039 assert((unsigned)VT.getSimpleVT().SimpleTy < array_lengthof(RegClassForVT)); in addRegisterClass() 1057 assert(Op < array_lengthof(OpActions[0]) && "Table isn't big enough!"); in setOperationAction() 1110 (unsigned)CC < array_lengthof(CondCodeActions) && in setCondCodeAction() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | Triple.cpp | 454 for (unsigned Pos = 0; Pos != array_lengthof(Found); ++Pos) { in normalize() 460 if (Idx < array_lengthof(Found) && Found[Idx]) in normalize() 503 while (i < array_lengthof(Found) && Found[i]) ++i; in normalize() 523 while (++i < array_lengthof(Found) && Found[i]) in normalize() 531 while (++Idx < array_lengthof(Found) && Found[Idx]) {} in normalize()
|
/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/swiftshader/third_party/subzero/src/ |
D | IceTargetLoweringX8632.cpp | 80 const size_t TargetX8632Traits::TableFcmpSize = llvm::array_lengthof(TableFcmp); 91 llvm::array_lengthof(TableIcmp32); 105 llvm::array_lengthof(TableIcmp64); 117 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()
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86SelectionDAGInfo.cpp | 141 Chain = DAG.getNode(X86ISD::REP_STOS, dl, Tys, Ops, array_lengthof(Ops)); in EmitTargetCodeForMemset() 155 Chain = DAG.getNode(X86ISD::REP_STOS, dl, Tys, Ops, array_lengthof(Ops)); in EmitTargetCodeForMemset() 236 array_lengthof(Ops)); in EmitTargetCodeForMemcpy()
|
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/ |
D | PPCFrameLowering.h | 308 NumEntries = array_lengthof(Offsets64); in getCalleeSavedSpillSlots() 312 NumEntries = array_lengthof(Offsets); in getCalleeSavedSpillSlots()
|
/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/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/lib/MC/ |
D | MCAsmBackend.cpp | 42 assert((size_t)Kind <= array_lengthof(Builtins) && "Unknown fixup kind"); in getFixupKindInfo()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPURegisterInfo.cpp | 47 assert(Channel < array_lengthof(SubRegs)); in getSubRegFromChannel()
|
/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/Nios2/ |
D | Nios2RegisterInfo.cpp | 43 for (unsigned I = 0; I < array_lengthof(ReservedCPURegs); ++I) in getReservedRegs()
|
/external/swiftshader/third_party/LLVM/utils/KillTheDoctor/ |
D | KillTheDoctor.cpp | 204 array_lengthof(Filename) - 1); in GetFileNameFromHandle() 251 array_lengthof(PathName), in FindProgram() 256 else if (length > array_lengthof(PathName)) { in FindProgram()
|