/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCSectionXCOFF.cpp | 29 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 D | TemplateBase.h | 295 ArgKind getKind() const { return (ArgKind)TypeOrValue.Kind; } 298 bool isNull() const { return getKind() == Null; } 320 assert(getKind() == Type && "Unexpected kind"); 327 assert(getKind() == Declaration && "Unexpected kind"); 332 assert(getKind() == Declaration && "Unexpected kind"); 338 assert(getKind() == NullPtr && "Unexpected kind"); 344 assert(getKind() == Template && "Unexpected kind"); 351 assert((getKind() == Template || getKind() == TemplateExpansion) && 364 assert(getKind() == Integral && "Unexpected kind"); 378 assert(getKind() == Integral && "Unexpected kind"); [all …]
|
H A D | VTableBuilder.h | 97 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 D | Action.h | 145 const char *getClassName() const { return Action::getClassName(getKind()); } in getClassName() 147 ActionClass getKind() const { return Kind; } in getKind() function 244 return A->getKind() == InputClass; in classof() 261 return A->getKind() == BindArchClass; in classof() 396 static bool classof(const Action *A) { return A->getKind() == OffloadClass; } in classof() 408 return (A->getKind() >= JobClassFirst && in classof() 409 A->getKind() <= JobClassLast); in classof() 420 return A->getKind() == PreprocessJobClass; in classof() 434 return A->getKind() == PrecompileJobClass; in classof() 445 return A->getKind() == ExtractAPIJobClass; in classof() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
H A D | MsgPackDocument.h | 70 bool isMap() const { return getKind() == Type::Map; } in isMap() 71 bool isArray() const { return getKind() == Type::Array; } in isArray() 73 bool isString() const { return getKind() == Type::String; } in isString() 78 bool isEmpty() const { return !KindAndDoc || getKind() == Type::Empty; } in isEmpty() 79 Type getKind() const { return KindAndDoc->Kind; } in getKind() function 83 assert(getKind() == Type::Int); in getInt() 88 assert(getKind() == Type::UInt); in getUInt() 93 assert(getKind() == Type::Boolean); in getBool() 98 assert(getKind() == Type::Float); in getFloat() 103 assert(getKind() == Type::Int); in getInt() [all …]
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
H A D | DAGISelMatcher.h | 112 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/llvm/include/llvm/IR/ |
H A D | DiagnosticInfo.h | 122 /* DiagnosticKind */ int getKind() const { return Kind; } in getKind() function 180 return DI->getKind() == DK_InlineAsm; in classof() 208 return DI->getKind() == DK_DebugMetadataVersion; in classof() 230 return DI->getKind() == DK_DebugMetadataInvalid; in classof() 254 return DI->getKind() == DK_SampleProfile; in classof() 284 return DI->getKind() == DK_PGOProfile; in classof() 389 return DI->getKind() == DK_ResourceLimit || DI->getKind() == DK_StackSize; in classof() 407 return DI->getKind() == DK_StackSize; in classof() 490 return (DI->getKind() >= DK_FirstRemark && in classof() 491 DI->getKind() <= DK_LastRemark) || in classof() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/ |
H A D | ProgramPoint.h | 108 assert(getKind() == k); in Data1() 130 return ProgramPoint(getData1(), getData2(), getKind(), in withTag() 156 Kind getKind() const { in getKind() function 168 Kind K = getKind(); in isPurgeKind() 201 ID.AddInteger((unsigned) getKind()); in Profile() 240 return Location.getKind() == BlockEntranceKind; in isKind() 261 return Location.getKind() == BlockExitKind; in isKind() 284 unsigned k = Location.getKind(); in isKind() 302 return Location.getKind() == PreStmtKind; in isKind() 325 unsigned k = Location.getKind(); in isKind() [all …]
|
H A D | ConstructionContext.h | 136 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/Basic/ |
H A D | TargetCXXABI.h | 59 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 D | PointerAuthOptions.h | 106 Kind getKind() const { return TheKind; } in getKind() function 110 bool isEnabled() const { return getKind() != Kind::None; } in isEnabled() 113 assert(getKind() != Kind::None); in isAddressDiscriminated() 118 assert(getKind() != Kind::None); in isIsaPointer() 123 assert(getKind() != Kind::None); in authenticatesNullValues() 132 assert(getKind() != Kind::None); in getOtherDiscrimination() 142 switch (getKind()) { in getKey() 156 assert(getKind() == Kind::ARM8_3); in getARM8_3Key()
|
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | SVals.h | 90 SValKind getKind() const { return Kind; } in getKind() function 96 ID.AddInteger(llvm::to_underlying(getKind())); in Profile() 102 bool isUnknown() const { return getKind() == UnknownValKind; } in isUnknown() 104 bool isUndef() const { return getKind() == UndefinedValKind; } in isUndef() 196 static bool classof(SVal V) { return V.getKind() == UndefinedValKind; } in classof() 217 static bool classof(SVal V) { return V.getKind() == UnknownValKind; } in classof() 248 return BEGIN_NonLoc <= V.getKind() && V.getKind() <= END_NonLoc; in classof() 265 return BEGIN_Loc <= V.getKind() && V.getKind() <= END_Loc; in classof() 293 static bool classof(SVal V) { return V.getKind() == SymbolValKind; } in classof() 303 static bool classof(SVal V) { return V.getKind() == ConcreteIntKind; } in classof() [all …]
|
H A D | MemRegion.h | 175 Kind getKind() const { return kind; } in getKind() function 224 Kind k = R->getKind(); in classof() 241 return R->getKind() == CodeSpaceRegionKind; in classof() 255 Kind k = R->getKind(); in classof() 284 return R->getKind() == StaticGlobalSpaceRegionKind; in classof() 305 Kind k = R->getKind(); in classof() 323 return R->getKind() == GlobalSystemSpaceRegionKind; in classof() 342 return R->getKind() == GlobalImmutableSpaceRegionKind; in classof() 359 return R->getKind() == GlobalInternalSpaceRegionKind; in classof() 373 return R->getKind() == HeapSpaceRegionKind; in classof() [all …]
|
H A D | CallEvent.h | 219 virtual Kind getKind() const = 0; 528 return CA->getKind() >= CE_BEG_FUNCTION_CALLS && in classof() 529 CA->getKind() <= CE_END_FUNCTION_CALLS; in classof() 563 Kind getKind() const override { return CE_Function; } in getKind() function 567 return CA->getKind() == CE_Function; in classof() 669 Kind getKind() const override { return CE_Block; } in getKind() function 672 static bool classof(const CallEvent *CA) { return CA->getKind() == CE_Block; } in classof() 708 return CA->getKind() >= CE_BEG_CXX_INSTANCE_CALLS && in classof() 709 CA->getKind() <= CE_END_CXX_INSTANCE_CALLS; in classof() 776 Kind getKind() const override { return CE_CXXStaticOperator; } in getKind() function [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/BinaryFormat/ |
H A D | MsgPackDocumentYAML.cpp | 38 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 D | Value.h | 55 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/llvm/include/llvm/MC/ |
H A D | MCFragment.h | 91 FragmentType getKind() const { return Kind; } in getKind() function 112 static bool classof(const MCFragment *F) { return F->getKind() == FT_Dummy; } in classof() 134 MCFragment::FragmentType Kind = F->getKind(); in classof() 222 MCFragment::FragmentType Kind = F->getKind(); in classof() 236 return F->getKind() == MCFragment::FT_Data; in classof() 254 return F->getKind() == MCFragment::FT_CompactEncodedInst; in classof() 281 return F->getKind() == MCFragment::FT_Relaxable; in classof() 330 return F->getKind() == MCFragment::FT_Align; in classof() 357 return F->getKind() == MCFragment::FT_Fill; in classof() 387 return F->getKind() == MCFragment::FT_Nops; in classof() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
H A D | x86_64.cpp | 87 if (E.getKind() == x86_64::PCRel32GOTLoadRelaxable || in optimizeGOTAndStubAccesses() 88 E.getKind() == x86_64::PCRel32GOTLoadREXRelaxable) { in optimizeGOTAndStubAccesses() 90 bool REXPrefix = E.getKind() == x86_64::PCRel32GOTLoadREXRelaxable; in optimizeGOTAndStubAccesses() 125 printEdge(dbgs(), *B, E, getEdgeKindName(E.getKind())); in optimizeGOTAndStubAccesses() 142 printEdge(dbgs(), *B, E, getEdgeKindName(E.getKind())); in optimizeGOTAndStubAccesses() 154 printEdge(dbgs(), *B, E, getEdgeKindName(E.getKind())); in optimizeGOTAndStubAccesses() 162 } else if (E.getKind() == x86_64::BranchPCRel32ToPtrJumpStubBypassable) { in optimizeGOTAndStubAccesses() 185 printEdge(dbgs(), *B, E, getEdgeKindName(E.getKind())); in optimizeGOTAndStubAccesses()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Initialization.h | 441 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 D | ScheduleDAG.h | 158 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() 212 return getKind() == Data && Contents.Reg != 0; in isAssignedRegDep() 219 assert((getKind() == Data || getKind() == Anti || getKind() == Output) && in getReg() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | PrintfFormatString.cpp | 480 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 …]
|
H A D | FormatString.cpp | 364 switch (BT->getKind()) { in matchesType() 379 switch (BT->getKind()) { in matchesType() 417 switch (BT->getKind()) { in matchesType() 477 switch (BT->getKind()) { in matchesType() 529 switch (BT->getKind()) { in matchesType() 795 switch (getKind()) { in getStandardSpecifier() 841 switch (LM.getKind()) { in hasValidLengthModifier() 855 switch (CS.getKind()) { in hasValidLengthModifier() 873 switch (CS.getKind()) { in hasValidLengthModifier() 909 switch (CS.getKind()) { in hasValidLengthModifier() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 106 if (Lex.getKind() != lltok::Eof) in parseStandaloneConstantValue() 508 switch (Lex.getKind()) { in parseTargetDefinitions() 539 switch (Lex.getKind()) { in parseTopLevelEntities() 557 switch (Lex.getKind()) { in parseTopLevelEntities() 621 assert(Lex.getKind() == lltok::kw_module); in parseModuleAsm() 638 assert(Lex.getKind() == lltok::kw_target); in parseTargetDefinition() 664 assert(Lex.getKind() == lltok::kw_source_filename); in parseSourceFileName() 729 assert(Lex.getKind() == lltok::kw_declare); in parseDeclare() 733 while (Lex.getKind() == lltok::MetadataVar) { in parseDeclare() 754 assert(Lex.getKind() == lltok::kw_define); in parseDefine() [all …]
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/ |
H A D | GlobalISelMatchTable.h | 844 PredicateKind getKind() const { return Kind; } in getKind() function 854 return B.getKind() == getKind() && InsnVarID == B.InsnVarID && in isIdentical() 913 return P->getKind() == OPM_SameOperand; in classof() 948 return P->getKind() == OPM_LLT; in classof() 986 return P->getKind() == OPM_PointerToAny; in classof() 1013 return P->getKind() == OPM_RecordNamedOperand; in classof() 1038 return P->getKind() == OPM_RecordRegType; in classof() 1068 return P->getKind() == OPM_ComplexPattern; in classof() 1089 return P->getKind() == OPM_RegBank; in classof() 1103 return P->getKind() == OPM_MBB; in classof() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/ |
H A D | MipsMCExpr.cpp | 213 MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(), getKind()); in evaluateAsRelocatableImpl() 223 switch (Expr->getKind()) { in fixELFSymbolsInTLSFixupsImpl() 249 switch (getKind()) { in fixELFSymbolsInTLSFixups() 290 if (getKind() == MEK_HI || getKind() == MEK_LO) { in isGpOff() 293 if (S1->getKind() == MEK_NEG && S2->getKind() == MEK_GPREL) { in isGpOff() 294 Kind = getKind(); in isGpOff()
|