| /freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Marshallers.h | 69 static ArgKind getKind() { 70 return ArgKind(ArgKind::AK_String); 94 static ArgKind getKind() { 95 return ArgKind::MakeMatcherArg(ASTNodeKind::getFromNodeKind<T>()); 113 static ArgKind getKind() { 114 return ArgKind(ArgKind::AK_Boolean); 132 static ArgKind getKind() { 133 return ArgKind(ArgKind::AK_Double); 151 static ArgKind getKind() { 152 return ArgKind(ArgKind::AK_Unsigned); [all …]
|
| H A D | VariantValue.cpp | 22 std::string ArgKind::asString() const { in asString() 40 bool ArgKind::isConvertibleTo(ArgKind To, unsigned *Specificity) const { in isConvertibleTo() 112 return ArgKind::MakeMatcherArg(Matcher.getSupportedKind()) in isConvertibleTo() 113 .isConvertibleTo(ArgKind::MakeMatcherArg(Kind), Specificity); in isConvertibleTo() 172 if (ArgKind::MakeMatcherArg(Matcher.getSupportedKind()) in isConvertibleTo() 173 .isConvertibleTo(ArgKind::MakeMatcherArg(Kind), in isConvertibleTo() 422 bool VariantValue::isConvertibleTo(ArgKind Kind, unsigned *Specificity) const { in isConvertibleTo() 424 case ArgKind::AK_Boolean: in isConvertibleTo() 430 case ArgKind::AK_Double: in isConvertibleTo() 436 case ArgKind::AK_Unsigned: in isConvertibleTo() [all …]
|
| H A D | Registry.cpp | 665 std::vector<ArgKind> Registry::getAcceptedCompletionTypes( in getAcceptedCompletionTypes() 678 std::set<ArgKind> TypeSet; in getAcceptedCompletionTypes() 680 TypeSet.insert(ArgKind::MakeMatcherArg(IT)); in getAcceptedCompletionTypes() 685 std::vector<ArgKind> NextTypeSet; in getAcceptedCompletionTypes() 686 for (const ArgKind &Kind : TypeSet) { in getAcceptedCompletionTypes() 695 return std::vector<ArgKind>(TypeSet.begin(), TypeSet.end()); in getAcceptedCompletionTypes() 699 Registry::getMatcherCompletions(ArrayRef<ArgKind> AcceptedTypes) { in getMatcherCompletions() 710 std::vector<std::vector<ArgKind>> ArgsKinds(NumArgs); in getMatcherCompletions() 713 for (const ArgKind& Kind : AcceptedTypes) { in getMatcherCompletions() 763 for (const std::vector<ArgKind> &Arg : ArgsKinds) { in getMatcherCompletions() [all …]
|
| H A D | Parser.cpp | 322 std::vector<ArgKind> Parser::Sema::getAcceptedCompletionTypes( in getAcceptedCompletionTypes() 328 Parser::Sema::getMatcherCompletions(llvm::ArrayRef<ArgKind> AcceptedTypes) { in getMatcherCompletions() 745 ArrayRef<ArgKind> AcceptedTypes) { in getNamedValueCompletions() 844 std::vector<ArgKind> Parser::RegistrySema::getAcceptedCompletionTypes( in getAcceptedCompletionTypes() 850 ArrayRef<ArgKind> AcceptedTypes) { in getMatcherCompletions()
|
| /freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/Dynamic/ |
| H A D | VariantValue.h | 34 class ArgKind { 45 ArgKind(Kind K) : K(K) { assert(K != AK_Matcher); } in ArgKind() function 48 static ArgKind MakeMatcherArg(ASTNodeKind MatcherKind) { in MakeMatcherArg() 49 return ArgKind{AK_Matcher, MatcherKind}; in MakeMatcherArg() 52 static ArgKind MakeNodeArg(ASTNodeKind MatcherKind) { in MakeNodeArg() 53 return ArgKind{AK_Node, MatcherKind}; in MakeNodeArg() 72 bool isConvertibleTo(ArgKind To, unsigned *Specificity) const; 74 bool operator<(const ArgKind &Other) const { 85 ArgKind(Kind K, ASTNodeKind NK) : K(K), NodeKind(NK) {} in ArgKind() function 312 bool isConvertibleTo(ArgKind Kind, unsigned* Specificity) const; [all …]
|
| H A D | Parser.h | 119 virtual std::vector<ArgKind> getAcceptedCompletionTypes( 132 getMatcherCompletions(llvm::ArrayRef<ArgKind> AcceptedTypes); 150 std::vector<ArgKind> getAcceptedCompletionTypes( 163 getMatcherCompletions(llvm::ArrayRef<ArgKind> AcceptedTypes) override; 266 getNamedValueCompletions(ArrayRef<ArgKind> AcceptedTypes);
|
| H A D | Registry.h | 108 static std::vector<ArgKind> getAcceptedCompletionTypes( 121 getMatcherCompletions(ArrayRef<ArgKind> AcceptedTypes);
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | TemplateBase.h | 64 enum ArgKind { 114 LLVM_PREFERRED_TYPE(ArgKind) 122 LLVM_PREFERRED_TYPE(ArgKind) 142 LLVM_PREFERRED_TYPE(ArgKind) 150 LLVM_PREFERRED_TYPE(ArgKind) 158 LLVM_PREFERRED_TYPE(ArgKind) 166 LLVM_PREFERRED_TYPE(ArgKind) 296 ArgKind getKind() const { return (ArgKind)TypeOrValue.Kind; }
|
| H A D | PropertiesBase.td | 141 def TemplateArgumentKind : EnumPropertyType<"TemplateArgument::ArgKind">;
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Intrinsics.h | 182 enum ArgKind { enum 195 ArgKind getArgumentKind() const { in getArgumentKind() 200 return (ArgKind)(Argument_Info & 7); in getArgumentKind()
|
| H A D | Intrinsics.td | 193 // llvm::Intrinsic::IITDescriptor::ArgKind::AK_% 194 def ArgKind { 247 !eq(ah, EncMatchType<>.ID) : !or(!shl(num, 3), ArgKind.MatchType), 397 !eq(vt, Any) : ArgKind.Any, 398 !eq(vt, iAny) : ArgKind.AnyInteger, 399 !eq(vt, fAny) : ArgKind.AnyFloat, 400 !eq(vt, vAny) : ArgKind.AnyVector, 401 !eq(vt, pAny) : ArgKind.AnyPointer,
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/ |
| H A D | ubsan_diag.h | 130 enum ArgKind { 149 ArgKind Kind; 150 enum ArgKind { global() enum
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | StdVariantChecker.cpp | 250 case TemplateArgument::ArgKind::Type: in handleStdGetCall() 253 case TemplateArgument::ArgKind::Integral: in handleStdGetCall()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | MemorySanitizer.cpp | 6511 enum ArgKind { AK_GeneralPurpose, AK_FloatingPoint, AK_Memory }; enum 6527 ArgKind classifyArgument(Value *arg) { in classifyArgument() 6590 ArgKind AK = classifyArgument(A); in visitCallBase() 6738 enum ArgKind { AK_GeneralPurpose, AK_FloatingPoint, AK_Memory }; enum 6745 std::pair<ArgKind, uint64_t> classifyArgument(Type *T) { in classifyArgument() 7309 enum class ArgKind { enum 7324 ArgKind classifyArgument(Type *T) { in classifyArgument() 7332 return ArgKind::Indirect; in classifyArgument() 7334 return IsSoftFloatABI ? ArgKind::GeneralPurpose : ArgKind::FloatingPoint; in classifyArgument() 7336 return ArgKind::GeneralPurpose; in classifyArgument() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | IR2Vec.cpp | 242 OperandKind ArgKind = getOperandKind(Arg); in operator []() local 243 return Vocab[MaxOpcodes + MaxTypeIDs + static_cast<unsigned>(ArgKind)]; in operator []()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Serialization/ |
| H A D | ASTRecordReader.h | 145 readTemplateArgumentLocInfo(TemplateArgument::ArgKind Kind);
|
| H A D | ASTRecordWriter.h | 250 void AddTemplateArgumentLocInfo(TemplateArgument::ArgKind Kind,
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | ParsedAttr.h | 257 AttributeScopeInfo scope, IdentifierLoc *ArgKind, in ParsedAttr() argument 265 ArgsUnion PVal(ArgKind); in ParsedAttr()
|
| /freebsd/contrib/llvm-project/clang/utils/TableGen/ |
| H A D | ClangAttrEmitter.cpp | 2538 StringRef ArgKind = Arg->getDirectSuperClasses().back().first->getName(); in isStringLiteralArgument() local 2539 if (ArgKind == "EnumArgument") in isStringLiteralArgument() 2541 return ArgKind == "StringArgument"; in isStringLiteralArgument() 2547 StringRef ArgKind = Arg->getDirectSuperClasses().back().first->getName(); in isVariadicStringLiteralArgument() local 2548 if (ArgKind == "VariadicEnumArgument") in isVariadicStringLiteralArgument() 2550 return ArgKind == "VariadicStringArgument"; in isVariadicStringLiteralArgument()
|
| /freebsd/contrib/llvm-project/clang/lib/ExtractAPI/ |
| H A D | DeclarationFragments.cpp | 1483 DeclarationFragments::FragmentKind ArgKind = in getFragmentsForObjCProperty() 1497 .append(Arg, ArgKind); in getFragmentsForObjCProperty()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaTypeTraits.cpp | 2009 if (Arg.getKind() == TemplateArgument::ArgKind::Pack) { in ExtractTypeTraitFromExpression() 2012 } else if (Arg.getKind() == TemplateArgument::ArgKind::Type) { in ExtractTypeTraitFromExpression()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | TypePrinter.cpp | 2320 const TemplateArgument::ArgKind &Kind = A.getArgument().getKind(); in printArgument() 2321 if (Kind == TemplateArgument::ArgKind::Type) in printArgument()
|
| H A D | ASTContext.cpp | 13616 case TemplateArgument::ArgKind::Type: in getCommonTemplateArgument() 13621 case TemplateArgument::ArgKind::NullPtr: in getCommonTemplateArgument() 13627 case TemplateArgument::ArgKind::Expression: in getCommonTemplateArgument() 13632 case TemplateArgument::ArgKind::Template: { in getCommonTemplateArgument() 13639 case TemplateArgument::ArgKind::TemplateExpansion: { in getCommonTemplateArgument()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | PathDiagnostic.cpp | 895 if (TArg.getKind() == TemplateArgument::ArgKind::Pack) { in describeTemplateParameter()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 6751 TemplateArgument::ArgKind Kind, const TemplateArgumentLocInfo &Arg) { in AddTemplateArgumentLocInfo()
|