| /llvm-project-15.0.7/libcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/ |
| H A D | indirect_equivalence_relation.compile.pass.cpp | 22 template <class I1, class I2> 25 bool operator()(std::iter_value_t<I2>&, std::iter_value_t<I2>&) const; 26 bool operator()(std::iter_value_t<I1>&, std::iter_value_t<I2>&) const; 27 bool operator()(std::iter_value_t<I2>&, std::iter_value_t<I1>&) const; 29 bool operator()(std::iter_value_t<I1>&, std::iter_reference_t<I2>) const; 30 bool operator()(std::iter_reference_t<I2>, std::iter_value_t<I1>&) const; 31 bool operator()(std::iter_reference_t<I2>, std::iter_reference_t<I2>) const; 33 bool operator()(std::iter_reference_t<I1>, std::iter_value_t<I2>&) const; 34 bool operator()(std::iter_value_t<I2>&, std::iter_reference_t<I1>) const; 37 bool operator()(std::iter_reference_t<I1>, std::iter_reference_t<I2>) const; [all …]
|
| H A D | indirect_strict_weak_order.compile.pass.cpp | 22 template <class I1, class I2> 25 bool operator()(std::iter_value_t<I2>&, std::iter_value_t<I2>&) const; 26 bool operator()(std::iter_value_t<I1>&, std::iter_value_t<I2>&) const; 27 bool operator()(std::iter_value_t<I2>&, std::iter_value_t<I1>&) const; 29 bool operator()(std::iter_value_t<I1>&, std::iter_reference_t<I2>) const; 30 bool operator()(std::iter_reference_t<I2>, std::iter_value_t<I1>&) const; 31 bool operator()(std::iter_reference_t<I2>, std::iter_reference_t<I2>) const; 33 bool operator()(std::iter_reference_t<I1>, std::iter_value_t<I2>&) const; 34 bool operator()(std::iter_value_t<I2>&, std::iter_reference_t<I1>) const; 37 bool operator()(std::iter_reference_t<I1>, std::iter_reference_t<I2>) const; [all …]
|
| H A D | indirect_binary_predicate.compile.pass.cpp | 22 template <class I1, class I2> 24 bool operator()(std::iter_value_t<I1>&, std::iter_value_t<I2>&) const; 25 bool operator()(std::iter_value_t<I1>&, std::iter_reference_t<I2>) const; 26 bool operator()(std::iter_reference_t<I1>, std::iter_value_t<I2>&) const; 27 bool operator()(std::iter_reference_t<I1>, std::iter_reference_t<I2>) const; 28 bool operator()(std::iter_common_reference_t<I1>, std::iter_common_reference_t<I2>) const;
|
| /llvm-project-15.0.7/libcxx/test/std/iterators/stream.iterators/istreambuf.iterator/ |
| H A D | types.pass.cpp | 63 typedef std::istreambuf_iterator<wchar_t> I2; in main() typedef 66 static_assert((std::is_base_of<iterator_base, I2>::value), ""); in main() 69 static_assert((std::is_same<I2::value_type, wchar_t>::value), ""); in main() 71 LIBCPP_STATIC_ASSERT((std::is_same<I2::pointer, wchar_t*>::value), ""); in main() 72 static_assert((std::is_same<I2::reference, wchar_t>::value), ""); in main() 73 static_assert((std::is_same<I2::char_type, wchar_t>::value), ""); in main() 75 static_assert((std::is_same<I2::int_type, I2::traits_type::int_type>::value), ""); in main() 77 static_assert((std::is_same<I2::istream_type, std::wistream>::value), ""); in main() 78 static_assert((std::is_nothrow_default_constructible<I2>::value), "" ); in main() 79 static_assert((std::is_trivially_copy_constructible<I2>::value), "" ); in main() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/iterators/iterator.requirements/alg.req.mergeable/ |
| H A D | mergeable.subsumption.compile.pass.cpp | 19 template <class I1, class I2, class O> 20 void test_subsumption() requires std::input_iterator<I1> && std::input_iterator<I2>; 22 template <class I1, class I2, class O> 25 template <class I1, class I2, class O> 26 void test_subsumption() requires std::indirectly_copyable<I1, O> && std::indirectly_copyable<I2, O>; 28 template <class I1, class I2, class O> 29 void test_subsumption() requires std::indirect_strict_weak_order<I1, I2>; 31 template <class I1, class I2, class O> 32 constexpr bool test_subsumption() requires std::mergeable<I1, I2, O> { in test_subsumption()
|
| /llvm-project-15.0.7/libcxx/test/std/iterators/stream.iterators/istream.iterator/ |
| H A D | types.pass.cpp | 73 static_assert((std::is_base_of<iterator_base, I2>::value), ""); in main() 75 static_assert((std::is_same<I2::iterator_category, std::input_iterator_tag>::value), ""); in main() 76 static_assert((std::is_same<I2::value_type, unsigned>::value), ""); in main() 77 static_assert((std::is_same<I2::difference_type, std::ptrdiff_t>::value), ""); in main() 78 static_assert((std::is_same<I2::pointer, const unsigned*>::value), ""); in main() 79 static_assert((std::is_same<I2::reference, const unsigned&>::value), ""); in main() 80 static_assert((std::is_same<I2::char_type, wchar_t>::value), ""); in main() 81 static_assert((std::is_same<I2::traits_type, std::char_traits<wchar_t> >::value), ""); in main() 82 static_assert((std::is_same<I2::istream_type, std::wistream>::value), ""); in main() 83 static_assert( std::is_trivially_copy_constructible<I2>::value, ""); in main() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/iterators/stream.iterators/ostreambuf.iterator/ |
| H A D | types.pass.cpp | 61 typedef std::ostreambuf_iterator<wchar_t> I2; in main() typedef 64 static_assert((std::is_base_of<iterator_base, I2>::value), ""); in main() 67 static_assert((std::is_same<I2::value_type, void>::value), ""); in main() 69 static_assert((std::is_same<I2::difference_type, void>::value), ""); in main() 71 static_assert((std::is_same<I2::difference_type, std::ptrdiff_t>::value), ""); in main() 73 static_assert((std::is_same<I2::pointer, void>::value), ""); in main() 74 static_assert((std::is_same<I2::reference, void>::value), ""); in main() 75 static_assert((std::is_same<I2::char_type, wchar_t>::value), ""); in main() 76 static_assert((std::is_same<I2::traits_type, std::char_traits<wchar_t> >::value), ""); in main() 77 static_assert((std::is_same<I2::streambuf_type, std::wstreambuf>::value), ""); in main() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/iterators/stream.iterators/ostream.iterator/ |
| H A D | types.pass.cpp | 59 typedef std::ostream_iterator<unsigned, wchar_t> I2; in main() typedef 62 static_assert((std::is_base_of<iterator_base, I2>::value), ""); in main() 64 static_assert((std::is_same<I2::iterator_category, std::output_iterator_tag>::value), ""); in main() 65 static_assert((std::is_same<I2::value_type, void>::value), ""); in main() 67 static_assert((std::is_same<I2::difference_type, void>::value), ""); in main() 69 static_assert((std::is_same<I2::difference_type, std::ptrdiff_t>::value), ""); in main() 71 static_assert((std::is_same<I2::pointer, void>::value), ""); in main() 72 static_assert((std::is_same<I2::reference, void>::value), ""); in main() 73 static_assert((std::is_same<I2::char_type, wchar_t>::value), ""); in main() 74 static_assert((std::is_same<I2::traits_type, std::char_traits<wchar_t> >::value), ""); in main() [all …]
|
| /llvm-project-15.0.7/clang/test/ASTMerge/category/Inputs/ |
| H A D | category1.m | 19 @interface I2 interface 23 @interface I2 () interface in int 28 @interface I2 (Cat3) interface in Cat3 31 @implementation I2 (Cat3) implementation in Cat3 35 @interface I2 (Cat4) interface in Cat4 38 @implementation I2 (Cat4) implementation in Cat4 42 @interface I2 (Cat6) interface in Cat6 45 @implementation I2 (Cat6) implementation in Cat6
|
| H A D | category2.m | 21 @interface I2 interface 25 @interface I2 () interface in float 30 @interface I2 (Cat3) interface in Cat3 33 @implementation I2 (Cat3) implementation in Cat3 37 @interface I2 (Cat5) interface in Cat5 40 @implementation I2 (Cat5) implementation in Cat5 44 @interface I2 (Cat6) interface in Cat6 47 @implementation I2 (Cat6) implementation in Cat6
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | ashr-or-mul-abs.ll | 10 ; CHECK-NEXT: ret i32 [[I2]] 21 ; CHECK-NEXT: ret i32 [[I2]] 33 ; CHECK-NEXT: ret i32 [[I2]] 46 ; CHECK-NEXT: ret <4 x i32> [[I2]] 57 ; CHECK-NEXT: ret <4 x i32> [[I2]] 68 ; CHECK-NEXT: ret <4 x i32> [[I2]] 82 ; CHECK-NEXT: [[I2:%.*]] = mul nsw i32 [[I1]], [[X]] 83 ; CHECK-NEXT: ret i32 [[I2]] 95 ; CHECK-NEXT: [[I2:%.*]] = mul nsw i32 [[I1]], [[X]] 96 ; CHECK-NEXT: ret i32 [[I2]] [all …]
|
| H A D | aggregate-reconstruction.ll | 43 ; CHECK-NEXT: [[I2:%.*]] = extractvalue [3 x i32] [[SRCAGG]], 2 46 ; CHECK-NEXT: [[I5:%.*]] = insertvalue [3 x i32] [[I4]], i32 [[I2]], 2 92 ; CHECK-NEXT: [[I2:%.*]] = insertvalue { i32, i32 } undef, i32 [[I0]], 0 108 ; CHECK-NEXT: ret { i32, i32 } [[I2]] 142 ; CHECK-NEXT: [[I2:%.*]] = insertvalue { i32, i32 } undef, i32 [[I0]], 1 157 ; CHECK-NEXT: [[I2:%.*]] = insertvalue { i32, i32 } undef, i32 [[I0]], 0 173 ; CHECK-NEXT: [[I2:%.*]] = insertvalue { i32, i32 } undef, i32 [[I0]], 0 174 ; CHECK-NEXT: ret { i32, i32 } [[I2]] 187 ; CHECK-NEXT: [[I2:%.*]] = insertvalue { i32, i32 } undef, i32 [[I0]], 0 188 ; CHECK-NEXT: [[I3:%.*]] = insertvalue { i32, i32 } [[I2]], i32 undef, 1 [all …]
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Instruction.cpp | 437 assert(I1->getOpcode() == I2->getOpcode() && in haveSameSpecialState() 442 (AI->getAlign() == cast<AllocaInst>(I2)->getAlign() || in haveSameSpecialState() 445 return LI->isVolatile() == cast<LoadInst>(I2)->isVolatile() && in haveSameSpecialState() 446 (LI->getAlign() == cast<LoadInst>(I2)->getAlign() || in haveSameSpecialState() 451 return SI->isVolatile() == cast<StoreInst>(I2)->isVolatile() && in haveSameSpecialState() 452 (SI->getAlign() == cast<StoreInst>(I2)->getAlign() || in haveSameSpecialState() 457 return CI->getPredicate() == cast<CmpInst>(I2)->getPredicate(); in haveSameSpecialState() 459 return CI->isTailCall() == cast<CallInst>(I2)->isTailCall() && in haveSameSpecialState() 486 cast<AtomicCmpXchgInst>(I2)->getSyncScopeID(); in haveSameSpecialState() 494 cast<ShuffleVectorInst>(I2)->getShuffleMask(); in haveSameSpecialState() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonCopyToCombine.cpp | 263 Register I2UseReg = UseReg(I2.getOperand(1)); in isSafeToMoveTogether() 286 if (I2.killsRegister(I2UseReg)) in isSafeToMoveTogether() 316 removeKillInfo(I2, KilledOperand); in isSafeToMoveTogether() 505 if (I2) { in runOnMachineFunction() 523 while (I2 != I1.getParent()->end() && I2->isDebugInstr()) in findPairable() 524 ++I2; in findPairable() 529 ++I2) { in findPairable() 531 if (I2->modifiesRegister(I1DestReg, TRI)) in findPairable() 560 return &*I2; in findPairable() 573 if (MI == I2.getIterator()) in combine() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | BasicBlockTest.cpp | 200 I2 = Builder.CreateCall(Nop); in SetUp() 210 Instruction *I2 = nullptr; member in llvm::__anonefab3c730111::InstrOrderInvalidationTest 217 EXPECT_TRUE(I1->comesBefore(I2)); in TEST_F() 219 EXPECT_TRUE(I2->comesBefore(I3)); in TEST_F() 230 EXPECT_TRUE(I2->comesBefore(I3)); in TEST_F() 242 I2->moveBefore(I1); in TEST_F() 258 I2->removeFromParent(); in TEST_F() 259 I2->deleteValue(); in TEST_F() 260 I2 = nullptr; in TEST_F() 273 I2->eraseFromParent(); in TEST_F() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | UnrollAnalyzerTest.cpp | 113 auto I2 = SimplifiedValuesVector[0].find(Y2); in TEST() local 114 EXPECT_TRUE(I2 != SimplifiedValuesVector[0].end()); in TEST() 115 EXPECT_FALSE(cast<ConstantInt>((*I2).second)->getZExtValue()); in TEST() 124 I2 = SimplifiedValuesVector[TripCount - 1].find(Y2); in TEST() 126 EXPECT_TRUE(cast<ConstantInt>((*I2).second)->getZExtValue()); in TEST() 177 auto I2 = SimplifiedValuesVector[0].find(Y2); in TEST() local 178 EXPECT_TRUE(I2 == SimplifiedValuesVector[0].end()); in TEST() 220 auto I2 = SimplifiedValuesVector[5].find(Y2); in TEST() local 221 EXPECT_TRUE(I2 != SimplifiedValuesVector[5].end()); in TEST() 315 auto I2 = SimplifiedValuesVector[5].find(Y2); in TEST() local [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | APSInt.h | 298 return !compareValues(I1, I2); in isSameValue() 303 if (I1.getBitWidth() == I2.getBitWidth() && I1.isSigned() == I2.isSigned()) in compareValues() 304 return I1.IsUnsigned ? I1.compare(I2) : I1.compareSigned(I2); in compareValues() 307 if (I1.getBitWidth() > I2.getBitWidth()) in compareValues() 308 return compareValues(I1, I2.extend(I1.getBitWidth())); in compareValues() 309 if (I2.getBitWidth() > I1.getBitWidth()) in compareValues() 310 return compareValues(I1.extend(I2.getBitWidth()), I2); in compareValues() 315 assert(!I2.isSigned() && "Expected signed mismatch"); in compareValues() 319 assert(I2.isSigned() && "Expected signed mismatch"); in compareValues() 320 if (I2.isNegative()) in compareValues() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | AliasAnalysisEvaluator.cpp | 137 for (auto I2 = Pointers.begin(); I2 != I1; ++I2) { in runInternal() local 139 LocationSize::precise(DL.getTypeStoreSize(I2->second)); in runInternal() 140 AliasResult AR = AA.alias(I1->first, Size1, I2->first, Size2); in runInternal() 143 PrintResults(AR, PrintNoAlias, *I1, *I2, F.getParent()); in runInternal() 147 PrintResults(AR, PrintMayAlias, *I1, *I2, F.getParent()); in runInternal() 151 PrintResults(AR, PrintPartialAlias, *I1, *I2, F.getParent()); in runInternal() 155 PrintResults(AR, PrintMustAlias, *I1, *I2, F.getParent()); in runInternal() 192 for (SetVector<Value *>::iterator I2 = Stores.begin(); I2 != I1; ++I2) { in runInternal() local 194 MemoryLocation::get(cast<StoreInst>(*I2))); in runInternal() 197 PrintLoadStoreResults(AR, PrintNoAlias, *I1, *I2, F.getParent()); in runInternal() [all …]
|
| H A D | PostDominators.cpp | 55 const Instruction *I2) const { in dominates() 56 assert(I1 && I2 && "Expecting valid I1 and I2"); in dominates() 59 const BasicBlock *BB2 = I2->getParent(); in dominates() 65 if (isa<PHINode>(I1) && isa<PHINode>(I2)) in dominates() 70 for (; &*I != I1 && &*I != I2; ++I) in dominates() 73 return &*I == I2; in dominates()
|
| /llvm-project-15.0.7/llvm/test/Transforms/Scalarizer/ |
| H A D | vector-gep.ll | 24 ;CHECK: %[[I2:.i[0-9]*]] = extractelement <4 x i16*> %0, i32 2 25 ;CHECK: getelementptr i16, i16* %[[I2]], i16 1 43 ;CHECK: %[[I2:.i[0-9]*]] = extractelement <4 x i16*> %0, i32 2 52 ;CHECK: %.splat[[I2]] = extractelement <4 x i16> %.splat, i32 2 53 ;CHECK: getelementptr i16, i16* %[[I2]], i16 %.splat[[I2]] 77 ;CHECK: %.splat[[I2:.i[0-9]*]] = extractelement <4 x i16*> %.splat, i32 2 78 ;CHECK: getelementptr i16, i16* %.splat[[I2]], i16 2 99 ;CHECK: %.splat[[I2:.i[0-9]*]] = extractelement <4 x i16*> %.splat, i32 2 100 ;CHECK: getelementptr i16, i16* %.splat[[I2]], i16 2 118 ;CHECK: %[[I2:.i[0-9]*]] = extractelement <4 x i16*> %0, i32 2 [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/iterators/iterator.requirements/alg.req.ind.swap/ |
| H A D | indirectly_swappable.subsumption.compile.pass.cpp | 18 template<class I1, class I2> 19 requires std::indirectly_readable<I1> && std::indirectly_readable<I2> 24 template<class I1, class I2> 25 requires std::indirectly_swappable<I1, I2>
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | IdenticalExprChecker.cpp | 138 while (const IfStmt *I2 = dyn_cast_or_null<IfStmt>(Else)) { in VisitIfStmt() local 139 const Expr *Cond2 = I2->getCond(); in VisitIfStmt() 148 Else = I2->getElse(); in VisitIfStmt() 333 Expr::const_child_iterator I2 = Expr2->child_begin(); in isIdenticalStmt() local 335 if (!*I1 || !*I2 || !isIdenticalStmt(Ctx, *I1, *I2, IgnoreSideEffects)) in isIdenticalStmt() 338 ++I2; in isIdenticalStmt() 344 if (I2 != Expr2->child_end()) in isIdenticalStmt() 445 ++I2; in isIdenticalStmt() 471 llvm::APInt I2 = IntLit2->getValue(); in isIdenticalStmt() local 472 if (I1.getBitWidth() != I2.getBitWidth()) in isIdenticalStmt() [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/Reassociate/ |
| H A D | load-combine-like-or.ll | 8 ; CHECK-NEXT: [[I2:%.*]] = load i8, i8* [[I]], align 1 9 ; CHECK-NEXT: [[I3:%.*]] = zext i8 [[I2]] to i16 32 ; CHECK-NEXT: [[I2:%.*]] = zext i8 [[I]] to i16 33 ; CHECK-NEXT: [[I3:%.*]] = shl i16 [[I2]], 8 57 ; CHECK-NEXT: [[I3:%.*]] = zext i8 [[I2]] to i16 80 ; CHECK-NEXT: [[I2:%.*]] = zext i8 [[I]] to i16 81 ; CHECK-NEXT: [[I3:%.*]] = shl i16 [[I2]], 8 101 ; CHECK-NEXT: [[I2:%.*]] = zext i8 [[I]] to i16 102 ; CHECK-NEXT: [[I3:%.*]] = shl i16 [[I2]], 8 118 ; CHECK-NEXT: [[I2:%.*]] = zext i8 [[I]] to i16 [all …]
|
| /llvm-project-15.0.7/clang/test/CodeGenObjC/ |
| H A D | class-type.m | 11 @class I2; 14 I2 *_imageBrowser; 21 @interface I2 : I0 interface 24 @implementation I2 implementation
|
| /llvm-project-15.0.7/polly/test/ScopInfo/ |
| H A D | invariant_load_zext_parameter-2.ll | 6 ; void f(int *I0, int *I1, int *I2, int *V, long p0, long p1, long p2, long p3) { 11 ; long m0 = p0 * (I2[0]); 12 ; long m1 = p1 * (I2[1]); 13 ; long m2 = p2 * (I2[2]); 14 ; long m3 = p3 * (I2[3]); 33 define void @f(i32* %I0, i32* %I1, i32* %I2, i32* %V, i64 %p0, i64 %p1, i64 %p2, i64 %p3) { 55 %tmp5 = load i32, i32* %I2, align 4 58 %arrayidx7 = getelementptr inbounds i32, i32* %I2, i64 1 62 %arrayidx10 = getelementptr inbounds i32, i32* %I2, i64 2 66 %arrayidx13 = getelementptr inbounds i32, i32* %I2, i64 3
|