/llvm-project/clang/test/Analysis/ |
H A D | track-control-dependency-conditions.cpp | 324 int getInt(); 327 int flag = getInt(); in f() 339 int getInt(); 356 int getInt(); 380 int getInt(); 383 …flag = getInt(); // tracking-note-re{{{{^}}Value assigned to 'flag', which participates in a condi… in foo() 436 int getInt(); 444 …flag = getInt(); // tracking-note-re{{{{^}}Value assigned to 'flag', which participates in a condi… in f() 459 int getInt(); 464 …flag = getInt(); // tracking-note-re{{{{^}}Value assigned to 'flag', which participates in a condi… in bar() [all …]
|
H A D | dead-stores.c | 578 int getInt(void); 581 int x0 = (getInt(), 0); // non-nested-warning {{unused variable 'x0'}} in testBOComma() 582 int x1 = (getInt(), getInt()); in testBOComma() 586 int x2 = (getInt(), getInt(), getInt()); in testBOComma() 591 x3 = (getInt(), getInt(), 0); in testBOComma() 594 int x4 = (getInt(), (getInt(), 0)); in testBOComma() 598 int x5 = (getInt(), (y = 0)); in testBOComma() 602 int x6 = (getInt(), (y = getInt())); in testBOComma() 607 int x7 = 0, x8 = getInt(); in testBOComma() 612 int x9 = getInt(), x10 = 0; in testBOComma() [all …]
|
/llvm-project/llvm/unittests/ADT/ |
H A D | PointerIntPairTest.cpp | 24 EXPECT_EQ(1U, Pair.getInt()); in TEST() 28 EXPECT_EQ(2U, Pair.getInt()); in TEST() 32 EXPECT_EQ(2U, Pair.getInt()); in TEST() 36 EXPECT_EQ(3U, Pair.getInt()); in TEST() 51 EXPECT_EQ(E::Case1, Pair2.getInt()); in TEST() 55 EXPECT_EQ(E::Case2, Pair2.getInt()); in TEST() 59 EXPECT_EQ(E::Case2, Pair2.getInt()); in TEST() 63 EXPECT_EQ(E::Case3, Pair2.getInt()); in TEST() 67 EXPECT_EQ(Pair2.getInt(), Int2); in TEST() 76 EXPECT_EQ(0U, Pair.getInt()); in TEST() [all …]
|
/llvm-project/llvm/unittests/BinaryFormat/ |
H A D | MsgPackDocumentTest.cpp | 30 ASSERT_EQ(Doc.getRoot().getInt(), 0); in TEST() 53 ASSERT_EQ(SI.getInt(), 1); in TEST() 64 DestNode->getInt() | SrcNode.getInt()); in TEST() 75 ASSERT_EQ(SI.getInt(), 43); in TEST() 89 ASSERT_EQ(SI.getInt(), 1); in TEST() 105 ASSERT_EQ(SI.getInt(), 1); in TEST() 110 ASSERT_EQ(SI.getInt(), 42); in TEST() 127 ASSERT_EQ(FooS.getInt(), 1); in TEST() 130 ASSERT_EQ(BarS.getInt(), 2); in TEST() 145 ASSERT_EQ(FooS.getInt(), 1); in TEST() [all …]
|
/llvm-project/clang/test/Analysis/inlining/ |
H A D | InlineObjCInstanceMethod.m | 13 - (int)getInt; method 17 - (int)getInt { method 36 int y = [self getInt]; 43 return 5/[a getInt]; // expected-warning {{Division by zero}} 49 return 5/[a getInt]; // expected-warning {{Division by zero}} 54 return 5/[a getInt]; // expected-warning {{Division by zero}} 59 return 5/[a getInt]; // no warning 102 (void)[arr[i] getInt]; 107 - (id)getInt; method 112 - (id)getInt { // expected-warning {{types are incompatible}} method [all …]
|
H A D | InlineObjCClassMethod.m | 32 + (int)getInt; class 35 + (int)getInt; class 39 int y = [MyClass getInt]; 42 + (int)getInt { class 49 + (int)getInt; class 55 int y = [MyClassDIP getInt]; 60 + (int)getInt { class 69 + (int)getInt; class in MyCat 72 int y = [AAA getInt]; 78 + (int)getInt { class in MyCat [all …]
|
H A D | test_objc_inlining_option.m | 21 + (int)getInt; class 24 + (int)getInt; class 28 int y = [MyClass getInt]; 31 + (int)getInt { class
|
/llvm-project/mlir/lib/Dialect/MemRef/Transforms/ |
H A D | ComposeSubView.cpp | 66 sourceStrideValue = cast<IntegerAttr>(sourceStrideAttr).getInt(); in matchAndRewrite() 68 cast<IntegerAttr>(opStrideAttr).getInt() * sourceStrideValue)); in matchAndRewrite() 99 cast<IntegerAttr>(opOffsetAttr).getInt() * in matchAndRewrite() 100 cast<IntegerAttr>(sourceStrideAttr).getInt() + in matchAndRewrite() 101 cast<IntegerAttr>(sourceOffsetAttr).getInt())); in matchAndRewrite() 109 rewriter.getAffineConstantExpr(cast<IntegerAttr>(attr).getInt()); in matchAndRewrite() 118 expr = expr + cast<IntegerAttr>(attr).getInt() * in matchAndRewrite() 119 cast<IntegerAttr>(sourceStrideAttr).getInt(); in matchAndRewrite() 123 cast<IntegerAttr>(sourceStrideAttr).getInt(); in matchAndRewrite()
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
H A D | use-after-move.cpp | 153 int getInt() const; 640 if (a.getInt() > 0) { in differentBranches() 666 a.getInt() > 0 ? a.getInt() : A(std::move(a)).getInt(); in differentBranches() 1088 // passByRvalueReference(). At this point, a.getInt() is guaranteed to have in sequencingOfMoveAndUse() 1092 passByRvalueReference(a.getInt(), std::move(a)); in sequencingOfMoveAndUse() 1097 // defined, the move may happen before the call to a.getInt(). in sequencingOfMoveAndUse() 1100 // a.getInt() and std::move(a), independent of the order in which the in sequencingOfMoveAndUse() 1104 passByValue(a.getInt(), st in sequencingOfMoveAndUse() [all...] |
/llvm-project/clang/test/Analysis/diagnostics/ |
H A D | track_subexpressions.cpp | 34 int getInt(); 43 int x = getInt(); in testArrayIndexTracking() 66 int getInt(); 75 int x = getInt(); in testArrayIndexTracking()
|
/llvm-project/mlir/unittests/Dialect/Index/ |
H A D | IndexOpsFoldersTest.cpp | 63 EXPECT_EQ(value.getInt(), 20480u); in TEST_F() 68 EXPECT_EQ(value.getInt(), 2000u); in TEST_F() 79 EXPECT_EQ(value.getInt(), 65536); in TEST_F() 97 EXPECT_EQ(value.getInt(), -2000); in TEST_F() 103 EXPECT_EQ(value.getInt(), -65536); in TEST_F()
|
/llvm-project/lldb/test/API/lang/objc/objc-dyn-sbtype/ |
H A D | main.m | 6 -(int) getInt; method 14 - (int) getInt { method 25 -(int) getInt; method 38 - (int) getInt { method
|
/llvm-project/mlir/lib/Dialect/Vector/Transforms/ |
H A D | VectorInsertExtractStridedSliceRewritePatterns.cpp | 115 cast<IntegerAttr>(op.getOffsets().getValue().front()).getInt(); in initialize() 118 cast<IntegerAttr>(op.getStrides().getValue().front()).getInt(); in matchAndRewrite() 191 cast<IntegerAttr>(op.getOffsets().getValue().front()).getInt(); in matchAndRewrite() 192 int64_t size = cast<IntegerAttr>(op.getSizes().getValue().front()).getInt(); in matchAndRewrite() 194 cast<IntegerAttr>(op.getStrides().getValue().front()).getInt(); in matchAndRewrite() 235 cast<IntegerAttr>(op.getOffsets().getValue().front()).getInt(); 236 int64_t size = cast<IntegerAttr>(op.getSizes().getValue().front()).getInt(); 238 cast<IntegerAttr>(op.getStrides().getValue().front()).getInt(); 280 cast<IntegerAttr>(op.getOffsets().getValue().front()).getInt(); 281 int64_t size = cast<IntegerAttr>(op.getSizes().getValue().front()).getInt(); [all...] |
/llvm-project/clang/include/clang/Lex/ |
H A D | ModuleLoader.h | 57 return Storage.getInt() == Normal && Storage.getPointer(); 64 bool isNormal() const { return Storage.getInt() == Normal; } in isNormal() 70 bool isMissingExpected() const { return Storage.getInt() == MissingExpected; } in isMissingExpected() 74 bool isConfigMismatch() const { return Storage.getInt() == ConfigMismatch; } in isConfigMismatch()
|
/llvm-project/clang/include/clang/AST/ |
H A D | LambdaCapture.h | 84 (DeclAndBits.getInt() & Capture_This); in capturesThis() 96 !(DeclAndBits.getInt() & Capture_This); in capturesVLAType() 112 return DeclAndBits.getInt() & Capture_Implicit; in isImplicit()
|
H A D | GlobalDecl.h | 97 CanonGD.Value.setInt(Value.getInt()); in getCanonicalDecl() 107 return static_cast<CXXCtorType>(Value.getInt()); in getCtorType() 112 return static_cast<CXXDtorType>(Value.getInt()); in getDtorType() 119 return static_cast<DynamicInitKind>(Value.getInt()); in getDynamicInitKind() 140 return static_cast<KernelReferenceKind>(Value.getInt()); in getKernelReferenceKind()
|
/llvm-project/mlir/test/mlir-tblgen/ |
H A D | predicate.td | 57 // CHECK: (::llvm::cast<::mlir::IntegerAttr>(tblgen_attr).getInt() >= 10) 65 // CHECK: (::llvm::cast<::mlir::IntegerAttr>(tblgen_attr).getInt() <= 10) 81 …llvm::cast<::mlir::IntegerAttr>(::llvm::cast<::mlir::ArrayAttr>(tblgen_attr)[0]).getInt() == 8))))) 89 …llvm::cast<::mlir::IntegerAttr>(::llvm::cast<::mlir::ArrayAttr>(tblgen_attr)[0]).getInt() >= 8))))) 97 …llvm::cast<::mlir::IntegerAttr>(::llvm::cast<::mlir::ArrayAttr>(tblgen_attr)[0]).getInt() <= 8))))) 105 …tr>(tblgen_attr)[0]).getInt() >= 4)) && ((::llvm::cast<::mlir::IntegerAttr>(::llvm::cast<::mlir::A…
|
/llvm-project/llvm/test/CodeGen/Generic/ |
H A D | badCallArgLRLLVM.ll | 12 declare i32 @getInt(i32) 19 %reg222 = call i32 @getInt( i32 %reg218 ) ; <i32> [#uses=1] 25 %reg218 = call i32 @getInt( i32 %argc ) ; <i32> [#uses=1]
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize/ |
H A D | use-emplace-ignore-implicit-constructors.cpp | 45 int getInt() { return 42; } in getInt() function 78 v.push_back(Something(Different.getInt(), 42)); in test_Something() 82 v.push_back(Different.getInt()); in test_Something()
|
/llvm-project/clang/test/Sema/ |
H A D | warn-logical-not-compare.c | 4 int getInt(void); 96 ret = !getInt() == i1; in test1() 108 ret = (!getInt()) == i1; in test1()
|
/llvm-project/clang/test/SemaCXX/ |
H A D | coro-lifetimebound.cpp | 36 int getInt() { return 0; } in getInt() function 41 int z = co_await foo_coro(getInt()); in bar_coro() 43 …auto unsafe2 = foo_coro(getInt()); // expected-warning {{temporary whose address is used as value … in bar_coro() 82 …auto unsafe2 = coro_lambda(getInt()); // expected-warning {{temporary whose address is used as val… in lambdas()
|
H A D | warn-logical-not-compare.cpp | 5 int getInt(); 104 ret = !getInt() == i1; in test1() 116 ret = (!getInt()) == i1; in test1()
|
/llvm-project/clang/test/Modules/ |
H A D | explicitly-specialized-template.cpp | 25 int getInt(); 39 return x.getInt(); in print()
|
H A D | redundant-template-default-arg.cpp | 44 consteval int getInt() { in getInt() function 47 template <int T = getInt()>
|
/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
H A D | SuspiciousMemsetUsageCheck.cpp | 86 llvm::APSInt NumValue = EVResult.Val.getInt(); in check() 105 Value2.Val.getInt() != 0) in check() 114 llvm::APSInt Value1 = EVResult.Val.getInt(); in check()
|