| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | CommentLexer.cpp | 101 ASSERT_EQ(tok::newline, Toks[0].getKind()); in TEST_F() 117 ASSERT_EQ(tok::newline, Toks[0].getKind()); in TEST_F() 118 ASSERT_EQ(tok::newline, Toks[1].getKind()); in TEST_F() 340 ASSERT_EQ(tok::text, Toks[0].getKind()); in TEST_F() 343 ASSERT_EQ(tok::text, Toks[1].getKind()); in TEST_F() 346 ASSERT_EQ(tok::text, Toks[2].getKind()); in TEST_F() 482 ASSERT_EQ(tok::text, Toks[0].getKind()); in TEST_F() 488 ASSERT_EQ(tok::newline, Toks[2].getKind()); in TEST_F() 543 ASSERT_EQ(tok::text, Toks[0].getKind()); in TEST_F() 551 ASSERT_EQ(tok::text, Toks[3].getKind()); in TEST_F() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | ObjCRuntime.h | 83 switch (getKind()) { in isNonFragile() 120 switch (getKind()) { in isGNUFamily() 143 switch (getKind()) { in allowsARC() 163 switch (getKind()) { in hasNativeARC() 194 switch (getKind()) { in shouldUseARCFunctionsForRetainRelease() 230 switch (getKind()) { in shouldUseRuntimeFunctionsForAlloc() 254 switch (getKind()) { in shouldUseRuntimeFunctionForCombinedAllocInit() 268 switch (getKind()) { in hasOptimizedSetter() 299 switch (getKind()) { in hasSubscripting() 325 switch (getKind()) { in allowsPointerArithmetic() [all …]
|
| H A D | TargetCXXABI.h | 59 static Kind getKind(StringRef Name) { return getABIMap().lookup(Name); } in getKind() function 82 Kind getKind() const { return TheKind; } in getKind() function 125 switch (getKind()) { in isItaniumFamily() 139 switch (getKind()) { in isMicrosoft() 161 switch (getKind()) { in areMemberFunctionsAligned() 241 switch (getKind()) { in canKeyFunctionBeInline() 283 switch (getKind()) { in getTailPaddingUseRules() 312 return left.getKind() == right.getKind();
|
| /llvm-project-15.0.7/llvm/unittests/BinaryFormat/ |
| H A D | MsgPackDocumentTest.cpp | 41 ASSERT_EQ(SI.getKind(), Type::Int); in TEST() 44 ASSERT_EQ(SN.getKind(), Type::Nil); in TEST() 63 ASSERT_EQ(SI.getKind(), Type::Int); in TEST() 66 ASSERT_EQ(SN.getKind(), Type::Nil); in TEST() 77 ASSERT_EQ(SI.getKind(), Type::Int); in TEST() 80 ASSERT_EQ(SN.getKind(), Type::Nil); in TEST() 93 ASSERT_EQ(SI.getKind(), Type::Int); in TEST() 96 ASSERT_EQ(SN.getKind(), Type::Nil); in TEST() 98 ASSERT_EQ(SI.getKind(), Type::Int); in TEST() 115 ASSERT_EQ(FooS.getKind(), Type::Int); in TEST() [all …]
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | MCSectionXCOFF.cpp | 30 if (getKind().isText()) { in printSwitchToSection() 38 if (getKind().isReadOnly()) { in printSwitchToSection() 47 if (getKind().isThreadData()) { in printSwitchToSection() 55 if (getKind().isData()) { in printSwitchToSection() 76 assert((getKind().isBSSExtern() || getKind().isBSSLocal() || in printSwitchToSection() 77 getKind().isReadOnlyWithRel()) && in printSwitchToSection() 95 assert((getKind().isBSSLocal() || getKind().isCommon() || in printSwitchToSection() 96 getKind().isThreadBSS()) && in printSwitchToSection() 106 if (getKind().isThreadBSS()) { in printSwitchToSection() 112 if (getKind().isMetadata() && isDwarfSect()) { in printSwitchToSection() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | TemplateBase.h | 247 bool isNull() const { return getKind() == Null; } 269 assert(getKind() == Type && "Unexpected kind"); 287 assert(getKind() == NullPtr && "Unexpected kind"); 293 assert(getKind() == Template && "Unexpected kind"); 300 assert((getKind() == Template || getKind() == TemplateExpansion) && 313 assert(getKind() == Integral && "Unexpected kind"); 352 assert(getKind() == Pack); 359 assert(getKind() == Pack); 372 assert(getKind() == Pack); 378 assert(getKind() == Pack); [all …]
|
| H A D | Attr.h | 119 return A->getKind() >= attr::FirstTypeAttr && in classof() 120 A->getKind() <= attr::LastTypeAttr; in classof() 132 return A->getKind() >= attr::FirstStmtAttr && in classof() 133 A->getKind() <= attr::LastStmtAttr; in classof() 157 return A->getKind() >= attr::FirstInheritableAttr && in classof() 158 A->getKind() <= attr::LastInheritableAttr; in classof() 172 return A->getKind() >= attr::FirstDeclOrStmtAttr && in classof() 173 A->getKind() <= attr::LastDeclOrStmtAttr; in classof() 205 switch (getKind()) { in getABI() 220 return A->getKind() >= attr::FirstParameterABIAttr && in classof() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Analysis/FlowSensitive/ |
| H A D | Value.h | 59 Kind getKind() const { return ValKind; } in getKind() function 85 return Val->getKind() == Kind::AtomicBool || in classof() 88 Val->getKind() == Kind::Negation || in classof() 100 return Val->getKind() == Kind::AtomicBool; in classof() 115 return Val->getKind() == Kind::Conjunction; in classof() 137 return Val->getKind() == Kind::Disjunction; in classof() 158 return Val->getKind() == Kind::Negation; in classof() 222 return Val->getKind() == Kind::Integer; in classof() 234 return Val->getKind() == Kind::Reference; in classof() 250 return Val->getKind() == Kind::Pointer; in classof() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Driver/ |
| H A D | Action.h | 148 ActionClass getKind() const { return Kind; } in getKind() function 245 return A->getKind() == InputClass; in classof() 262 return A->getKind() == BindArchClass; in classof() 404 return (A->getKind() >= JobClassFirst && in classof() 405 A->getKind() <= JobClassLast); in classof() 475 return A->getKind() == AnalyzeJobClass; in classof() 486 return A->getKind() == MigrateJobClass; in classof() 497 return A->getKind() == CompileJobClass; in classof() 508 return A->getKind() == BackendJobClass; in classof() 541 return A->getKind() == LinkJobClass; in classof() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/ |
| H A D | MsgPackDocument.h | 83 assert(getKind() == Type::Int); in getInt() 88 assert(getKind() == Type::UInt); in getUInt() 98 assert(getKind() == Type::Float); in getFloat() 103 assert(getKind() == Type::Int); in getInt() 108 assert(getKind() == Type::UInt); in getUInt() 118 assert(getKind() == Type::Float); in getFloat() 123 assert(getKind() == Type::String); in getString() 130 if (getKind() != Type::Array) { 141 if (getKind() != Type::Map) { 158 return (unsigned)Lhs.getKind() < (unsigned)Rhs.getKind(); [all …]
|
| /llvm-project-15.0.7/polly/lib/Analysis/ |
| H A D | ScopDetectionDiagnostic.cpp | 194 return RR->getKind() >= RejectReasonKind::CFG && in classof() 195 RR->getKind() <= RejectReasonKind::LastCFG; in classof() 306 return RR->getKind() >= RejectReasonKind::AffFunc && in classof() 322 return RR->getKind() == RejectReasonKind::UndefCond; in classof() 382 return RR->getKind() == RejectReasonKind::NoBasePtr; in classof() 602 return RR->getKind() == RejectReasonKind::FuncCall; in classof() 692 return RR->getKind() == RejectReasonKind::Alias; in classof() 705 return RR->getKind() >= RejectReasonKind::Other && in classof() 729 return RR->getKind() == RejectReasonKind::IntToPtr; in classof() 751 return RR->getKind() == RejectReasonKind::Alloca; in classof() [all …]
|
| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | DAGISelMatcher.h | 113 if (getKind() != M->getKind()) return false; in isEqual() 121 switch (getKind()) { in isSimplePredicateNode() 148 getKind() == RecordNode || getKind() == RecordChild; in isSimplePredicateOrRecordNode() 172 if (getKind() < Other->getKind()) in isContradictory() 223 return N->getKind() == Scope; in classof() 248 return N->getKind() == RecordNode; in classof() 330 return N->getKind() == MoveChild; in classof() 367 return N->getKind() == CheckSame; in classof() 508 return N->getKind() == CheckType; in classof() 1040 return N->getKind() == EmitNode || N->getKind() == MorphNodeTo; in classof() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | DiagnosticInfo.h | 180 return DI->getKind() == DK_InlineAsm; in classof() 219 return DI->getKind() == DK_ResourceLimit || DI->getKind() == DK_StackSize; in classof() 236 return DI->getKind() == DK_StackSize; in classof() 310 return DI->getKind() == DK_SampleProfile; in classof() 340 return DI->getKind() == DK_PGOProfile; in classof() 680 return DI->getKind() >= DK_FirstRemark && DI->getKind() <= DK_LastRemark; in classof() 950 return DI->getKind() == DK_MIRParser; in classof() 1028 return DI->getKind() == DK_Unsupported; in classof() 1045 return DI->getKind() == DK_MisExpect; in classof() 1096 return DI->getKind() == DK_SrcMgr; in classof() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Analysis/ |
| H A D | ProgramPoint.h | 108 assert(getKind() == k); in Data1() 159 Kind getKind() const { in getKind() function 171 Kind K = getKind(); in isPurgeKind() 208 ID.AddInteger((unsigned) getKind()); in Profile() 288 unsigned k = Location.getKind(); in isKind() 306 return Location.getKind() == PreStmtKind; in isKind() 329 unsigned k = Location.getKind(); in isKind() 382 unsigned k = location.getKind(); in isKind() 397 return location.getKind() == PreLoadKind; in isKind() 411 return location.getKind() == PreStoreKind; 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() 408 CC->getKind() <= INITIALIZER_END; in classof() 518 return CC->getKind() >= TEMPORARY_BEGIN && CC->getKind() <= TEMPORARY_END; in classof() 598 CC->getKind() <= RETURNED_VALUE_END; in classof() 680 return CC->getKind() == ArgumentKind; in classof() [all …]
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/mlir/lib/AsmParser/ |
| H A D | Token.cpp | 59 assert(getKind() == inttype); in getIntTypeBitwidth() 68 assert(getKind() == inttype); in getIntTypeSignedness() 81 assert(getKind() == string || getKind() == code_complete || in getStringValue() 82 (getKind() == at_identifier && getSpelling()[1] == '"')); in getStringValue() 85 if (getKind() != Token::code_complete) { in getStringValue() 87 if (getKind() == at_identifier) in getStringValue() 130 assert(getKind() == string); in getHexStringValue() 161 assert(getKind() == hash_identifier); in getHashIdentifierNumber()
|
| /llvm-project-15.0.7/llvm/lib/Target/AVR/AsmParser/ |
| H A D | AVRAsmParser.cpp | 456 tokens[1].getKind() == AsmToken::LParen) || in tryParseRelocExpression() 457 (tokens[0].getKind() == AsmToken::LParen && in tryParseRelocExpression() 458 tokens[1].getKind() == AsmToken::Minus)) { in tryParseRelocExpression() 497 if (tokens[1].getKind() == AsmToken::Minus || in tryParseRelocExpression() 498 tokens[1].getKind() == AsmToken::Plus) { in tryParseRelocExpression() 508 if (tokens[1].getKind() == AsmToken::Minus || in tryParseRelocExpression() 509 tokens[1].getKind() == AsmToken::Plus) { in tryParseRelocExpression() 530 switch (getLexer().getKind()) { in parseOperand() 549 switch (getLexer().peekTok().getKind()) { in parseOperand() 686 Tokens[0].getKind() == AsmToken::Minus && in parseLiteralValues() [all …]
|
| /llvm-project-15.0.7/llvm/tools/llvm-rc/ |
| H A D | ResourceScriptStmt.h | 391 return Res->getKind() == RkBitmap; in classof() 413 return Res->getKind() == RkCursor; in classof() 433 return Res->getKind() == RkIcon; in classof() 458 return Res->getKind() == RkHTML; in classof() 535 return D->getKind() == MkMenuItem; in classof() 558 return D->getKind() == MkPopup; in classof() 578 return Res->getKind() == RkMenu; in classof() 715 return Res->getKind() == RkUser; in classof() 743 return S->getKind() == StBase; in classof() 764 return S->getKind() == StBlock; in classof() [all …]
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | x86_64.cpp | 81 if (E.getKind() == x86_64::PCRel32GOTLoadRelaxable || in optimizeGOTAndStubAccesses() 82 E.getKind() == x86_64::PCRel32GOTLoadREXRelaxable) { in optimizeGOTAndStubAccesses() 84 bool REXPrefix = E.getKind() == x86_64::PCRel32GOTLoadREXRelaxable; in optimizeGOTAndStubAccesses() 119 printEdge(dbgs(), *B, E, getEdgeKindName(E.getKind())); in optimizeGOTAndStubAccesses() 136 printEdge(dbgs(), *B, E, getEdgeKindName(E.getKind())); in optimizeGOTAndStubAccesses() 148 printEdge(dbgs(), *B, E, getEdgeKindName(E.getKind())); in optimizeGOTAndStubAccesses() 156 } else if (E.getKind() == x86_64::BranchPCRel32ToPtrJumpStubBypassable) { in optimizeGOTAndStubAccesses() 179 printEdge(dbgs(), *B, E, getEdgeKindName(E.getKind())); in optimizeGOTAndStubAccesses()
|
| /llvm-project-15.0.7/llvm/include/llvm/MC/ |
| H A D | MCFragment.h | 93 FragmentType getKind() const { return Kind; } in getKind() function 141 MCFragment::FragmentType Kind = F->getKind(); in classof() 232 MCFragment::FragmentType Kind = F->getKind(); in classof() 247 return F->getKind() == MCFragment::FT_Data; in classof() 339 return F->getKind() == MCFragment::FT_Align; in classof() 366 return F->getKind() == MCFragment::FT_Fill; in classof() 396 return F->getKind() == MCFragment::FT_Nops; in classof() 423 return F->getKind() == MCFragment::FT_Org; in classof() 452 return F->getKind() == MCFragment::FT_LEB; in classof() 476 return F->getKind() == MCFragment::FT_Dwarf; in classof() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | ScheduleDAG.h | 158 Kind getKind() const; 162 return getKind() != Data; in isCtrl() 175 return getKind() == Order && Contents.OrdKind == Barrier; in isBarrier() 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() 229 assert((getKind() == Data || getKind() == Anti || getKind() == Output) && in setReg() 231 assert((getKind() != Anti || Reg != 0) && in setReg() [all …]
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch7/include/toy/ |
| H A D | AST.h | 53 ExprASTKind getKind() const { return kind; } in getKind() function 76 static bool classof(const ExprAST *c) { return c->getKind() == Expr_Num; } in classof() 94 static bool classof(const ExprAST *c) { return c->getKind() == Expr_Literal; } in classof() 111 return c->getKind() == Expr_StructLiteral; in classof() 126 static bool classof(const ExprAST *c) { return c->getKind() == Expr_Var; } in classof() 183 static bool classof(const ExprAST *c) { return c->getKind() == Expr_BinOp; } in classof() 201 static bool classof(const ExprAST *c) { return c->getKind() == Expr_Call; } in classof() 215 static bool classof(const ExprAST *c) { return c->getKind() == Expr_Print; } in classof() 247 RecordASTKind getKind() const { return kind; } in getKind() function 268 return r->getKind() == Record_Function; in classof() [all …]
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
| H A D | RetainCountChecker.h | 115 assert(getKind() == k && "not enough bits for the kind"); in RefVal() 121 Kind getKind() const { return static_cast<Kind>(RawKind); } in getKind() function 153 return getKind() == Owned; in isOwned() 157 return getKind() == NotOwned; in isNotOwned() 161 return getKind() == ReturnedOwned; in isReturnedOwned() 165 return getKind() == ReturnedNotOwned; in isReturnedNotOwned() 185 return RefVal(getKind(), getObjKind(), getCount() - i, 190 return RefVal(getKind(), getObjKind(), getCount() + i, 206 return RefVal(getKind(), getObjKind(), getCount(), getAutoreleaseCount(), in withIvarAccess() 212 return RefVal(getKind(), getObjKind(), getCount(), getAutoreleaseCount(), in releaseViaIvar() [all …]
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | AffineExpr.cpp | 66 switch (getKind()) { in replaceDimsAndSymbols() 136 switch (getKind()) { in replace() 164 switch (getKind()) { in isSymbolicOrConstant() 188 switch (getKind()) { in isPureAffine() 220 switch (getKind()) { in getLargestKnownDivisor() 249 switch (getKind()) { in isMultipleOf() 329 switch (expr.getKind()) { in isDivisibleBySymbol() 388 switch (expr.getKind()) { in symbolicDivide() 408 expr.getKind(), in symbolicDivide() 426 expr.getKind(), in symbolicDivide() [all …]
|