Home
last modified time | relevance | path

Searched refs:getInt (Results 1 – 25 of 118) sorted by relevance

12345

/minix3/external/bsd/llvm/dist/clang/test/Analysis/inlining/
H A DInlineObjCClassMethod.m24 + (int)getInt; class
27 + (int)getInt; class
31 int y = [MyClass getInt];
34 + (int)getInt { class
41 + (int)getInt; class
47 int y = [MyClassDIP getInt];
52 + (int)getInt { class
61 + (int)getInt; class in MyCat
64 int y = [AAA getInt];
70 + (int)getInt { class in MyCat
[all …]
H A DInlineObjCInstanceMethod.m13 - (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 Dtest_objc_inlining_option.m21 + (int)getInt; class
24 + (int)getInt; class
28 int y = [MyClass getInt];
31 + (int)getInt { class
/minix3/external/bsd/llvm/dist/clang/test/Analysis/
H A Ddead-stores.c550 int getInt();
553 int x0 = (getInt(), 0); // expected-warning{{unused variable 'x0'}} in testBOComma()
554 …int x1 = (getInt(), getInt()); // expected-warning {{Value stored to 'x1' during its initializatio… in testBOComma()
555 …int x2 = (getInt(), getInt(), getInt()); //expected-warning{{Value stored to 'x2' during its initi… in testBOComma()
557 x3 = (getInt(), getInt(), 0); // expected-warning{{Value stored to 'x3' is never read}} in testBOComma()
558 int x4 = (getInt(), (getInt(), 0)); // expected-warning{{unused variable 'x4'}} in testBOComma()
560 int x5 = (getInt(), (y = 0)); // expected-warning{{unused variable 'x5'}} in testBOComma()
561 …int x6 = (getInt(), (y = getInt())); //expected-warning {{Value stored to 'x6' during its initiali… in testBOComma()
562 …int x7 = 0, x8 = getInt(); //expected-warning {{Value stored to 'x8' during its initialization is … in testBOComma()
563 …int x9 = getInt(), x10 = 0; //expected-warning {{Value stored to 'x9' during its initialization is… in testBOComma()
[all …]
/minix3/external/bsd/llvm/dist/llvm/unittests/ADT/
H A DPointerIntPairTest.cpp24 EXPECT_EQ(1U, Pair.getInt()); in TEST_F()
28 EXPECT_EQ(2U, Pair.getInt()); in TEST_F()
32 EXPECT_EQ(2U, Pair.getInt()); in TEST_F()
36 EXPECT_EQ(3U, Pair.getInt()); in TEST_F()
42 EXPECT_EQ(0U, Pair.getInt()); in TEST_F()
65 EXPECT_FALSE(pair.getInt()); in TEST_F()
69 EXPECT_TRUE(pair.getInt()); in TEST_F()
/minix3/external/bsd/llvm/dist/clang/include/clang/AST/
H A DLambdaCapture.h73 !(DeclAndBits.getInt() & Capture_ByCopy); in capturesThis()
85 (DeclAndBits.getInt() & Capture_ByCopy); in capturesVLAType()
105 bool isImplicit() const { return DeclAndBits.getInt() & Capture_Implicit; } in isImplicit()
H A DGlobalDecl.h55 CanonGD.Value.setInt(Value.getInt()); in getCanonicalDecl()
64 return static_cast<CXXCtorType>(Value.getInt()); in getCtorType()
69 return static_cast<CXXDtorType>(Value.getInt()); in getDtorType()
H A DNestedNameSpecifier.h170 if (Prefix.getInt() == StoredIdentifier) in getAsIdentifier()
190 if (Prefix.getInt() == StoredTypeSpec || in getAsType()
191 Prefix.getInt() == StoredTypeSpecWithTemplate) in getAsType()
H A DTemplateName.h410 bool hasTemplateKeyword() const { return Qualifier.getInt(); } in hasTemplateKeyword()
499 bool isIdentifier() const { return !Qualifier.getInt(); } in isIdentifier()
509 bool isOverloadedOperator() const { return Qualifier.getInt(); } in isOverloadedOperator()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/Analysis/
H A DMemoryDependenceAnalysis.h128 bool isClobber() const { return Value.getInt() == Clobber; } in isClobber()
132 bool isDef() const { return Value.getInt() == Def; } in isDef()
138 return Value.getInt() == Other in isNonLocal()
145 return Value.getInt() == Other in isNonFuncLocal()
152 return Value.getInt() == Other in isUnknown()
159 if (Value.getInt() == Other) return nullptr; in getInst()
181 bool isDirty() const { return Value.getInt() == Invalid; } in isDirty()
H A DPtrUseVisitor.h62 bool isAborted() const { return AbortedInfo.getInt(); } in isAborted()
65 bool isEscaped() const { return EscapedInfo.getInt(); } in isEscaped()
220 IsOffsetKnown = ToVisit.UseAndIsOffsetKnown.getInt(); in visitPtr()
H A DRegionIterator.h61 assert(Node.getInt() == ItRgBegin && "Cannot advance region successor!"); in advanceRegionSucc()
68 bool isRegionMode() const { return Node.getInt() != ItBB; } in isRegionMode()
81 assert(Node.getInt() == ItRgBegin && "Cannot get the region successor!"); in getRegionSucc()
116 return Node.getInt() == x.Node.getInt();
/minix3/external/bsd/llvm/dist/llvm/test/CodeGen/Generic/
H A DbadCallArgLRLLVM.ll12 declare i32 @getInt(i32)
19 %reg222 = call i32 @getInt( i32 %reg218 ) ; <i32> [#uses=1]
25 %reg218 = call i32 @getInt( i32 %argc ) ; <i32> [#uses=1]
/minix3/external/bsd/llvm/dist/llvm/lib/IR/
H A DUse.cpp44 return ref->getInt() ? ref->getPointer() in getUser()
98 unsigned Tag = (Current++)->Prev.getInt(); in getImpliedUser()
108 unsigned Tag = Current->Prev.getInt(); in getImpliedUser()
H A DDataLayout.cpp208 static unsigned getInt(StringRef R) { in getInt() function
252 unsigned AddrSpace = Tok.empty() ? 0 : getInt(Tok); in parseSpecifier()
261 unsigned PointerMemSize = inBytes(getInt(Tok)); in parseSpecifier()
268 unsigned PointerABIAlign = inBytes(getInt(Tok)); in parseSpecifier()
274 PointerPrefAlign = inBytes(getInt(Tok)); in parseSpecifier()
295 unsigned Size = Tok.empty() ? 0 : getInt(Tok); in parseSpecifier()
306 unsigned ABIAlign = inBytes(getInt(Tok)); in parseSpecifier()
312 PrefAlign = inBytes(getInt(Tok)); in parseSpecifier()
321 unsigned Width = getInt(Tok); in parseSpecifier()
332 StackNaturalAlign = inBytes(getInt(Tok)); in parseSpecifier()
/minix3/external/bsd/llvm/dist/clang/test/SemaCXX/
H A Dwarn-logical-not-compare.cpp5 int getInt();
98 ret = !getInt() == i1; in test1()
109 ret = (!getInt()) == i1; in test1()
/minix3/external/bsd/llvm/dist/clang/include/clang/Sema/
H A DObjCMethodList.h37 unsigned getBits() const { return NextAndExtraBits.getInt(); } in getBits()
49 return MethodAndHasMoreThanOneDecl.getInt(); in hasMoreThanOneDecl()
H A DScopeInfo.h217 return Base.getInt(); in isExactProfile()
262 bool isUnsafe() const { return Rep.getInt(); } in isUnsafe()
414 return InitExprAndCaptureKind.getInt() == Cap_This; in isThisCapture()
417 return InitExprAndCaptureKind.getInt() != Cap_This && !isVLATypeCapture(); in isVariableCapture()
420 return InitExprAndCaptureKind.getInt() == Cap_ByCopy && in isCopyCapture()
424 return InitExprAndCaptureKind.getInt() == Cap_ByRef; in isReferenceCapture()
427 return InitExprAndCaptureKind.getInt() == Cap_Block; in isBlockCapture()
430 return InitExprAndCaptureKind.getInt() == Cap_ByCopy && in isVLATypeCapture()
433 bool isNested() const { return VarAndNested.getInt(); } in isNested()
/minix3/external/bsd/llvm/dist/clang/include/clang/Serialization/
H A DModule.h95 bool isOverridden() const { return Val.getInt() == Overridden; } in isOverridden()
96 bool isOutOfDate() const { return Val.getInt() == OutOfDate; } in isOutOfDate()
97 bool isNotFound() const { return Val.getInt() == NotFound; } in isNotFound()
/minix3/external/bsd/llvm/dist/clang/lib/AST/
H A DAPValue.cpp131 setInt(RHS.getInt()); in APValue()
226 return getInt().needsCleanup(); in needsCleanup()
277 OS << "Int: " << getInt(); in dump()
351 Out << (getInt().getBoolValue() ? "true" : "false"); in printPretty()
353 Out << getInt(); in printPretty()
560 return ((const LV*)(const void*)Data.buffer)->BaseAndIsOnePastTheEnd.getInt(); in isLValueOnePastTheEnd()
619 return MPD.MemberAndIsDerivedMember.getInt(); in isMemberPointerToDerivedMember()
H A DNestedNameSpecifier.cpp135 switch (Prefix.getInt()) { in getKind()
158 if (Prefix.getInt() == StoredDecl) in getAsNamespace()
166 if (Prefix.getInt() == StoredDecl) in getAsNamespaceAlias()
174 if (Prefix.getInt() == StoredDecl) in getAsRecordDecl()
/minix3/external/bsd/llvm/dist/clang/lib/Sema/
H A DScope.cpp124 if (NRVO.getInt()) in mergeNRVOIntoParent()
213 if (NRVO.getInt()) in dumpImpl()
/minix3/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCGValue.h46 bool isScalar() const { return V1.getInt() == Scalar; } in isScalar()
47 bool isComplex() const { return V1.getInt() == Complex; } in isComplex()
48 bool isAggregate() const { return V1.getInt() == Aggregate; } in isAggregate()
50 bool isVolatileQualified() const { return V2.getInt(); } in isVolatileQualified()
/minix3/external/bsd/llvm/dist/clang/include/clang/Lex/
H A DModuleLoader.h48 bool isMissingExpected() const { return Storage.getInt(); } in isMissingExpected()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp793 Constant *C = Builder->getInt(CI->getValue()-1); in FoldICmpAddOpCst()
1012 ConstantInt *ShiftedCmpRHS = Builder->getInt(Comp); in FoldICmpShrCst()
1033 Constant *Mask = Builder->getInt(Val); in FoldICmpShrCst()
1171 Builder->getInt(NewRHS)); in visitICmpInstWithInstAndIntCst()
1214 Builder->getInt(RHSV ^ SignBit)); in visitICmpInstWithInstAndIntCst()
1225 Builder->getInt(RHSV ^ NotSignBit)); in visitICmpInstWithInstAndIntCst()
1598 Constant *Mask = Builder->getInt(APInt::getLowBitsSet(TypeBits, in visitICmpInstWithInstAndIntCst()
1721 Builder->getInt(CR.getUpper())); in visitICmpInstWithInstAndIntCst()
1724 Builder->getInt(CR.getLower())); in visitICmpInstWithInstAndIntCst()
1729 Builder->getInt(CR.getUpper())); in visitICmpInstWithInstAndIntCst()
[all …]

12345