| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/ |
| H A D | loop-convert-negative.cpp | 17 for (int I = 0; I < N + 1; ++I) in IndexStartAndEnd() local 20 for (int I = 0; I < N - 1; ++I) in IndexStartAndEnd() local 23 for (int I = 1; I < N; ++I) in IndexStartAndEnd() local 26 for (int I = 1; I < N; ++I) in IndexStartAndEnd() local 35 for (int I = 0; I < N; --I) in increment() local 38 for (int I = 0; I < N; I) in increment() local 44 for (int I = 0; I < N; I += 2) in increment() local 50 for (int I = 0; I < N; ++I) in IndexUse() local 56 for (int I = 0; I < N; ++I) in noArray() local 62 for (int I = 0; I < N; ++I) in noArray() local [all …]
|
| H A D | loop-convert-const.cpp | 42 for (int I = 0; I < N; ++I) { in memberFunctionsAndOperators() local 49 for (int I = 0; I < N; ++I) { in memberFunctionsAndOperators() local 56 for (int I = 0; I < N; ++I) { in memberFunctionsAndOperators() local 65 for (int I = 0; I < N; ++I) { in memberFunctionsAndOperators() local 72 for (int I = 0; I < N; ++I) { in memberFunctionsAndOperators() local 79 for (int I = 0; I < N; ++I) { in memberFunctionsAndOperators() local 89 for (int I = 0; I < N; ++I) { in usedAsParameterToFunctionOrOperator() local 96 for (int I = 0; I < N; ++I) { in usedAsParameterToFunctionOrOperator() local 104 for (int I = 0; I < N; ++I) { in usedAsParameterToFunctionOrOperator() local 111 for (int I = 0; I < N; ++I) { in usedAsParameterToFunctionOrOperator() local [all …]
|
| H A D | loop-convert-basic.cpp | 16 for (int I = 0; I < N; ++I) { in f() local 25 for (int I = 0; I < N; ++I) { in f() local 34 for (int I = 0; I < N; ++I) { in f() local 43 for (int I = 0; I < N; ++I) { in f() local 52 for (int I = 0; I < N; ++I) { in f() local 59 for (int I = 0; I < N; ++I) { in f() local 68 for (int I = 0; I < N; ++I) { in f() local 82 for (int I = 0; I < N; ++I) { in f() local 92 for (int I = 0; I < N; ++I) { in f() local 99 for (int I = 0; N > I; ++I) { in f() local [all …]
|
| H A D | loop-convert-extra.cpp | 12 for (int I = 0; I < N; ++I) { in f() local 48 for (int I = 0; I < N; ++I) { in aliasing() local 61 for (int I = 0; I < N; ++I) { in aliasing() local 72 for (int I = 0; I < N; ++I) { in aliasing() local 106 for (int I = 0; I < N; ++I) { in aliasing() local 163 for (int I = 0; I < N; ++I) { in aliasing() local 190 for (int I = 0; I < N; ++I) { in aliasing() local 297 for (int I = 0; I < N; ++I) { in outOfLine() local 304 for (int I = 0; I < N; ++I) { in outOfLine() local 331 for (int I = 0; I < N; ++I) { in sameNames() local [all …]
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | LineIteratorTest.cpp | 30 ++I; in TEST() 33 ++I; in TEST() 36 ++I; in TEST() 54 ++I; in TEST() 57 ++I; in TEST() 60 ++I; in TEST() 83 ++I; in TEST() 86 ++I; in TEST() 89 ++I; in TEST() 113 ++I; in TEST() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | IntervalMapTest.cpp | 108 ++I; in TEST() 114 --I; in TEST() 236 ++I; in TEST() 240 ++I; in TEST() 292 ++I; in TEST() 295 ++I; in TEST() 298 ++I; in TEST() 301 ++I; in TEST() 329 ++I; in TEST() 333 ++I; in TEST() [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/orc/unittests/ |
| H A D | c_api_test.cpp | 36 for (size_t I = 0; I != SmallAllocSize; ++I) in TEST() local 37 DataPtr[I] = 0x55 + I; in TEST() 42 for (size_t I = 0; I != SmallAllocSize; ++I) in TEST() local 66 for (size_t I = 0; I != LargeAllocSize; ++I) in TEST() local 73 for (size_t I = 0; I != LargeAllocSize; ++I) in TEST() local 95 for (size_t I = 0; I != SmallAllocSize; ++I) in TEST() local 104 for (size_t I = 0; I != SmallAllocSize; ++I) in TEST() local 116 for (size_t I = 0; I != LargeAllocSize; ++I) in TEST() local 125 for (size_t I = 0; I != LargeAllocSize; ++I) in TEST() local 137 for (size_t I = 0; I != SmallAllocSize - 1; ++I) in TEST() local [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVEmitIntrinsics.cpp | 79 Instruction *visitInstruction(Instruction &I) { return &I; } in visitInstruction() argument 106 return isa<StoreInst>(I) || isa<LoadInst>(I) || isa<InsertValueInst>(I) || in isMemInstrToReplace() 160 assert(I); in preprocessCompositeConstants() 202 return &I; in visitSwitchInst() 219 SmallVector<Value *> Args(I.op_begin(), I.op_end()); in visitBitCastInst() 232 SmallVector<Value *> Args(I.op_begin(), I.op_end()); in visitInsertElementInst() 285 return &I; in visitLoadInst() 316 return &I; in visitAllocaInst() 396 isa<PHINode>(I) || isa<SwitchInst>(I)) in processInstrAfterVisit() 452 if (!I->getType()->isVoidTy() || isa<StoreInst>(I)) in runOnFunction() [all …]
|
| H A D | SPIRVInstructionSelector.cpp | 401 return BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(Opcode)) in selectUnOpWithSrc() 461 auto MIB = BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(SPIRV::OpLoad)) in selectLoad() 525 return BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(NewOpcode)) in selectAtomicRMW() 812 auto MIB = BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectConstVector() 830 return BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(CmpOpc)) in selectCmp() 936 return BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(Opcode)) in selectSelect() 986 BuildMI(BB, I, I.getDebugLoc(), TII.get(Opcode)) in selectIntToBool() 1047 return BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(SPIRV::OpUndef)) in selectOpUndef() 1136 auto Res = BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(Opcode)) in selectGEP() 1234 return BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(SPIRV::OpVariable)) in selectFrameIndex() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | InstVisitor.h | 111 RetTy visit(Instruction *I) { return visit(*I); } in visit() argument 115 RetTy visit(Instruction &I) { in visit() argument 119 switch (I.getOpcode()) { in visit() 155 RetTy visit##OPCODE(CLASS &I) { \ 157 return delegateCallInst(I); \ 227 RetTy visitReturnInst(ReturnInst &I) { in visitReturnInst() argument 230 RetTy visitBranchInst(BranchInst &I) { in visitBranchInst() argument 233 RetTy visitSwitchInst(SwitchInst &I) { in visitSwitchInst() argument 268 RetTy visitCallBase(CallBase &I) { in visitCallBase() argument 269 if (isa<InvokeInst>(I) || isa<CallBrInst>(I)) in visitCallBase() [all …]
|
| /llvm-project-15.0.7/flang/test/Semantics/OpenMP/ |
| H A D | omp-ordered-simd.f90 | 6 INTEGER I local 12 DO I = 1,N 15 CALL WORK(I) 26 DO I = 1,N 38 DO I = 1,N 49 DO I = 1,N 86 DO I = 1,N 99 DO I = 1,N 111 DO I = 1,N 124 DO I = 1,N [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tests/ |
| H A D | mutex_test.cpp | 19 for (scudo::u32 I = 0; I < Size; I++) in TestData() local 26 for (scudo::u32 I = 0; I < Size; I++) { in write() local 36 for (scudo::u32 I = 0; I < Size; I++) { in tryWrite() local 45 for (scudo::u32 I = 0; I < Size; I++) { in backoff() local 46 LocalData[I] = LocalData[I] + 1; in backoff() 67 for (scudo::u32 I = 0; I < NumberOfIterations; I++) { in lockThread() local 76 for (scudo::u32 I = 0; I < NumberOfIterations; I++) { in tryThread() local 87 for (scudo::u32 I = 0; I < NumberOfThreads; I++) in TEST() local 89 for (scudo::u32 I = 0; I < NumberOfThreads; I++) in TEST() local 97 for (scudo::u32 I = 0; I < NumberOfThreads; I++) in TEST() local [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86InstructionSelector.cpp | 257 BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectCopy() 817 BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectZext() 821 BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectZext() 883 BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectAnyext() 931 *BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(OpCmp)) in selectCmp() 1024 *BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(OpCmp)) in selectFCmp() 1221 BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(X86::COPY)) in emitInsertSubreg() 1298 *BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectUnmergeValues() 1607 BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectDivRem() 1626 BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectDivRem() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-doc/ |
| H A D | YAMLGenerator.cpp | 110 TypeInfoMapping(IO, I); in FieldTypeInfoMapping() 123 InfoMapping(IO, I); in SymbolInfoMapping() 129 SymbolInfoMapping(IO, I); in RecordInfoMapping() 178 static void mapping(IO &IO, TypeInfo &I) { TypeInfoMapping(IO, I); } in mapping() 183 TypeInfoMapping(IO, I); in mapping() 200 InfoMapping(IO, I); in mapping() 210 static void mapping(IO &IO, RecordInfo &I) { RecordInfoMapping(IO, I); } in mapping() 215 RecordInfoMapping(IO, I); in mapping() 248 static void mapping(IO &IO, CommentInfo &I) { CommentInfoMapping(IO, I); } in mapping() 253 if (I) in mapping() [all …]
|
| H A D | MDGenerator.cpp | 82 OS << genEmphasis(I.Name) << " " << I.Text; in writeDescription() 85 OS << genEmphasis(I.ParamName) << I.Text << Direction << "\n\n"; in writeDescription() 93 OS << I.Text; in writeDescription() 96 OS << I.Text; in writeDescription() 99 if (I.AttrKeys.size() != I.AttrValues.size()) in writeDescription() 111 OS << I.Text; in writeDescription() 129 if (I.Scoped) in genMarkdown() 141 if (I.DefLoc) in genMarkdown() 169 if (I.DefLoc) in genMarkdown() 228 writeHeader(getTagType(I.TagType) + " " + I.Name, 1, OS); in genMarkdown() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | Lint.cpp | 197 &I); in visitCallBase() 206 &I); in visitCallBase() 211 &I); in visitCallBase() 216 auto AI = I.arg_begin(), AE = I.arg_end(); in visitCallBase() 348 &I); in visitCallBase() 424 &I); in visitMemoryReference() 484 visitMemoryReference(I, MemoryLocation::get(&I), I.getAlign(), I.getType(), in visitLoadInst() 489 visitMemoryReference(I, MemoryLocation::get(&I), I.getAlign(), in visitStoreInst() 548 I != N; ++I) { in isZero() 622 Check(&I == &I.getParent()->front() || in visitUnreachableInst() [all …]
|
| /llvm-project-15.0.7/clang/test/OpenMP/ |
| H A D | simd_loop_messages.cpp | 414 for (GoodIter I(0); I < end; ++I) in test_with_random_access_iterator() local 435 for (GoodIter I = begin; I - I; ++I) in test_with_random_access_iterator() local 448 for (GoodIter I = begin; I >= end; I = I + 1) in test_with_random_access_iterator() local 451 for (GoodIter I = begin; I >= end; I = I - 1) in test_with_random_access_iterator() local 455 for (GoodIter I = begin; I >= end; I = -I) in test_with_random_access_iterator() local 460 for (GoodIter I = begin; I >= end; I = 2 + I) in test_with_random_access_iterator() local 464 for (GoodIter I = begin; I >= end; I = 2 - I) in test_with_random_access_iterator() local 473 for (Iter0 I; I < end0; ++I) in test_with_random_access_iterator() local 493 for (Iter1 I; I < end1; ++I) { in test_with_random_access_iterator() local 505 for (IT I = begin; I < end; I = I + ST) { in dotest_lt() local [all …]
|
| H A D | parallel_for_loop_messages.cpp | 400 for (GoodIter I(0); I < end; ++I) in test_with_random_access_iterator() local 423 for (GoodIter I = begin; I - I; ++I) in test_with_random_access_iterator() local 436 for (GoodIter I = begin; I >= end; I = I + 1) in test_with_random_access_iterator() local 439 for (GoodIter I = begin; I >= end; I = I - 1) in test_with_random_access_iterator() local 443 for (GoodIter I = begin; I >= end; I = -I) in test_with_random_access_iterator() local 448 for (GoodIter I = begin; I >= end; I = 2 + I) in test_with_random_access_iterator() local 452 for (GoodIter I = begin; I >= end; I = 2 - I) in test_with_random_access_iterator() local 462 for (Iter0 I; I < end0; ++I) in test_with_random_access_iterator() local 480 for (Iter1 I; I < end1; ++I) { in test_with_random_access_iterator() local 492 for (IT I = begin; I < end; I = I + ST) { in dotest_lt() local [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/Mips/ |
| H A D | MipsInstructionSelector.cpp | 261 BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(Opc)) in buildUnalignedStore() 275 BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(Opc)) in buildUnalignedLoad() 342 MI = BuildMI(MBB, I, I.getDebugLoc(), TII.get(Mips::ADDu)) in select() 354 MI = BuildMI(MBB, I, I.getDebugLoc(), TII.get(Mips::ADDiu)) in select() 361 MI = BuildMI(MBB, I, I.getDebugLoc(), TII.get(Mips::BNE)) in select() 391 BuildMI(MBB, I, I.getDebugLoc(), TII.get(Mips::LW)) in select() 501 MI = BuildMI(MBB, I, I.getDebugLoc(), TII.get(NewOpc)) in select() 517 PseudoDIV = BuildMI(MBB, I, I.getDebugLoc(), in select() 525 PseudoMove = BuildMI(MBB, I, I.getDebugLoc(), in select() 632 MI = BuildMI(MBB, I, I.getDebugLoc(), TII.get(FABSOpcode)) in select() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineNegator.cpp | 124 std::array<Value *, 2> Ops{I->getOperand(0), I->getOperand(1)}; in getSortedOperandsOfBinOp() 213 ? Builder.CreateZExt(I->getOperand(0), I->getType(), in visitImpl() 215 : Builder.CreateSExt(I->getOperand(0), I->getType(), in visitImpl() 228 I->getName() + ".neg", /*MDFrom=*/I); in visitImpl() 237 (I->hasOneUse() || match(I->getOperand(0), m_ImmConstant()))) { in visitImpl() 241 return Builder.CreateSub(I->getOperand(1), I->getOperand(0), in visitImpl() 312 NegatedPHI->addIncoming(std::get<0>(I), std::get<1>(I)); in visitImpl() 316 if (isKnownNegation(I->getOperand(1), I->getOperand(2))) { in visitImpl() 336 I->getName() + ".neg", /*MDFrom=*/I); in visitImpl() 393 if (!haveNoCommonBitsSet(I->getOperand(0), I->getOperand(1), DL, &AC, I, in visitImpl() [all …]
|
| H A D | InstCombineMulDivRem.cpp | 66 if (I && I->isLogicalShift() && in simplifyValueKnownNonZero() 148 return &I; in visitMul() 159 Value *Op0 = I.getOperand(0), *Op1 = I.getOperand(1); in visitMul() 434 Value *Op0 = I.getOperand(0), *Op1 = I.getOperand(1); in foldFPSignBitOps() 487 Value *Op0 = I.getOperand(0), *Op1 = I.getOperand(1); in visitFMul() 784 Value *Op0 = I.getOperand(0), *Op1 = I.getOperand(1); in commonIDivTransforms() 1093 I, Builder.CreateLShr(Op0, Res, I.getName(), I.isExact())); in visitUDiv() 1263 if (!I.hasAllowReassoc() || !I.hasAllowReciprocal()) in foldFDivConstantDividend() 1365 if (I.hasAllowReassoc() && I.hasAllowReciprocal()) { in visitFDiv() 1418 if (I.hasNoNaNs() && I.hasAllowReassoc() && in visitFDiv() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/ |
| H A D | get_long_double_fr_FR.pass.cpp | 83 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main() 94 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main() 105 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main() 116 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main() 127 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main() 139 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main() 151 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main() 162 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main() 174 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main() 185 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main() [all …]
|
| H A D | get_long_double_ru_RU.pass.cpp | 82 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main() 93 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main() 104 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main() 115 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main() 126 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main() 137 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main() 149 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main() 161 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main() 173 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main() 185 I iter = f.get(I(v.data()), I(v.data() + v.size()), in main() [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/ |
| H A D | stats.h | 33 for (uptr I = 0; I < StatCount; I++) in init() local 47 void set(StatType I, uptr V) { atomic_store_relaxed(&StatsArray[I], V); } in set() argument 49 uptr get(StatType I) const { return atomic_load_relaxed(&StatsArray[I]); } in get() argument 71 for (uptr I = 0; I < StatCount; I++) in unlink() local 72 add(static_cast<StatType>(I), S->get(static_cast<StatType>(I))); in unlink() 77 for (uptr I = 0; I < StatCount; I++) in get() local 78 S[I] = LocalStats::get(static_cast<StatType>(I)); in get() 80 for (uptr I = 0; I < StatCount; I++) in get() local 81 S[I] += Stats.get(static_cast<StatType>(I)); in get() 84 for (uptr I = 0; I < StatCount; I++) in get() local [all …]
|
| /llvm-project-15.0.7/clang/unittests/CodeGen/ |
| H A D | TBAAMetadataTest.cpp | 78 I = matchNext(I, in TEST() 90 I = matchNext(I, in TEST() 102 I = matchNext(I, in TEST() 114 I = matchNext(I, in TEST() 126 I = matchNext(I, in TEST() 202 I = matchNext(I, in TEST() 214 I = matchNext(I, in TEST() 226 I = matchNext(I, in TEST() 238 I = matchNext(I, in TEST() 250 I = matchNext(I, in TEST() [all …]
|