Home
last modified time | relevance | path

Searched refs:getKind (Results 1 – 25 of 711) sorted by relevance

12345678910>>...29

/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DObjCRuntime.h77 Kind getKind() const { return TheKind; } in getKind() function
83 switch (getKind()) { in isNonFragile()
103 if (getKind() == GNUstep) { in isLegacyDispatchDefaultForArch()
117 } else if ((getKind() == MacOSX) && isNonFragile() && in isLegacyDispatchDefaultForArch()
128 switch (getKind()) { in isGNUFamily()
151 switch (getKind()) { in allowsARC()
171 switch (getKind()) { in hasNativeARC()
202 switch (getKind()) { in shouldUseARCFunctionsForRetainRelease()
244 switch (getKind()) { in shouldUseRuntimeFunctionsForAlloc()
268 switch (getKind()) { in shouldUseRuntimeFunctionForCombinedAllocInit()
[all …]
H A DTargetCXXABI.h59 static Kind getKind(StringRef Name) { return getABIMap().lookup(Name); } in getKind() function
80 Kind getKind() const { return TheKind; } in getKind() function
123 switch (getKind()) { in isItaniumFamily()
137 switch (getKind()) { in isMicrosoft()
159 switch (getKind()) { in areMemberFunctionsAligned()
239 switch (getKind()) { in canKeyFunctionBeInline()
281 switch (getKind()) { in getTailPaddingUseRules()
310 return left.getKind() == right.getKind();
H A DPointerAuthOptions.h134 Kind getKind() const { return TheKind; } in getKind() function
138 bool isEnabled() const { return getKind() != Kind::None; } in isEnabled()
141 assert(getKind() != Kind::None); in isAddressDiscriminated()
146 assert(getKind() != Kind::None); in isIsaPointer()
151 assert(getKind() != Kind::None); in authenticatesNullValues()
160 assert(getKind() != Kind::None); in getOtherDiscrimination()
170 switch (getKind()) { in getKey()
184 assert(getKind() == Kind::ARM8_3); in getARM8_3Key()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCSectionXCOFF.cpp29 if (getKind().isText()) { in printSwitchToSection()
37 if (getKind().isReadOnly()) { in printSwitchToSection()
45 if (getKind().isReadOnlyWithRel()) { in printSwitchToSection()
56 if (getKind().isThreadData()) { in printSwitchToSection()
64 if (getKind().isData()) { in printSwitchToSection()
87 if (getKind().isCommon() && !getKind().isBSSLocal()) in printSwitchToSection()
90 assert(getKind().isBSS() && "Unexpected section kind for toc-data"); in printSwitchToSection()
107 assert((getKind().isBSSLocal() || getKind().isCommon() || in printSwitchToSection()
108 getKind().isThreadBSS()) && in printSwitchToSection()
118 if (getKind().isThreadBSS()) { in printSwitchToSection()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DTemplateBase.h296 ArgKind getKind() const { return (ArgKind)TypeOrValue.Kind; }
299 bool isNull() const { return getKind() == Null; }
321 assert(getKind() == Type && "Unexpected kind");
328 assert(getKind() == Declaration && "Unexpected kind");
333 assert(getKind() == Declaration && "Unexpected kind");
339 assert(getKind() == NullPtr && "Unexpected kind");
345 assert(getKind() == Template && "Unexpected kind");
352 assert((getKind() == Template || getKind() == TemplateExpansion) &&
365 assert(getKind() == Integral && "Unexpected kind");
379 assert(getKind() == Integral && "Unexpected kind");
[all …]
H A DAttr.h90 attr::Kind getKind() const { return static_cast<attr::Kind>(AttrKind); } in getKind() function
128 return A->getKind() >= attr::FirstTypeAttr && in classof()
129 A->getKind() <= attr::LastTypeAttr; in classof()
141 return A->getKind() >= attr::FirstStmtAttr && in classof()
142 A->getKind() <= attr::LastStmtAttr; in classof()
166 return A->getKind() >= attr::FirstInheritableAttr && in classof()
167 A->getKind() <= attr::LastInheritableAttr; in classof()
181 return A->getKind() >= attr::FirstDeclOrStmtAttr && in classof()
182 A->getKind() <= attr::LastDeclOrStmtAttr; in classof()
197 return A->getKind() >= attr::FirstInheritableParamAttr && in classof()
[all …]
H A DVTableBuilder.h97 Kind getKind() const { in getKind() function
102 assert(getKind() == CK_VCallOffset && "Invalid component kind!"); in getVCallOffset()
108 assert(getKind() == CK_VBaseOffset && "Invalid component kind!"); in getVBaseOffset()
114 assert(getKind() == CK_OffsetToTop && "Invalid component kind!"); in getOffsetToTop()
137 assert(getKind() == CK_UnusedFunctionPointer && "Invalid component kind!"); in getUnusedFunctionDecl()
141 bool isDestructorKind() const { return isDestructorKind(getKind()); } in isDestructorKind()
144 return isUsedFunctionPointerKind(getKind()); in isUsedFunctionPointerKind()
148 return isFunctionPointerKind(getKind()); in isFunctionPointerKind()
151 bool isRTTIKind() const { return isRTTIKind(getKind()); } in isRTTIKind()
158 switch (getKind()) { in getGlobalDecl()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Driver/
H A DAction.h146 const char *getClassName() const { return Action::getClassName(getKind()); } in getClassName()
148 ActionClass getKind() const { return Kind; } in getKind() function
245 return A->getKind() == InputClass; in classof()
262 return A->getKind() == BindArchClass; in classof()
397 static bool classof(const Action *A) { return A->getKind() == OffloadClass; } in classof()
409 return (A->getKind() >= JobClassFirst && in classof()
410 A->getKind() <= JobClassLast); in classof()
421 return A->getKind() == PreprocessJobClass; in classof()
435 return A->getKind() == PrecompileJobClass; in classof()
446 return A->getKind() == ExtractAPIJobClass; in classof()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMsgPackDocument.h71 bool isMap() const { return getKind() == Type::Map; } in isMap()
72 bool isArray() const { return getKind() == Type::Array; } in isArray()
74 bool isString() const { return getKind() == Type::String; } in isString()
79 bool isEmpty() const { return !KindAndDoc || getKind() == Type::Empty; } in isEmpty()
80 Type getKind() const { return KindAndDoc->Kind; } in getKind() function
84 assert(getKind() == Type::Int); in getInt()
89 assert(getKind() == Type::UInt); in getUInt()
94 assert(getKind() == Type::Boolean); in getBool()
99 assert(getKind() == Type::Float); in getFloat()
104 assert(getKind() == Type::Int); in getInt()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDiagnosticInfo.h128 /* DiagnosticKind */ int getKind() const { return Kind; } in getKind() function
166 return DI->getKind() == DK_Generic; in classof()
207 return DI->getKind() == DK_InlineAsm; in classof()
235 return DI->getKind() == DK_DebugMetadataVersion; in classof()
258 return DI->getKind() == DK_DebugMetadataInvalid; in classof()
283 return DI->getKind() == DK_SampleProfile; in classof()
314 return DI->getKind() == DK_PGOProfile; in classof()
408 return DI->getKind() == DK_GenericWithLoc; in classof()
435 return DI->getKind() == DK_RegAllocFailure; in classof()
473 return DI->getKind() == DK_ResourceLimit || DI->getKind() == DK_StackSize; in classof()
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DDAGISelMatcher.h112 KindTy getKind() const { return Kind; } in getKind() function
122 if (getKind() != M->getKind()) in isEqual()
131 switch (getKind()) { in isSimplePredicateNode()
158 return isSimplePredicateNode() || getKind() == RecordNode || in isSimplePredicateOrRecordNode()
159 getKind() == RecordChild; in isSimplePredicateOrRecordNode()
183 if (getKind() < Other->getKind()) in isContradictory()
234 static bool classof(const Matcher *N) { return N->getKind() == Scope; } in classof()
258 static bool classof(const Matcher *N) { return N->getKind() == RecordNode; } in classof()
289 static bool classof(const Matcher *N) { return N->getKind() == RecordChild; } in classof()
303 static bool classof(const Matcher *N) { return N->getKind() == RecordMemRef; } in classof()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DProgramPoint.h114 assert(getKind() == k); in Data1()
136 return ProgramPoint(getData1(), getData2(), getKind(), in withTag()
162 Kind getKind() const { in getKind() function
174 Kind K = getKind(); in isPurgeKind()
207 ID.AddInteger((unsigned) getKind()); in Profile()
250 return Location.getKind() == BlockEntranceKind; in isKind()
271 return Location.getKind() == BlockExitKind; in isKind()
294 unsigned k = Location.getKind(); in isKind()
312 return Location.getKind() == PreStmtKind; in isKind()
335 unsigned k = Location.getKind(); in isKind()
[all …]
H A DConstructionContext.h136 ItemKind getKind() const { return Kind; } in getKind() function
139 return getKindAsString(getKind()); in getKindAsString()
307 Kind getKind() const { return K; } in getKind() function
336 return CC->getKind() >= VARIABLE_BEGIN && in classof()
337 CC->getKind() <= VARIABLE_END; in classof()
354 return CC->getKind() == SimpleVariableKind; in classof()
383 return CC->getKind() == CXX17ElidedCopyVariableKind; in classof()
407 return CC->getKind() >= INITIALIZER_BEGIN && in classof()
408 CC->getKind() <= INITIALIZER_END; in classof()
425 return CC->getKind() == SimpleConstructorInitializerKind; in classof()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSVals.h91 SValKind getKind() const { return Kind; } in getKind() function
99 ID.AddInteger(llvm::to_underlying(getKind())); in Profile()
105 bool isUnknown() const { return getKind() == UnknownValKind; } in isUnknown()
107 bool isUndef() const { return getKind() == UndefinedValKind; } in isUndef()
199 static bool classof(SVal V) { return V.getKind() == UndefinedValKind; } in classof()
220 static bool classof(SVal V) { return V.getKind() == UnknownValKind; } in classof()
251 return BEGIN_NonLoc <= V.getKind() && V.getKind() <= END_NonLoc; in classof()
268 return BEGIN_Loc <= V.getKind() && V.getKind() <= END_Loc; in classof()
296 static bool classof(SVal V) { return V.getKind() == SymbolValKind; } in classof()
309 static bool classof(SVal V) { return V.getKind() == ConcreteIntKind; } in classof()
[all …]
H A DMemRegion.h203 Kind getKind() const { return kind; } in getKind() function
252 Kind k = R->getKind(); in classof()
269 return R->getKind() == CodeSpaceRegionKind; in classof()
283 Kind k = R->getKind(); in classof()
312 return R->getKind() == StaticGlobalSpaceRegionKind; in classof()
333 Kind k = R->getKind(); in classof()
351 return R->getKind() == GlobalSystemSpaceRegionKind; in classof()
370 return R->getKind() == GlobalImmutableSpaceRegionKind; in classof()
387 return R->getKind() == GlobalInternalSpaceRegionKind; in classof()
401 return R->getKind() == HeapSpaceRegionKind; in classof()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/BinaryFormat/
H A DMsgPackDocumentYAML.cpp38 switch (getKind()) { in toString()
111 if (getKind() == msgpack::Type::Nil) in getYAMLTag()
117 if (N.getKind() == getKind()) in getYAMLTag()
121 if (N.getKind() == msgpack::Type::UInt && getKind() == msgpack::Type::Int) in getYAMLTag()
123 if (N.getKind() == msgpack::Type::Int && getKind() == msgpack::Type::UInt) in getYAMLTag()
126 switch (getKind()) { in getYAMLTag()
148 static NodeKind getKind(const DocNode &N) { in getKind() function
149 switch (N.getKind()) { in getKind()
186 switch (S.getKind()) { in mustQuote()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DValue.h55 Kind getKind() const { return ValKind; } in getKind() function
102 return Val->getKind() == Kind::TopBool || in classof()
103 Val->getKind() == Kind::AtomicBool || in classof()
104 Val->getKind() == Kind::FormulaBool; in classof()
123 return Val->getKind() == Kind::TopBool; in classof()
140 return Val->getKind() == Kind::AtomicBool; in classof()
155 return Val->getKind() == Kind::FormulaBool; in classof()
165 return Val->getKind() == Kind::Integer; in classof()
176 return Val->getKind() == Kind::Pointer; in classof()
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/
H A DTelemetry.h88 llvm::telemetry::KindType getKind() const override { in getKind() function
94 return (t->getKind() & LLDBEntryKind::BaseInfo) == LLDBEntryKind::BaseInfo; in classof()
106 llvm::telemetry::KindType getKind() const override { in getKind() function
112 return (t->getKind() & LLDBEntryKind::ClientInfo) == in classof()
144 llvm::telemetry::KindType getKind() const override { in getKind() function
149 return (T->getKind() & LLDBEntryKind::CommandInfo) == in classof()
172 llvm::telemetry::KindType getKind() const override { in getKind() function
178 return (T->getKind() & LLDBEntryKind::DebuggerInfo) == in classof()
201 llvm::telemetry::KindType getKind() const override { in getKind() function
207 return (T->getKind() & LLDBEntryKind::ExecModuleInfo) == in classof()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.h114 assert(getKind() == k && "not enough bits for the kind"); in RefVal()
120 Kind getKind() const { return static_cast<Kind>(RawKind); } in getKind() function
152 return getKind() == Owned; in isOwned()
156 return getKind() == NotOwned; in isNotOwned()
160 return getKind() == ReturnedOwned; in isReturnedOwned()
164 return getKind() == ReturnedNotOwned; in isReturnedNotOwned()
184 return RefVal(getKind(), getObjKind(), getCount() - i,
189 return RefVal(getKind(), getObjKind(), getCount() + i,
199 return RefVal(getKind(), getObjKind(), getCount(), getAutoreleaseCount()+1, in autorelease()
205 return RefVal(getKind(), getObjKind(), getCount(), getAutoreleaseCount(), in withIvarAccess()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A Dx86_64.cpp117 if (E.getKind() == x86_64::PCRel32GOTLoadRelaxable || in optimizeGOTAndStubAccesses()
118 E.getKind() == x86_64::PCRel32GOTLoadREXRelaxable) { in optimizeGOTAndStubAccesses()
120 bool REXPrefix = E.getKind() == x86_64::PCRel32GOTLoadREXRelaxable; in optimizeGOTAndStubAccesses()
155 printEdge(dbgs(), *B, E, getEdgeKindName(E.getKind())); in optimizeGOTAndStubAccesses()
172 printEdge(dbgs(), *B, E, getEdgeKindName(E.getKind())); in optimizeGOTAndStubAccesses()
184 printEdge(dbgs(), *B, E, getEdgeKindName(E.getKind())); in optimizeGOTAndStubAccesses()
192 } else if (E.getKind() == x86_64::BranchPCRel32ToPtrJumpStubBypassable) { in optimizeGOTAndStubAccesses()
215 printEdge(dbgs(), *B, E, getEdgeKindName(E.getKind())); in optimizeGOTAndStubAccesses()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DInitialization.h441 EntityKind getKind() const { return Kind; } in getKind() function
475 return (getKind() == EK_Parameter || in isParameterKind()
476 getKind() == EK_Parameter_CF_Audited); in isParameterKind()
480 return isParameterKind() || getKind() == EK_TemplateParameter; in isParamOrTemplateParamKind()
492 assert(getKind() == EK_Base && "Not a base specifier"); in getBaseSpecifier()
498 assert(getKind() == EK_Base && "Not a base specifier"); in isInheritedVirtualBase()
504 return getKind() == EK_New && isa_and_nonnull<IncompleteArrayType>( in isVariableLengthArrayNew()
511 return getKind() == EK_Member && Variable.IsImplicitFieldInit; in isImplicitMemberInitializer()
517 return getKind() == EK_Member && Variable.IsDefaultMemberInit; in isDefaultMemberInitializer()
523 assert(getKind() == EK_Result && "No 'return' location!"); in getReturnLoc()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DScheduleDAG.h158 Kind getKind() const;
162 return getKind() != Data; in isCtrl()
169 return getKind() == Order && (Contents.OrdKind == MayAliasMem in isNormalMemory()
175 return getKind() == Order && Contents.OrdKind == Barrier; in isBarrier()
187 return getKind() == Order && Contents.OrdKind == MustAliasMem; in isMustAlias()
195 return getKind() == Order && Contents.OrdKind >= Weak; in isWeak()
201 return getKind() == Order && Contents.OrdKind == Artificial; in isArtificial()
207 return getKind() == Order && Contents.OrdKind == Cluster; in isCluster()
211 bool isAssignedRegDep() const { return getKind() == Data && Contents.Reg; } in isAssignedRegDep()
217 assert((getKind() == Data || getKind() == Anti || getKind() == Output) && in getReg()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp102 if (Lex.getKind() != lltok::Eof) in parseStandaloneConstantValue()
496 switch (Lex.getKind()) { in parseTargetDefinitions()
527 switch (Lex.getKind()) { in parseTopLevelEntities()
545 switch (Lex.getKind()) { in parseTopLevelEntities()
609 assert(Lex.getKind() == lltok::kw_module); in parseModuleAsm()
626 assert(Lex.getKind() == lltok::kw_target); in parseTargetDefinition()
652 assert(Lex.getKind() == lltok::kw_source_filename); in parseSourceFileName()
717 assert(Lex.getKind() == lltok::kw_declare); in parseDeclare()
721 while (Lex.getKind() == lltok::MetadataVar) { in parseDeclare()
742 assert(Lex.getKind() == lltok::kw_define); in parseDefine()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DPrintfFormatString.cpp480 if (FS.getConversionSpecifier().getKind() == ConversionSpecifier::Kind::sArg) in ParseFormatStringHasSArg()
509 if (CS.getKind() == ConversionSpecifier::cArg) in getScalarArgType()
510 switch (LM.getKind()) { in getScalarArgType()
525 switch (LM.getKind()) { in getScalarArgType()
561 switch (LM.getKind()) { in getScalarArgType()
597 switch (LM.getKind()) { in getScalarArgType()
608 if (LM.getKind() == LengthModifier::AsLongDouble) in getScalarArgType()
613 if (CS.getKind() == ConversionSpecifier::nArg) { in getScalarArgType()
614 switch (LM.getKind()) { in getScalarArgType()
649 switch (CS.getKind()) { in getScalarArgType()
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DGlobalISelMatchTable.h858 PredicateKind getKind() const { return Kind; } in getKind() function
868 return B.getKind() == getKind() && InsnVarID == B.InsnVarID && in isIdentical()
927 return P->getKind() == OPM_SameOperand; in classof()
962 return P->getKind() == OPM_LLT; in classof()
1000 return P->getKind() == OPM_PointerToAny; in classof()
1027 return P->getKind() == OPM_RecordNamedOperand; in classof()
1052 return P->getKind() == OPM_RecordRegType; in classof()
1082 return P->getKind() == OPM_ComplexPattern; in classof()
1103 return P->getKind() == OPM_RegBank; in classof()
1117 return P->getKind() == OPM_MBB; in classof()
[all …]

12345678910>>...29