/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/clang/lib/Driver/ |
D | ToolChains.cpp | 1132 AArch64LibDirs + llvm::array_lengthof(AArch64LibDirs)); in CollectLibDirsAndTriples() 1134 AArch64Triples + llvm::array_lengthof(AArch64Triples)); in CollectLibDirsAndTriples() 1136 AArch64LibDirs + llvm::array_lengthof(AArch64LibDirs)); in CollectLibDirsAndTriples() 1138 AArch64Triples, AArch64Triples + llvm::array_lengthof(AArch64Triples)); in CollectLibDirsAndTriples() 1142 LibDirs.append(ARMLibDirs, ARMLibDirs + llvm::array_lengthof(ARMLibDirs)); in CollectLibDirsAndTriples() 1145 ARMHFTriples + llvm::array_lengthof(ARMHFTriples)); in CollectLibDirsAndTriples() 1148 ARMTriples + llvm::array_lengthof(ARMTriples)); in CollectLibDirsAndTriples() 1153 X86_64LibDirs + llvm::array_lengthof(X86_64LibDirs)); in CollectLibDirsAndTriples() 1155 X86_64Triples + llvm::array_lengthof(X86_64Triples)); in CollectLibDirsAndTriples() 1157 X86LibDirs + llvm::array_lengthof(X86LibDirs)); in CollectLibDirsAndTriples() [all …]
|
D | DriverOptions.cpp | 37 : OptTable(InfoTable, llvm::array_lengthof(InfoTable)) {} in DriverOptTable()
|
D | CC1AsOptions.cpp | 37 : OptTable(CC1AsInfoTable, llvm::array_lengthof(CC1AsInfoTable)) {} in CC1AsOptTable()
|
/external/clang/lib/AST/ |
D | CommentCommandTraits.cpp | 20 NextID(llvm::array_lengthof(Commands)), Allocator(Allocator) { in CommandTraits() 78 const int NumOfCommands = llvm::array_lengthof(Commands); in getTypoCorrectCommandInfo() 119 if (CommandID < llvm::array_lengthof(Commands)) in getBuiltinCommandInfo() 135 return RegisteredCommands[CommandID - llvm::array_lengthof(Commands)]; in getRegisteredCommandInfo()
|
/external/clang/unittests/AST/ |
D | CommentParser.cpp | 644 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F() 781 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F() 811 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F() 841 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F() 872 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F() 927 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F() 1061 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F() 1083 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F() 1107 for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) { in TEST_F() 1129 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 …]
|
/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/lib/Target/X86/ |
D | X86TargetTransformInfo.cpp | 214 int Idx = CostTableLookup<MVT>(AVX2CostTable, array_lengthof(AVX2CostTable), in getArithmeticInstrCost() 242 array_lengthof(SSE2UniformConstCostTable), in getArithmeticInstrCost() 290 int Idx = CostTableLookup<MVT>(SSE2CostTable, array_lengthof(SSE2CostTable), in getArithmeticInstrCost() 315 int Idx = CostTableLookup<MVT>(AVX1CostTable, array_lengthof(AVX1CostTable), in getArithmeticInstrCost() 328 int Idx = CostTableLookup<MVT>(CustomLowered, array_lengthof(CustomLowered), in getArithmeticInstrCost() 391 array_lengthof(SSE2ConvTbl), in getCastInstrCost() 450 array_lengthof(AVXConversionTbl), in getCastInstrCost() 496 int Idx = CostTableLookup<MVT>(AVX2CostTbl, array_lengthof(AVX2CostTbl), in getCmpSelInstrCost() 503 int Idx = CostTableLookup<MVT>(AVX1CostTbl, array_lengthof(AVX1CostTbl), in getCmpSelInstrCost() 510 int Idx = CostTableLookup<MVT>(SSE42CostTbl, array_lengthof(SSE42CostTbl), in getCmpSelInstrCost()
|
D | X86SelectionDAGInfo.cpp | 144 Chain = DAG.getNode(X86ISD::REP_STOS, dl, Tys, Ops, array_lengthof(Ops)); in EmitTargetCodeForMemset() 158 Chain = DAG.getNode(X86ISD::REP_STOS, dl, Tys, Ops, array_lengthof(Ops)); in EmitTargetCodeForMemset() 247 array_lengthof(Ops)); in EmitTargetCodeForMemcpy()
|
/external/clang/lib/Basic/ |
D | TargetInfo.cpp | 243 for (unsigned j = 0; j < llvm::array_lengthof(AddlNames[i].Names); j++) { in isValidGCCRegisterName() 258 for (unsigned j = 0 ; j < llvm::array_lengthof(Aliases[i].Aliases); j++) { in isValidGCCRegisterName() 296 for (unsigned j = 0; j < llvm::array_lengthof(AddlNames[i].Names); j++) { in getNormalizedGCCRegisterName() 311 for (unsigned j = 0 ; j < llvm::array_lengthof(Aliases[i].Aliases); j++) { in getNormalizedGCCRegisterName()
|
D | DiagnosticIDs.cpp | 88 static const unsigned StaticDiagInfoSize = llvm::array_lengthof(StaticDiagInfo); 224 return llvm::array_lengthof(CategoryNameTable) - 1; in getNumberOfCategories() 528 static const size_t OptionTableSize = llvm::array_lengthof(OptionTable);
|
D | Targets.cpp | 1065 NumNames = llvm::array_lengthof(GCCRegNames); in getGCCRegNames() 1141 NumAliases = llvm::array_lengthof(GCCRegAliases); in getGCCRegAliases() 1340 NumNames = llvm::array_lengthof(GCCRegNames); in getGCCRegNames() 1758 NumNames = llvm::array_lengthof(GCCRegNames); in getGCCRegNames() 1768 NumNames = llvm::array_lengthof(AddlRegNames); in getGCCAddlRegNames() 3376 NumNames = llvm::array_lengthof(GCCRegNames); in getGCCRegNames() 3389 NumAliases = llvm::array_lengthof(GCCRegAliases); in getGCCRegAliases() 3861 NumNames = llvm::array_lengthof(GCCRegNames); in getGCCRegNames() 3888 NumAliases = llvm::array_lengthof(GCCRegAliases); in getGCCRegAliases() 4051 NumNames = llvm::array_lengthof(GCCRegNames); in getGCCRegNames() [all …]
|
/external/llvm/lib/Target/ARM/ |
D | ARMTargetTransformInfo.cpp | 195 int Idx = CostTableLookup<MVT>(NEONFltDblTbl, array_lengthof(NEONFltDblTbl), in getCastInstrCost() 287 array_lengthof(NEONVectorConversionTbl), in getCastInstrCost() 318 array_lengthof(NEONFloatConversionTbl), in getCastInstrCost() 351 array_lengthof(NEONIntegerConversionTbl), in getCastInstrCost() 373 array_lengthof(ARMIntegerConversionTbl), in getCastInstrCost() 416 array_lengthof(NEONVectorSelectTbl), in getCmpSelInstrCost() 467 int Idx = CostTableLookup<MVT>(NEONShuffleTbl, array_lengthof(NEONShuffleTbl), in getShuffleCost() 527 Idx = CostTableLookup<MVT>(CostTbl, array_lengthof(CostTbl), ISDOpcode, in getArithmeticInstrCost()
|
/external/llvm/lib/Transforms/Utils/ |
D | MetaRenamer.cpp | 102 array_lengthof(metaNames)]).toStringRef(NameStorage)); in runOnModule() 112 FI->setName(metaNames[prng.rand() % array_lengthof(metaNames)]); in runOnModule()
|
/external/llvm/unittests/Support/ |
D | CommandLineTest.cpp | 152 array_lengthof(Output)); in TEST() 161 array_lengthof(Output)); in TEST()
|
/external/llvm/include/llvm/Target/ |
D | TargetLowering.h | 273 (unsigned)VT.getSimpleVT().SimpleTy < array_lengthof(RegClassForVT)); in isTypeLegal() 411 if (Op > array_lengthof(OpActions[0])) return Custom; in getOperationAction() 520 assert((unsigned)CC < array_lengthof(CondCodeActions) && in getCondCodeAction() 596 assert((unsigned)VT.SimpleTy < array_lengthof(RegisterTypeForVT)); in getRegisterType() 604 array_lengthof(RegisterTypeForVT)); in getRegisterType() 632 array_lengthof(NumRegistersForVT)); in getNumRegisters() 657 assert(unsigned(NT >> 3) < array_lengthof(TargetDAGCombineArray)); in hasTargetDAGCombine() 931 assert((unsigned)VT.SimpleTy < array_lengthof(RegClassForVT)); in addRegisterClass() 960 assert(Op < array_lengthof(OpActions[0]) && "Table isn't big enough!"); in setOperationAction() 1015 (unsigned)CC < array_lengthof(CondCodeActions) && in setCondCodeAction() [all …]
|
/external/llvm/lib/MC/ |
D | MCAsmBackend.cpp | 41 assert((size_t)Kind <= array_lengthof(Builtins) && "Unknown fixup kind"); in getFixupKindInfo()
|
/external/llvm/lib/Target/Mips/ |
D | MipsRegisterInfo.cpp | 120 for (unsigned I = 0; I < array_lengthof(ReservedGPR32); ++I) in getReservedRegs() 123 for (unsigned I = 0; I < array_lengthof(ReservedGPR64); ++I) in getReservedRegs()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCFrameLowering.h | 290 NumEntries = array_lengthof(Offsets64); in getCalleeSavedSpillSlots() 294 NumEntries = array_lengthof(Offsets); in getCalleeSavedSpillSlots()
|
/external/llvm/lib/Support/ |
D | Triple.cpp | 386 for (unsigned Pos = 0; Pos != array_lengthof(Found); ++Pos) { in normalize() 392 if (Idx < array_lengthof(Found) && Found[Idx]) in normalize() 434 while (i < array_lengthof(Found) && Found[i]) in normalize() 455 while (++i < array_lengthof(Found) && Found[i]) in normalize() 463 while (++Idx < array_lengthof(Found) && Found[Idx]) in normalize()
|
/external/llvm/utils/KillTheDoctor/ |
D | KillTheDoctor.cpp | 207 array_lengthof(Filename) - 1); in GetFileNameFromHandle() 241 array_lengthof(PathName), in FindProgram() 246 else if (length > array_lengthof(PathName)) { in FindProgram()
|
/external/llvm/tools/llvm-config/ |
D | llvm-config.cpp | 100 for (unsigned i = 0; i != array_lengthof(AvailableComponents); ++i) { in ComputeLibsForComponents() 289 for (unsigned j = 0; j != array_lengthof(AvailableComponents); ++j) { in main()
|
/external/llvm/lib/Target/AArch64/Utils/ |
D | AArch64BaseInfo.cpp | 250 NumInstPairs = llvm::array_lengthof(MRSPairs); in MRSMapper() 273 NumInstPairs = llvm::array_lengthof(MSRPairs); in MSRMapper() 760 for (unsigned i = 0; i < array_lengthof(SysRegPairs); ++i) { in fromString() 800 for (unsigned i = 0; i < array_lengthof(SysRegPairs); ++i) { in toString()
|
/external/llvm/lib/Target/R600/ |
D | AMDILISelLowering.cpp | 85 const size_t NumTypes = array_lengthof(types); in InitAMDILLowering() 86 const size_t NumFloatTypes = array_lengthof(FloatTypes); in InitAMDILLowering() 87 const size_t NumIntTypes = array_lengthof(IntTypes); in InitAMDILLowering() 88 const size_t NumVectorTypes = array_lengthof(VectorTypes); in InitAMDILLowering()
|