Home
last modified time | relevance | path

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

1234567

/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DModuleLoader.h57 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()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DLambdaCapture.h84 (DeclAndBits.getInt() & Capture_This); in capturesThis()
96 !(DeclAndBits.getInt() & Capture_This); in capturesVLAType()
112 return DeclAndBits.getInt() & Capture_Implicit; in isImplicit()
H A DGlobalDecl.h97 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()
H A DNestedNameSpecifier.h177 if (Prefix.getInt() == StoredIdentifier) in getAsIdentifier()
197 if (Prefix.getInt() == StoredTypeSpec || in getAsType()
198 Prefix.getInt() == StoredTypeSpecWithTemplate) in getAsType()
H A DTemplateName.h464 bool hasTemplateKeyword() const { return Qualifier.getInt(); } in hasTemplateKeyword()
548 bool isIdentifier() const { return !Qualifier.getInt(); } in isIdentifier()
558 bool isOverloadedOperator() const { return Qualifier.getInt(); } in isOverloadedOperator()
H A DVTTBuilder.h53 return BaseAndIsVirtual.getInt(); in isVirtual()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DObjCMethodList.h46 unsigned getBits() const { return NextAndExtraBits.getInt(); } in getBits()
58 return MethodAndHasMoreThanOneDecl.getInt(); in hasMoreThanOneDecl()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DRegionIterator.h76 assert(Node.getInt() == ItRgBegin && "Cannot advance region successor!"); in advanceRegionSucc()
83 bool isRegionMode() const { return Node.getInt() != ItBB; } in isRegionMode()
96 assert(Node.getInt() == ItRgBegin && "Cannot get the region successor!"); in getRegionSucc()
129 return Node.getInt() == x.Node.getInt();
H A DPtrUseVisitor.h67 bool isAborted() const { return AbortedInfo.getInt(); } in isAborted()
70 bool isEscaped() const { return EscapedInfo.getInt(); } in isEscaped()
229 IsOffsetKnown = ToVisit.UseAndIsOffsetKnown.getInt(); in visitPtr()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DPointerIntPair.h96 IntType getInt() const { return (IntType)Info::getInt(Value); } in getInt() function
195 static intptr_t getInt(intptr_t Value) { in getInt() function
275 return Pair.getInt();
H A Dilist_node_base.h44 bool isSentinel() const { return PrevAndSentinel.getInt(); } in isSentinel()
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DModuleFile.h112 bool isOverridden() const { return Val.getInt() == Overridden; } in isOverridden()
113 bool isOutOfDate() const { return Val.getInt() == OutOfDate; } in isOutOfDate()
114 bool isNotFound() const { return Val.getInt() == NotFound; } in isNotFound()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDataLayout.cpp247 template <typename IntTy> static Error getInt(StringRef R, IntTy &Result) { in getInt() function
258 if (Error Err = getInt<IntTy>(R, Result)) in getIntInBytes()
267 if (Error Err = getInt(R, AddrSpace)) in getAddrSpace()
297 if (Error Err = getInt(Split.first, AS)) in parseSpecifier()
325 if (Error Err = getInt(Tok, AddrSpace)) in parseSpecifier()
337 if (Error Err = getInt(Tok, PointerMemSize)) in parseSpecifier()
373 if (Error Err = getInt(Tok, IndexSize)) in parseSpecifier()
401 if (Error Err = getInt(Tok, Size)) in parseSpecifier()
453 if (Error Err = getInt(Tok, Width)) in parseSpecifier()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DGlobalsModRef.cpp109 : Info(nullptr, Arg.Info.getInt()) { in FunctionInfo()
114 : Info(Arg.Info.getPointer(), Arg.Info.getInt()) { in FunctionInfo()
119 Info.setPointerAndInt(nullptr, RHS.Info.getInt()); in operator =()
126 Info.setPointerAndInt(RHS.Info.getPointer(), RHS.Info.getInt()); in operator =()
139 return globalClearMayReadAnyGlobal(Info.getInt()); in getModRefInfo()
144 Info.setInt(Info.getInt() | static_cast<int>(NewMRI)); in addModRefInfo()
149 bool mayReadAnyGlobal() const { return Info.getInt() & MayReadAnyGlobal; } in mayReadAnyGlobal()
152 void setMayReadAnyGlobal() { Info.setInt(Info.getInt() | MayReadAnyGlobal); } in setMayReadAnyGlobal()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DCalledValuePropagation.cpp125 switch (Key.getInt()) { in ComputeLatticeVal()
205 if (Key.getInt() == IPOGrouping::Register) in PrintLatticeKey()
207 else if (Key.getInt() == IPOGrouping::Memory) in PrintLatticeKey()
209 else if (Key.getInt() == IPOGrouping::Return) in PrintLatticeKey()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DAPValue.cpp319 setInt(RHS.getInt()); in APValue()
443 return getInt().needsCleanup(); in needsCleanup()
574 profileIntValue(ID, getInt()); in Profile()
642 if (!Inits.back().isInt() || !Inits.back().getInt().isZero()) in TryPrintAsStringLiteral()
662 int64_t Char64 = Val.getInt().getExtValue(); in TryPrintAsStringLiteral()
719 Out << (getInt().getBoolValue() ? "true" : "false"); in printPretty()
721 Out << getInt(); in printPretty()
957 Result = getInt(); in toIntegralConstant()
1068 return MPD.MemberAndIsDerivedMember.getInt(); in isMemberPointerToDerivedMember()
H A DNestedNameSpecifier.cpp147 switch (Prefix.getInt()) { in getKind()
170 if (Prefix.getInt() == StoredDecl) in getAsNamespace()
178 if (Prefix.getInt() == StoredDecl) in getAsNamespaceAlias()
186 switch (Prefix.getInt()) { in getAsRecordDecl()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DScalarizeMaskedMemIntrin.cpp209 Value *Mask = Builder.getInt(APInt::getOneBitSet( in scalarizeMaskedLoad()
339 Value *Mask = Builder.getInt(APInt::getOneBitSet( in scalarizeMaskedStore()
461 Value *Mask = Builder.getInt(APInt::getOneBitSet( in scalarizeMaskedGather()
588 Value *Mask = Builder.getInt(APInt::getOneBitSet( in scalarizeMaskedScatter()
699 Value *Mask = Builder.getInt(APInt::getOneBitSet( in scalarizeMaskedExpandLoad()
814 Value *Mask = Builder.getInt(APInt::getOneBitSet( in scalarizeMaskedCompressStore()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeMoverUtils.cpp44 OS << "[" << *C.getPointer() << ", " << (C.getInt() ? "true" : "false") in operator <<()
197 if (C1.getInt() == C2.getInt()) { in isEquivalent()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DAddress.h106 return (KnownNonNull_t)PointerAndKnownNonNull.getInt(); in isKnownNonNull()
233 return (KnownNonNull_t)Pointer.getInt(); in isKnownNonNull()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSanitizerBinaryMetadata.cpp85 {IRB.getInt(NewFeatures), IRB.getInt32(Size)}}})); in runOnMachineFunction()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocOverflowSecurityChecker.cpp139 return Result.Val.getInt() == 0; in isIntZeroExpr()
197 denomVal = Result.Val.getInt(); in CheckAssignmentExpr()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSectionELF.h83 bool isComdat() const { return Group.getInt(); } in isComdat()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h208 bool haveGVs() const { return RefAndFlags.getInt() & HaveGV; } in haveGVs()
211 return RefAndFlags.getInt() & ReadOnly; in isReadOnly()
215 return RefAndFlags.getInt() & WriteOnly; in isWriteOnly()
219 return RefAndFlags.getInt() & (ReadOnly | WriteOnly); in getAccessSpecifier()
223 return (RefAndFlags.getInt() & BadAccessMask) != BadAccessMask; in isValidAccessSpecifier()
229 RefAndFlags.setInt(RefAndFlags.getInt() | ReadOnly); in setReadOnly()
233 RefAndFlags.setInt(RefAndFlags.getInt() | WriteOnly); in setWriteOnly()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DIdentifierTable.h1019 unsigned new_flags = InfoPtr.getInt(); in getIdentifierInfoFlag()
1054 bool isKeywordSelector() const { return InfoPtr.getInt() != ZeroArg; } in isKeywordSelector()
1056 bool isUnarySelector() const { return InfoPtr.getInt() == ZeroArg; } in isUnarySelector()

1234567