reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

gen/lib/Target/AArch64/AArch64GenRegisterInfo.inc
 3663 extern const unsigned AArch64DwarfFlavour0Dwarf2LSize = array_lengthof(AArch64DwarfFlavour0Dwarf2L);
 3780 extern const unsigned AArch64EHFlavour0Dwarf2LSize = array_lengthof(AArch64EHFlavour0Dwarf2L);
 4059 extern const unsigned AArch64DwarfFlavour0L2DwarfSize = array_lengthof(AArch64DwarfFlavour0L2Dwarf);
 4338 extern const unsigned AArch64EHFlavour0L2DwarfSize = array_lengthof(AArch64EHFlavour0L2Dwarf);
gen/lib/Target/AMDGPU/AMDGPUGenRegisterInfo.inc
11755 extern const unsigned AMDGPUDwarfFlavour0Dwarf2LSize = array_lengthof(AMDGPUDwarfFlavour0Dwarf2L);
12152 extern const unsigned AMDGPUEHFlavour0Dwarf2LSize = array_lengthof(AMDGPUEHFlavour0Dwarf2L);
12863 extern const unsigned AMDGPUDwarfFlavour0L2DwarfSize = array_lengthof(AMDGPUDwarfFlavour0L2Dwarf);
13574 extern const unsigned AMDGPUEHFlavour0L2DwarfSize = array_lengthof(AMDGPUEHFlavour0L2Dwarf);
gen/lib/Target/ARC/ARCGenRegisterInfo.inc
  305 extern const unsigned ARCDwarfFlavour0Dwarf2LSize = array_lengthof(ARCDwarfFlavour0Dwarf2L);
  342 extern const unsigned ARCEHFlavour0Dwarf2LSize = array_lengthof(ARCEHFlavour0Dwarf2L);
  379 extern const unsigned ARCDwarfFlavour0L2DwarfSize = array_lengthof(ARCDwarfFlavour0L2Dwarf);
  416 extern const unsigned ARCEHFlavour0L2DwarfSize = array_lengthof(ARCEHFlavour0L2Dwarf);
gen/lib/Target/ARM/ARMGenRegisterInfo.inc
 3066 extern const unsigned ARMDwarfFlavour0Dwarf2LSize = array_lengthof(ARMDwarfFlavour0Dwarf2L);
 3118 extern const unsigned ARMEHFlavour0Dwarf2LSize = array_lengthof(ARMEHFlavour0Dwarf2L);
 3171 extern const unsigned ARMDwarfFlavour0L2DwarfSize = array_lengthof(ARMDwarfFlavour0L2Dwarf);
 3224 extern const unsigned ARMEHFlavour0L2DwarfSize = array_lengthof(ARMEHFlavour0L2Dwarf);
gen/lib/Target/AVR/AVRGenRegisterInfo.inc
  590 extern const unsigned AVRDwarfFlavour0Dwarf2LSize = array_lengthof(AVRDwarfFlavour0Dwarf2L);
  629 extern const unsigned AVREHFlavour0Dwarf2LSize = array_lengthof(AVREHFlavour0Dwarf2L);
  685 extern const unsigned AVRDwarfFlavour0L2DwarfSize = array_lengthof(AVRDwarfFlavour0L2Dwarf);
  741 extern const unsigned AVREHFlavour0L2DwarfSize = array_lengthof(AVREHFlavour0L2Dwarf);
gen/lib/Target/BPF/BPFGenRegisterInfo.inc
  227 extern const unsigned BPFDwarfFlavour0Dwarf2LSize = array_lengthof(BPFDwarfFlavour0Dwarf2L);
  243 extern const unsigned BPFEHFlavour0Dwarf2LSize = array_lengthof(BPFEHFlavour0Dwarf2L);
  271 extern const unsigned BPFDwarfFlavour0L2DwarfSize = array_lengthof(BPFDwarfFlavour0L2Dwarf);
  299 extern const unsigned BPFEHFlavour0L2DwarfSize = array_lengthof(BPFEHFlavour0L2Dwarf);
gen/lib/Target/Hexagon/HexagonGenRegisterInfo.inc
 1460 extern const unsigned HexagonDwarfFlavour0Dwarf2LSize = array_lengthof(HexagonDwarfFlavour0Dwarf2L);
 1614 extern const unsigned HexagonEHFlavour0Dwarf2LSize = array_lengthof(HexagonEHFlavour0Dwarf2L);
 1813 extern const unsigned HexagonDwarfFlavour0L2DwarfSize = array_lengthof(HexagonDwarfFlavour0L2Dwarf);
 2012 extern const unsigned HexagonEHFlavour0L2DwarfSize = array_lengthof(HexagonEHFlavour0L2Dwarf);
gen/lib/Target/Lanai/LanaiGenRegisterInfo.inc
  342 extern const unsigned LanaiDwarfFlavour0Dwarf2LSize = array_lengthof(LanaiDwarfFlavour0Dwarf2L);
  378 extern const unsigned LanaiEHFlavour0Dwarf2LSize = array_lengthof(LanaiEHFlavour0Dwarf2L);
  421 extern const unsigned LanaiDwarfFlavour0L2DwarfSize = array_lengthof(LanaiDwarfFlavour0L2Dwarf);
  464 extern const unsigned LanaiEHFlavour0L2DwarfSize = array_lengthof(LanaiEHFlavour0L2Dwarf);
gen/lib/Target/Mips/MipsGenRegisterInfo.inc
 2821 extern const unsigned MipsDwarfFlavour0Dwarf2LSize = array_lengthof(MipsDwarfFlavour0Dwarf2L);
 2897 extern const unsigned MipsEHFlavour0Dwarf2LSize = array_lengthof(MipsEHFlavour0Dwarf2L);
 3101 extern const unsigned MipsDwarfFlavour0L2DwarfSize = array_lengthof(MipsDwarfFlavour0L2Dwarf);
 3305 extern const unsigned MipsEHFlavour0L2DwarfSize = array_lengthof(MipsEHFlavour0L2Dwarf);
gen/lib/Target/PowerPC/PPCGenRegisterInfo.inc
 1888 extern const unsigned PPCDwarfFlavour0Dwarf2LSize = array_lengthof(PPCDwarfFlavour0Dwarf2L);
 2031 extern const unsigned PPCDwarfFlavour1Dwarf2LSize = array_lengthof(PPCDwarfFlavour1Dwarf2L);
 2176 extern const unsigned PPCEHFlavour0Dwarf2LSize = array_lengthof(PPCEHFlavour0Dwarf2L);
 2319 extern const unsigned PPCEHFlavour1Dwarf2LSize = array_lengthof(PPCEHFlavour1Dwarf2L);
 2597 extern const unsigned PPCDwarfFlavour0L2DwarfSize = array_lengthof(PPCDwarfFlavour0L2Dwarf);
 2872 extern const unsigned PPCDwarfFlavour1L2DwarfSize = array_lengthof(PPCDwarfFlavour1L2Dwarf);
 3150 extern const unsigned PPCEHFlavour0L2DwarfSize = array_lengthof(PPCEHFlavour0L2Dwarf);
 3425 extern const unsigned PPCEHFlavour1L2DwarfSize = array_lengthof(PPCEHFlavour1L2Dwarf);
gen/lib/Target/RISCV/RISCVGenRegisterInfo.inc
  687 extern const unsigned RISCVDwarfFlavour0Dwarf2LSize = array_lengthof(RISCVDwarfFlavour0Dwarf2L);
  755 extern const unsigned RISCVEHFlavour0Dwarf2LSize = array_lengthof(RISCVEHFlavour0Dwarf2L);
  855 extern const unsigned RISCVDwarfFlavour0L2DwarfSize = array_lengthof(RISCVDwarfFlavour0L2Dwarf);
  955 extern const unsigned RISCVEHFlavour0L2DwarfSize = array_lengthof(RISCVEHFlavour0L2Dwarf);
gen/lib/Target/Sparc/SparcGenRegisterInfo.inc
 1334 extern const unsigned SPDwarfFlavour0Dwarf2LSize = array_lengthof(SPDwarfFlavour0Dwarf2L);
 1419 extern const unsigned SPEHFlavour0Dwarf2LSize = array_lengthof(SPEHFlavour0Dwarf2L);
 1504 extern const unsigned SPDwarfFlavour0L2DwarfSize = array_lengthof(SPDwarfFlavour0L2Dwarf);
 1589 extern const unsigned SPEHFlavour0L2DwarfSize = array_lengthof(SPEHFlavour0L2Dwarf);
gen/lib/Target/SystemZ/SystemZGenRegisterInfo.inc
 1208 extern const unsigned SystemZDwarfFlavour0Dwarf2LSize = array_lengthof(SystemZDwarfFlavour0Dwarf2L);
 1292 extern const unsigned SystemZEHFlavour0Dwarf2LSize = array_lengthof(SystemZEHFlavour0Dwarf2L);
 1408 extern const unsigned SystemZDwarfFlavour0L2DwarfSize = array_lengthof(SystemZDwarfFlavour0L2Dwarf);
 1524 extern const unsigned SystemZEHFlavour0L2DwarfSize = array_lengthof(SystemZEHFlavour0L2Dwarf);
gen/lib/Target/X86/X86GenRegisterInfo.inc
 2786 extern const unsigned X86DwarfFlavour0Dwarf2LSize = array_lengthof(X86DwarfFlavour0Dwarf2L);
 2831 extern const unsigned X86DwarfFlavour1Dwarf2LSize = array_lengthof(X86DwarfFlavour1Dwarf2L);
 2876 extern const unsigned X86DwarfFlavour2Dwarf2LSize = array_lengthof(X86DwarfFlavour2Dwarf2L);
 2953 extern const unsigned X86EHFlavour0Dwarf2LSize = array_lengthof(X86EHFlavour0Dwarf2L);
 2998 extern const unsigned X86EHFlavour1Dwarf2LSize = array_lengthof(X86EHFlavour1Dwarf2L);
 3043 extern const unsigned X86EHFlavour2Dwarf2LSize = array_lengthof(X86EHFlavour2Dwarf2L);
 3193 extern const unsigned X86DwarfFlavour0L2DwarfSize = array_lengthof(X86DwarfFlavour0L2Dwarf);
 3343 extern const unsigned X86DwarfFlavour1L2DwarfSize = array_lengthof(X86DwarfFlavour1L2Dwarf);
 3493 extern const unsigned X86DwarfFlavour2L2DwarfSize = array_lengthof(X86DwarfFlavour2L2Dwarf);
 3643 extern const unsigned X86EHFlavour0L2DwarfSize = array_lengthof(X86EHFlavour0L2Dwarf);
 3793 extern const unsigned X86EHFlavour1L2DwarfSize = array_lengthof(X86EHFlavour1L2Dwarf);
 3943 extern const unsigned X86EHFlavour2L2DwarfSize = array_lengthof(X86EHFlavour2L2Dwarf);
gen/lib/Target/XCore/XCoreGenRegisterInfo.inc
  194 extern const unsigned XCoreDwarfFlavour0Dwarf2LSize = array_lengthof(XCoreDwarfFlavour0Dwarf2L);
  214 extern const unsigned XCoreEHFlavour0Dwarf2LSize = array_lengthof(XCoreEHFlavour0Dwarf2L);
  234 extern const unsigned XCoreDwarfFlavour0L2DwarfSize = array_lengthof(XCoreDwarfFlavour0L2Dwarf);
  254 extern const unsigned XCoreEHFlavour0L2DwarfSize = array_lengthof(XCoreEHFlavour0L2Dwarf);
include/llvm/CodeGen/TargetLowering.h
  742            (unsigned)VT.getSimpleVT().SimpleTy < array_lengthof(RegClassForVT));
  896     if (Op >= array_lengthof(OpActions[0])) return Custom;
 1185     assert((unsigned)CC < array_lengthof(CondCodeActions) &&
 1186            ((unsigned)VT.SimpleTy >> 3) < array_lengthof(CondCodeActions[0]) &&
 1289     assert((unsigned)VT.SimpleTy < array_lengthof(RegisterTypeForVT));
 1297                 array_lengthof(RegisterTypeForVT));
 1325                 array_lengthof(NumRegistersForVT));
 1393     assert(unsigned(NT >> 3) < array_lengthof(TargetDAGCombineArray));
 2020     assert((unsigned)VT.SimpleTy < array_lengthof(RegClassForVT));
 2038     assert(Op < array_lengthof(OpActions[0]) && "Table isn't big enough!");
 2094     assert(VT.isValid() && (unsigned)CC < array_lengthof(CondCodeActions) &&
 2124     assert(unsigned(NT >> 3) < array_lengthof(TargetDAGCombineArray));
include/llvm/MC/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) {
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
 1854       if (Input >= array_lengthof(Inputs)) {
 1865       for (OpNo = 0; OpNo < array_lengthof(InputUsed); ++OpNo) {
 1876       if (OpNo >= array_lengthof(InputUsed)) {
 1899         if (Input >= array_lengthof(Inputs)) {
lib/CodeGen/TargetLoweringBase.cpp
  830     assert((unsigned)SVT.SimpleTy < array_lengthof(TransformToType));
lib/IR/DebugInfoMetadata.cpp
  329   DEFINE_GETIMPL_STORE(DISubrange, (CountNode, Lo), Ops);
  338   DEFINE_GETIMPL_STORE(DIEnumerator, (Value, IsUnsigned), Ops);
  350   DEFINE_GETIMPL_STORE(DIBasicType, (Tag, SizeInBits, AlignInBits, Encoding,
  379   DEFINE_GETIMPL_STORE(
  401   DEFINE_GETIMPL_STORE(DICompositeType, (Tag, Line, RuntimeLang, SizeInBits,
  473   DEFINE_GETIMPL_STORE(DISubroutineType, (Flags, CC), Ops);
  510   DEFINE_GETIMPL_STORE(DIFile, (CS, Source), Ops);
  531   return storeImpl(new (array_lengthof(Ops)) DICompileUnit(
  678   DEFINE_GETIMPL_STORE(DILexicalBlock, (Line, Column), Ops);
  689   DEFINE_GETIMPL_STORE(DILexicalBlockFile, (Discriminator), Ops);
  699   DEFINE_GETIMPL_STORE(DINamespace, (ExportSymbols), Ops);
  710   DEFINE_GETIMPL_STORE(DICommonBlock, (LineNo), Ops);
  721   DEFINE_GETIMPL_STORE_NO_CONSTRUCTOR_ARGS(DIModule, Ops);
  732   DEFINE_GETIMPL_STORE_NO_CONSTRUCTOR_ARGS(DITemplateTypeParameter, Ops);
  741   DEFINE_GETIMPL_STORE(DITemplateValueParameter, (Tag), Ops);
  765   DEFINE_GETIMPL_STORE(DIGlobalVariable,
  785   DEFINE_GETIMPL_STORE(DILocalVariable, (Line, Arg, Flags, AlignInBits), Ops);
  820   DEFINE_GETIMPL_STORE(DILabel, (Line), Ops);
 1191   DEFINE_GETIMPL_STORE_NO_CONSTRUCTOR_ARGS(DIGlobalVariableExpression, Ops);
 1204   DEFINE_GETIMPL_STORE(DIObjCProperty, (Line, Attributes), Ops);
 1216   DEFINE_GETIMPL_STORE(DIImportedEntity, (Tag, Line), Ops);
 1225   DEFINE_GETIMPL_STORE(DIMacro, (MIType, Line), Ops);
 1235   DEFINE_GETIMPL_STORE(DIMacroFile, (MIType, Line), Ops);
lib/MC/MCAsmBackend.cpp
  104   assert((size_t)Kind <= array_lengthof(Builtins) && "Unknown fixup kind");
lib/MC/MCDwarf.cpp
  286   assert(array_lengthof(StandardOpcodeLengths) >=
lib/Object/MachOObjectFile.cpp
 2226       if (RType >= array_lengthof(Table))
lib/Support/ARMAttributeParser.cpp
  143     (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr;
  170     (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr;
  180     (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr;
  193     (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr;
  203     (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr;
  215     (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr;
  227     (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr;
  240     (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr;
  250     (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr;
  262     (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr;
  274     (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr;
  286     (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr;
  298     (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr;
  308     (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr;
  320     (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr;
  330     (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr;
  341     (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr;
  353     (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr;
  366   if (Value < array_lengthof(Strings))
  387   if (Value < array_lengthof(Strings))
  406     (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr;
  418     (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr;
  430     (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr;
  440     (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr;
  454     (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr;
  468     (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr;
  502     (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr;
  512     (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr;
  522     (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr;
  532     (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr;
  544     (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr;
  554     (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr;
  564     (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr;
  577     (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr;
  607     for (unsigned AHI = 0, AHE = array_lengthof(DisplayRoutines);
lib/Support/CrashRecoveryContext.cpp
  291 static const unsigned NumSignals = array_lengthof(Signals);
lib/Support/NativeFormatting.cpp
  149   ::memset(NumberBuffer, '0', llvm::array_lengthof(NumberBuffer));
lib/Support/Triple.cpp
  837   for (unsigned Pos = 0; Pos != array_lengthof(Found); ++Pos) {
  843       if (Idx < array_lengthof(Found) && Found[Idx])
  891           while (i < array_lengthof(Found) && Found[i])
  912             while (++i < array_lengthof(Found) && Found[i])
  920           while (++Idx < array_lengthof(Found) && Found[Idx])
lib/Support/Unix/Signals.inc
  239     array_lengthof(IntSigs) + array_lengthof(KillSigs) +
  239     array_lengthof(IntSigs) + array_lengthof(KillSigs) +
  240     array_lengthof(InfoSigs);
  298     assert(Index < array_lengthof(RegisteredSignalInfo) &&
  532     depth = backtrace(StackTrace, static_cast<int>(array_lengthof(StackTrace)));
  538                         static_cast<int>(array_lengthof(StackTrace)));
lib/Support/raw_ostream.cpp
  483   if (NumChars < array_lengthof(Chars))
  488                                    (unsigned)array_lengthof(Chars)-1);
lib/TableGen/TGLexer.cpp
  603   for (unsigned ID = 0; ID < llvm::array_lengthof(PreprocessorDirs); ++ID) {
  660   for (unsigned ID = 0; ID < llvm::array_lengthof(PreprocessorDirs); ++ID)
lib/Target/AArch64/AArch64ISelLowering.cpp
 3406   static const unsigned NumGPRArgRegs = array_lengthof(GPRArgRegs);
 3444     static const unsigned NumFPRArgRegs = array_lengthof(FPRArgRegs);
lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
  694   for (Idx = 0; Idx != array_lengthof(LdStNInstInfo); ++Idx)
lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp
  229   for (unsigned I = 0; I < array_lengthof(RegMap); ++I)
lib/Target/AMDGPU/AMDGPULibFunc.cpp
  346     array_lengthof(UnmangledFuncInfo::Table);
  555   StringMap<int> Map(array_lengthof(manglingRules));
lib/Target/AMDGPU/AMDGPURegisterInfo.cpp
   78   assert(NumRegIndex < array_lengthof(SubRegFromChannelTable) &&
   80   assert(Channel < array_lengthof(SubRegFromChannelTable[0]));
lib/Target/ARC/ARCISelLowering.cpp
  525     if (FirstVAReg < array_lengthof(ArgRegs)) {
  532           MFI.CreateFixedObject((array_lengthof(ArgRegs) - FirstVAReg) * 4,
  536       for (unsigned i = FirstVAReg; i < array_lengthof(ArgRegs); i++) {
lib/Target/ARM/ARMBaseInstrInfo.cpp
  112   for (unsigned i = 0, e = array_lengthof(ARM_MLxTable); i != e; ++i) {
 2351   for (unsigned i = 0, e = array_lengthof(AddSubFlagsOpcodeMap); i != e; ++i)
lib/Target/ARM/ARMISelLowering.cpp
 4004     if (RegIdx != array_lengthof(GPRArgRegs))
lib/Target/ARM/Thumb2SizeReduction.cpp
  247   for (unsigned i = 0, e = array_lengthof(ReduceTable); i != e; ++i) {
lib/Target/AVR/AVRISelLowering.cpp
  964   unsigned RegsLeft = array_lengthof(RegList8), ValNo = 0;
  983             ArrayRef<MCPhysReg>(RegList, array_lengthof(RegList8)));
lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp
  661   if (RegNo >= array_lengthof(CtrlRegDecoderTable))
  689   if (RegNo >= array_lengthof(CtrlReg64DecoderTable))
  769   if (RegNo >= array_lengthof(GuestRegDecoderTable))
  795   if (RegNo >= array_lengthof(GuestReg64DecoderTable))
lib/Target/Hexagon/HexagonFrameLowering.h
   94     NumEntries = array_lengthof(Offsets);
lib/Target/Hexagon/HexagonHardwareLoops.cpp
 1000   auto CheckRegs = IsInnerHWLoop ? makeArrayRef(Regs01, array_lengthof(Regs01))
 1001                                  : makeArrayRef(Regs1, array_lengthof(Regs1));
lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
  307     ReplaceUses(F, T, array_lengthof(T));
lib/Target/Hexagon/HexagonISelLowering.cpp
  138   const unsigned NumArgRegs = array_lengthof(ArgRegs);
lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp
  653         assert(Shift < array_lengthof(GPRelFixups));
lib/Target/MSP430/MCTargetDesc/MSP430AsmBackend.cpp
   84     static_assert((array_lengthof(Infos)) == MSP430::NumTargetFixupKinds,
lib/Target/MSP430/MSP430ISelLowering.cpp
  446   static const unsigned CNbRegs = array_lengthof(CRegList);
  451   static const unsigned BuiltinNbRegs = array_lengthof(BuiltinRegList);
lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
  423   static_assert(array_lengthof(LittleEndianInfos) == Mips::NumTargetFixupKinds,
  502   static_assert(array_lengthof(BigEndianInfos) == Mips::NumTargetFixupKinds,
lib/Target/Mips/Mips16ISelLowering.cpp
  249   for (unsigned I = 0; I != array_lengthof(HardFloatLibCalls); ++I) {
lib/Target/Mips/MipsRegisterInfo.cpp
  162   for (unsigned I = 0; I < array_lengthof(ReservedGPR32); ++I)
  172   for (unsigned I = 0; I < array_lengthof(ReservedGPR64); ++I)
lib/Target/Mips/MipsSEISelLowering.cpp
   87     for (unsigned i = 0; i < array_lengthof(VecTys); ++i) {
lib/Target/PowerPC/PPCAsmPrinter.cpp
 1626   assert(Directive < array_lengthof(CPUDirectives) &&
lib/Target/PowerPC/PPCCallingConv.cpp
   40   const unsigned NumArgRegs = array_lengthof(ArgRegs);
   65   const unsigned NumArgRegs = array_lengthof(ArgRegs);
   91   const unsigned NumArgRegs = array_lengthof(ArgRegs);
lib/Target/PowerPC/PPCFrameLowering.cpp
  274     NumEntries = array_lengthof(Offsets64);
  278     NumEntries = array_lengthof(Offsets);
lib/Target/PowerPC/PPCISelLowering.cpp
 3604     const unsigned NumGPArgRegs = array_lengthof(GPArgRegs);
 3610     unsigned NumFPArgRegs = array_lengthof(FPArgRegs);
 3721   const unsigned Num_GPR_Regs = array_lengthof(GPR);
 3723   const unsigned Num_VR_Regs  = array_lengthof(VR);
 4136   const unsigned Num_GPR_Regs = array_lengthof(GPR_32);
 4138   const unsigned Num_VR_Regs  = array_lengthof( VR);
 4559   const unsigned NumGPRs = array_lengthof(GPR);
 4561   const unsigned NumVRs = array_lengthof(VR);
 5716   const unsigned NumGPRs = array_lengthof(GPR);
 5718   const unsigned NumVRs  = array_lengthof(VR);
 6447   const unsigned NumGPRs = array_lengthof(GPR_32);
 6449   const unsigned NumVRs  = array_lengthof(VR);
 8509   for (unsigned idx = 0; idx < array_lengthof(SplatCsts); ++idx) {
lib/Target/PowerPC/PPCInstrInfo.cpp
 1569     for (unsigned c = 0; c < array_lengthof(RCs) && !Found; ++c) {
lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.h
  123     static_assert((array_lengthof(Infos)) == RISCV::NumTargetFixupKinds,
lib/Target/RISCV/RISCVISelLowering.cpp
 1484   if (State.getFirstUnallocated(ArgFPR32s) == array_lengthof(ArgFPR32s))
 1486   if (State.getFirstUnallocated(ArgFPR64s) == array_lengthof(ArgFPR64s))
 1512     if (RegIdx != array_lengthof(ArgGPRs) && RegIdx % 2 == 1)
lib/Target/Sparc/Disassembler/SparcDisassembler.cpp
  239   if (RegNo >= array_lengthof(PRRegDecoderTable))
lib/Target/SystemZ/SystemZFrameLowering.cpp
   54   for (unsigned I = 0, E = array_lengthof(SpillOffsetTable); I != E; ++I)
   60   NumEntries = array_lengthof(SpillOffsetTable);
lib/Target/X86/AsmParser/X86AsmParser.cpp
 3231   for (unsigned I = 0, E = array_lengthof(Match); I != E; ++I) {
 3264     for (unsigned I = 0, E = array_lengthof(Match); I != E; ++I)
lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
  286   for (unsigned I = 0; I < array_lengthof(RegMap); ++I)
lib/Target/X86/X86ISelLowering.cpp
14125     for (unsigned j = 0; j != array_lengthof(ViableForN); ++j)
14140   for (unsigned j = 0; j != array_lengthof(ViableForN); ++j)
lib/Target/XCore/XCoreISelLowering.cpp
 1350     if (FirstVAReg < array_lengthof(ArgRegs)) {
 1354       for (int i = array_lengthof(ArgRegs) - 1; i >= (int)FirstVAReg; --i) {
lib/Transforms/InstCombine/InstCombineAddSub.cpp
  583   assert((NextTmpIdx <= array_lengthof(TmpResult) + 1) &&
lib/Transforms/Scalar/LoopStrengthReduce.cpp
 4164       for (size_t i = 0, e = array_lengthof(OtherImms); i != e; ++i) {
lib/Transforms/Utils/MetaRenamer.cpp
   65       return metaNames[prng.rand() % array_lengthof(metaNames)];
tools/clang/include/clang/AST/OpenMPClause.h
 4881     assert(llvm::array_lengthof(MapTypeModifiers) == MapModifiers.size() &&
 4885     assert(llvm::array_lengthof(MapTypeModifiersLoc) ==
tools/clang/lib/AST/ASTContext.cpp
 5867       for (size_t Idx = 0; Idx < llvm::array_lengthof(PromoteTypes); ++Idx) {
tools/clang/lib/AST/CommentCommandTraits.cpp
   19     NextID(llvm::array_lengthof(Commands)), Allocator(Allocator) {
  117   if (CommandID < llvm::array_lengthof(Commands))
  133   return RegisteredCommands[CommandID - llvm::array_lengthof(Commands)];
tools/clang/lib/Basic/DiagnosticIDs.cpp
  119 static const unsigned StaticDiagInfoSize = llvm::array_lengthof(StaticDiagInfo);
  234   return llvm::array_lengthof(CategoryNameTable) - 1;
tools/clang/lib/Basic/Targets/NVPTX.h
  145     if (AddressSpace >= llvm::array_lengthof(NVPTXDWARFAddrSpaceMap) ||
tools/clang/lib/CodeGen/CGExpr.cpp
 3012          size_t(CheckHandler) < llvm::array_lengthof(SanitizerHandlers));
tools/clang/lib/CodeGen/CGObjC.cpp
 1660     CGM.getContext().Selectors.getSelector(llvm::array_lengthof(II), &II[0]);
tools/clang/lib/Driver/Compilation.cpp
  263   for (unsigned i = 0, e = llvm::array_lengthof(OutputOpts); i != e; ++i) {
tools/clang/lib/Driver/ToolChain.cpp
  156   for (size_t i = 0; i < llvm::array_lengthof(DriverSuffixes); ++i) {
tools/clang/lib/Driver/ToolChains/Darwin.cpp
 1475   static_assert(llvm::array_lengthof(EnvVars) == Darwin::LastDarwinPlatform + 1,
 1496     int FirstTarget = llvm::array_lengthof(Targets);
 1497     for (int I = 0; I != llvm::array_lengthof(Targets); ++I) {
 1500       if (FirstTarget == llvm::array_lengthof(Targets))
tools/clang/lib/Driver/Types.cpp
   36 static const unsigned numTypes = llvm::array_lengthof(TypeInfos);
tools/clang/lib/Frontend/PrintPreprocessedOutput.cpp
  792     } else if (Tok.getLength() < llvm::array_lengthof(Buffer)) {
tools/clang/lib/Parse/ParseDecl.cpp
 1323                ScopeName, ScopeLoc, Args, llvm::array_lengthof(Args), Syntax);
tools/clang/lib/Parse/ParseOpenMP.cpp
  153   for (unsigned I = 0; I < llvm::array_lengthof(F); ++I) {
tools/clang/lib/Sema/DeclSpec.cpp
  228         NumParams <= llvm::array_lengthof(TheDeclarator.InlineParams)) {
  298         Bindings.size() <= llvm::array_lengthof(InlineBindings)) {
tools/clang/lib/Sema/SemaCoroutine.cpp
  414   for (size_t I = 0, N = llvm::array_lengthof(Funcs); I != N; ++I) {
tools/clang/lib/Sema/SemaLookup.cpp
 4671     const unsigned NumCTypeSpecs = llvm::array_lengthof(CTypeSpecs);
 4725       const unsigned NumCXXExprs = llvm::array_lengthof(CXXExprs);
 4751       const unsigned NumCStmts = llvm::array_lengthof(CStmts);
tools/clang/lib/Sema/TreeTransform.h
12916   const unsigned NumTypes = llvm::array_lengthof(Types);
tools/clang/unittests/AST/CommentLexer.cpp
   94   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  110   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  129   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  149   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  172   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  251   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  268   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  286   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  314   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  319     ASSERT_EQ(array_lengthof(Text), Toks.size());
  581   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  648   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  679   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  892   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  917   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1043   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1160   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1186   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1216   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1275   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1306   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1339   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1364   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1788   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
tools/clang/unittests/AST/CommentParser.cpp
  667   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  804   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  834   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  864   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  895   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  950   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1084   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1106   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1130   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1152   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1175   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1288   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1312   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1339   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1367   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1390   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1408   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1427   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
tools/clang/unittests/AST/DeclPrinterTest.cpp
  720   for (unsigned i = 0, e = llvm::array_lengthof(OperatorNames); i != e; ++i) {
  743   for (unsigned i = 0, e = llvm::array_lengthof(OperatorNames); i != e; ++i) {
tools/clang/unittests/Tooling/CompilationDatabaseTest.cpp
  612   int Argc = llvm::array_lengthof(Argv);
tools/lld/COFF/Chunks.cpp
  873   assert(p2Align < array_lengthof(instances));
tools/lldb/source/Core/FormatEntity.cpp
  119     ENTRY_CHILDREN("reg", FrameRegisterByName, g_string_entry),
  137     ENTRY_CHILDREN("file", LineEntryFile, g_file_child_entries),
  145     ENTRY_CHILDREN("file", ModuleFile, g_file_child_entries),
  151     ENTRY_CHILDREN("file", ProcessFile, g_file_child_entries),
  164     ENTRY_CHILDREN("info", ThreadInfo, g_string_entry),
  216     ENTRY_CHILDREN("fg", Invalid, g_ansi_fg_entries),
  217     ENTRY_CHILDREN("bg", Invalid, g_ansi_bg_entries),
  246     ENTRY_CHILDREN("addr", AddressLoadOrFile, g_addr_entries),
  248     ENTRY_CHILDREN("ansi", Invalid, g_ansi_entries),
  250     ENTRY_CHILDREN("file", File, g_file_child_entries),
  252     ENTRY_CHILDREN("frame", Invalid, g_frame_child_entries),
  253     ENTRY_CHILDREN("function", Invalid, g_function_child_entries),
  254     ENTRY_CHILDREN("line", Invalid, g_line_child_entries),
  255     ENTRY_CHILDREN("module", Invalid, g_module_child_entries),
  256     ENTRY_CHILDREN("process", Invalid, g_process_child_entries),
  257     ENTRY_CHILDREN("script", Invalid, g_script_child_entries),
  258     ENTRY_CHILDREN_KEEP_SEP("svar", VariableSynthetic, g_svar_child_entries),
  259     ENTRY_CHILDREN("thread", Invalid, g_thread_child_entries),
  260     ENTRY_CHILDREN("target", Invalid, g_target_child_entries),
  261     ENTRY_CHILDREN_KEEP_SEP("var", Variable, g_var_child_entries),
  265     ENTRY_CHILDREN("<root>", Root, g_top_level_entries);
tools/lldb/source/DataFormatters/FormatManager.cpp
   80 static uint32_t g_num_format_infos = llvm::array_lengthof(g_format_infos);
tools/lldb/source/Host/common/Terminal.cpp
  199   return llvm::array_lengthof(m_ttystates);
tools/lldb/source/Interpreter/CommandInterpreter.cpp
  505   size_t num_regexes = llvm::array_lengthof(break_regexes);
tools/lldb/source/Plugins/ABI/MacOSX-arm/ABIMacOSX_arm.cpp
 1294     llvm::array_lengthof(g_register_infos);
 1357   for (size_t i = 0; i < llvm::array_lengthof(reg_names); ++i) {
tools/lldb/source/Plugins/ABI/MacOSX-arm64/ABIMacOSX_arm64.cpp
 1635     llvm::array_lengthof(g_register_infos);
tools/lldb/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.cpp
  681     llvm::array_lengthof(g_register_infos);
tools/lldb/source/Plugins/ABI/SysV-arm/ABISysV_arm.cpp
 1295     llvm::array_lengthof(g_register_infos);
 1360   for (size_t i = 0; i < llvm::array_lengthof(reg_names); ++i) {
tools/lldb/source/Plugins/ABI/SysV-arm64/ABISysV_arm64.cpp
 1633     llvm::array_lengthof(g_register_infos);
tools/lldb/source/Plugins/ABI/SysV-i386/ABISysV_i386.cpp
  172     llvm::array_lengthof(g_register_infos);
tools/lldb/source/Plugins/ABI/SysV-mips/ABISysV_mips.cpp
  542     llvm::array_lengthof(g_register_infos);
  598   for (size_t i = 0; i < llvm::array_lengthof(reg_names); ++i) {
tools/lldb/source/Plugins/ABI/SysV-mips64/ABISysV_mips64.cpp
  542     llvm::array_lengthof(g_register_infos_mips64);
tools/lldb/source/Plugins/ABI/SysV-ppc/ABISysV_ppc.cpp
  206     llvm::array_lengthof(g_register_infos);
tools/lldb/source/Plugins/ABI/SysV-ppc64/ABISysV_ppc64.cpp
   53     count = llvm::array_lengthof(g_register_infos_ppc64le);
   56     count = llvm::array_lengthof(g_register_infos_ppc64);
tools/lldb/source/Plugins/ABI/SysV-s390x/ABISysV_s390x.cpp
  173     llvm::array_lengthof(g_register_infos);
tools/lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp
  189     llvm::array_lengthof(g_register_infos);
tools/lldb/source/Plugins/ABI/Windows-x86_64/ABIWindows_x86_64.cpp
 1057     llvm::array_lengthof(g_register_infos);
tools/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
  411   for (size_t i = 0; i < llvm::array_lengthof (magicks); i++)
tools/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp
13209   static const size_t k_num_arm_opcodes = llvm::array_lengthof(g_arm_opcodes);
13760   const size_t k_num_thumb_opcodes = llvm::array_lengthof(g_thumb_opcodes);
tools/lldb/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp
   51   if (reg_num >= llvm::array_lengthof(g_register_infos_arm64_le))
  386   static const size_t k_num_arm_opcodes = llvm::array_lengthof(g_opcodes);
tools/lldb/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp
  965   static const size_t k_num_mips_opcodes = llvm::array_lengthof(g_opcodes);
tools/lldb/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp
  930   static const size_t k_num_mips_opcodes = llvm::array_lengthof(g_opcodes);
tools/lldb/source/Plugins/Instruction/PPC64/EmulateInstructionPPC64.cpp
   70   if (reg_num >= llvm::array_lengthof(g_register_infos_ppc64le))
  158   static const size_t k_num_ppc_opcodes = llvm::array_lengthof(g_opcodes);
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp
  733   for (size_t i = 0; i != llvm::array_lengthof(g_dispatch_functions); i++) {
tools/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
  611   llvm::StringRef hdr_name(sect.name, llvm::array_lengthof(sect.name));
tools/lldb/source/Plugins/ObjectFile/PECOFF/PECallFrameInfo.cpp
  172   if (machine_reg >= llvm::array_lengthof(machine_to_lldb_register))
  187   if (xmm_reg >= llvm::array_lengthof(xmm_to_lldb_register))
tools/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
 1220   for (size_t i = 0; i < llvm::array_lengthof(g_bp_modules); i++) {
 1229                                   llvm::array_lengthof(g_bp_names),
tools/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp
  918 static size_t k_num_register_infos = llvm::array_lengthof(g_register_infos);
  959 const size_t k_num_gpr_registers = llvm::array_lengthof(g_gpr_regnums);
  960 const size_t k_num_fpu_registers = llvm::array_lengthof(g_fpu_regnums);
  961 const size_t k_num_exc_registers = llvm::array_lengthof(g_exc_regnums);
  973 const size_t k_num_regsets = llvm::array_lengthof(g_reg_sets);
tools/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm64.cpp
  101     llvm::array_lengthof(g_register_infos_arm64_le);
  142 const size_t k_num_gpr_registers = llvm::array_lengthof(g_gpr_regnums);
  143 const size_t k_num_fpu_registers = llvm::array_lengthof(g_fpu_regnums);
  144 const size_t k_num_exc_registers = llvm::array_lengthof(g_exc_regnums);
  156 const size_t k_num_regsets = llvm::array_lengthof(g_reg_sets);
tools/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_i386.cpp
  401 static size_t k_num_register_infos = llvm::array_lengthof(g_register_infos);
  459 const size_t k_num_gpr_registers = llvm::array_lengthof(g_gpr_regnums);
  460 const size_t k_num_fpu_registers = llvm::array_lengthof(g_fpu_regnums);
  461 const size_t k_num_exc_registers = llvm::array_lengthof(g_exc_regnums);
  473 const size_t k_num_regsets = llvm::array_lengthof(g_reg_sets);
tools/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.cpp
  463 static size_t k_num_register_infos = llvm::array_lengthof(g_register_infos);
  520 const size_t k_num_gpr_registers = llvm::array_lengthof(g_gpr_regnums);
  521 const size_t k_num_fpu_registers = llvm::array_lengthof(g_fpu_regnums);
  522 const size_t k_num_exc_registers = llvm::array_lengthof(g_exc_regnums);
  534 const size_t k_num_regsets = llvm::array_lengthof(g_reg_sets);
tools/lldb/source/Plugins/Process/Utility/RegisterContextWindows_i386.cpp
   82   return llvm::array_lengthof(g_register_infos_i386);
   86   return llvm::array_lengthof(g_register_infos_i386);
tools/lldb/source/Plugins/Process/Utility/RegisterContextWindows_x86_64.cpp
  145   return llvm::array_lengthof(g_register_infos_x86_64);
  149   return llvm::array_lengthof(g_register_infos_x86_64);
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
  867   static const uint32_t num_registers = llvm::array_lengthof(g_register_infos);
  914     const size_t num_composites = llvm::array_lengthof(g_composites);
tools/lldb/source/Plugins/Process/minidump/RegisterContextMinidump_ARM.cpp
  347 constexpr size_t k_num_reg_infos = llvm::array_lengthof(g_reg_infos);
  456 constexpr size_t k_num_gpr_regs = llvm::array_lengthof(g_gpr_regnums) - 1;
  457 constexpr size_t k_num_fpu_regs = llvm::array_lengthof(g_fpu_regnums) - 1;
  464 constexpr size_t k_num_reg_sets = llvm::array_lengthof(g_reg_sets);
  471   for (unsigned i = 0; i < llvm::array_lengthof(m_regs.r); ++i)
  475   for (unsigned i = 0; i < llvm::array_lengthof(m_regs.d); ++i)
tools/lldb/source/Plugins/Process/minidump/RegisterContextMinidump_ARM64.cpp
  554 constexpr size_t k_num_reg_infos = llvm::array_lengthof(g_reg_infos);
  761 constexpr size_t k_num_gpr_regs = llvm::array_lengthof(g_gpr_regnums) - 1;
  762 constexpr size_t k_num_fpu_regs = llvm::array_lengthof(g_fpu_regnums) - 1;
  769 constexpr size_t k_num_reg_sets = llvm::array_lengthof(g_reg_sets);
tools/lldb/source/Utility/ArchSpec.cpp
  245   for (uint32_t i = 0; i < llvm::array_lengthof(g_core_definitions); ++i)
  250   for (uint32_t i = 0; i < llvm::array_lengthof(g_core_definitions); ++i)
  389     eArchTypeMachO, llvm::array_lengthof(g_macho_arch_entries),
  452     llvm::array_lengthof(g_elf_arch_entries),
  478     llvm::array_lengthof(g_coff_arch_entries),
  489     llvm::array_lengthof(g_arch_definitions);
  506   for (unsigned int i = 0; i < llvm::array_lengthof(g_core_definitions); ++i) {
  514   if (core < llvm::array_lengthof(g_core_definitions))
tools/llvm-config/llvm-config.cpp
  150   for (unsigned i = 0; i != array_lengthof(AvailableComponents); ++i) {
  513         for (unsigned j = 0; j != array_lengthof(AvailableComponents); ++j) {
tools/llvm-dwp/llvm-dwp.cpp
  286     for (size_t i = 0; i != array_lengthof(E.second.Contributions); ++i)
tools/llvm-readobj/ARMWinEHPrinter.cpp
  787       if ((isAArch64 && (DI >= array_lengthof(Ring64))) ||
  788           (!isAArch64 && (DI >= array_lengthof(Ring)))) {
tools/llvm-readobj/ELFDumper.cpp
 4423   if (Words[0] < array_lengthof(OSNames))
unittests/ADT/StringRefTest.cpp
  604   for (size_t i = 0; i < array_lengthof(Unsigned); ++i) {
  640   for (size_t i = 0; i < array_lengthof(Signed); ++i) {
  690   for (size_t i = 0; i < array_lengthof(BadStrings); ++i) {
  773   for (size_t i = 0; i < array_lengthof(ConsumeUnsigned); ++i) {
  826   for (size_t i = 0; i < array_lengthof(ConsumeSigned); ++i) {
  908   for (size_t i = 0; i < array_lengthof(join_input); ++i) {
unittests/ADT/TinyPtrVectorTest.cpp
   48     for (size_t i = 0, e = array_lengthof(TestValues); i != e; ++i)
unittests/ProfileData/CoverageMappingTest.cpp
  285   static const unsigned N = array_lengthof(FileNames);
  314   static const unsigned N = array_lengthof(FileNames);
unittests/Support/BinaryStreamTest.cpp
  106 constexpr uint32_t NumEndians = llvm::array_lengthof(Endians);
unittests/Support/CommandLineTest.cpp
  241                            array_lengthof(Output));
  250                            array_lengthof(Output));
  257                            array_lengthof(Output));
  264                            array_lengthof(Output));
  271                            array_lengthof(Output));
  278                            array_lengthof(Output));
  285                            array_lengthof(Output));
  292                            array_lengthof(Output));
  299                            array_lengthof(Output));
  306                            array_lengthof(Output));
  329                            array_lengthof(Output));
  336                            array_lengthof(Output));
  348   for (size_t i = 0, e = array_lengthof(Inputs); i < e; ++i) {
  377   testAliasRequired(array_lengthof(opts1), opts1);
  378   testAliasRequired(array_lengthof(opts2), opts2);
unittests/Support/FormatVariadicTest.cpp
  522                     llvm::array_lengthof(Ts))
unittests/Support/TargetParserTest.cpp
  643   for (unsigned i = 0; i < array_lengthof(ArchExt); i++) {
  652   for (unsigned i = 0; i < array_lengthof(hwdiv); i++)
  667   for (unsigned i = 0; i < array_lengthof(Arch); i++) {
  706   for (unsigned i = 0; i < array_lengthof(ARMArch); i++) {
  739   for (unsigned i = 0; i < array_lengthof(ARMArch); i++)
 1162   for (unsigned i = 0; i < array_lengthof(ArchExt); i++) {
utils/TableGen/CodeGenTarget.cpp
  428   return array_lengthof(FixedInstrs) - 1;
utils/TableGen/X86DisassemblerTables.cpp
  653   for (unsigned i = 0; i < array_lengthof(Tables); i++)