/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 | 23 std::string ArgKind::asString() const { in asString() 41 bool ArgKind::isConvertibleTo(ArgKind To, unsigned *Specificity) const { in isConvertibleTo() 113 return ArgKind::MakeMatcherArg(Matcher.getSupportedKind()) in isConvertibleTo() 114 .isConvertibleTo(ArgKind::MakeMatcherArg(Kind), Specificity); in isConvertibleTo() 173 if (ArgKind::MakeMatcherArg(Matcher.getSupportedKind()) in isConvertibleTo() 174 .isConvertibleTo(ArgKind::MakeMatcherArg(Kind), in isConvertibleTo() 423 bool VariantValue::isConvertibleTo(ArgKind Kind, unsigned *Specificity) const { in isConvertibleTo() 425 case ArgKind::AK_Boolean: in isConvertibleTo() 431 case ArgKind::AK_Double: in isConvertibleTo() 437 case ArgKind::AK_Unsigned: in isConvertibleTo() [all …]
|
H A D | Registry.cpp | 662 std::vector<ArgKind> Registry::getAcceptedCompletionTypes( in getAcceptedCompletionTypes() 675 std::set<ArgKind> TypeSet; in getAcceptedCompletionTypes() 677 TypeSet.insert(ArgKind::MakeMatcherArg(IT)); in getAcceptedCompletionTypes() 682 std::vector<ArgKind> NextTypeSet; in getAcceptedCompletionTypes() 683 for (const ArgKind &Kind : TypeSet) { in getAcceptedCompletionTypes() 692 return std::vector<ArgKind>(TypeSet.begin(), TypeSet.end()); in getAcceptedCompletionTypes() 696 Registry::getMatcherCompletions(ArrayRef<ArgKind> AcceptedTypes) { in getMatcherCompletions() 707 std::vector<std::vector<ArgKind>> ArgsKinds(NumArgs); in getMatcherCompletions() 710 for (const ArgKind& Kind : AcceptedTypes) { in getMatcherCompletions() 760 for (const std::vector<ArgKind> &Arg : ArgsKinds) { in getMatcherCompletions() [all …]
|
/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) 295 ArgKind getKind() const { return (ArgKind)TypeOrValue.Kind; }
|
H A D | PropertiesBase.td | 140 def TemplateArgumentKind : EnumPropertyType<"TemplateArgument::ArgKind">;
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Intrinsics.h | 159 enum ArgKind { enum 173 ArgKind getArgumentKind() const { in getArgumentKind() 179 return (ArgKind)(Argument_Info & 7); in getArgumentKind()
|
H A D | Intrinsics.td | 179 // llvm::Intrinsic::IITDescriptor::ArgKind::AK_% 180 def ArgKind { 233 !eq(ah, EncMatchType<>.ID) : !or(!shl(num, 3), ArgKind.MatchType), 377 !eq(vt, Any) : ArgKind.Any, 378 !eq(vt, iAny) : ArgKind.AnyInteger, 379 !eq(vt, fAny) : ArgKind.AnyFloat, 380 !eq(vt, vAny) : ArgKind.AnyVector, 381 !eq(vt, iPTRAny) : 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 | 252 case TemplateArgument::ArgKind::Type: in handleStdGetCall() 255 case TemplateArgument::ArgKind::Integral: in handleStdGetCall()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | MemorySanitizer.cpp | 5030 enum ArgKind { AK_GeneralPurpose, AK_FloatingPoint, AK_Memory }; enum 5046 ArgKind classifyArgument(Value *arg) { in classifyArgument() 5110 ArgKind AK = classifyArgument(A); in visitCallBase() 5345 enum ArgKind { AK_GeneralPurpose, AK_FloatingPoint, AK_Memory }; enum 5352 std::pair<ArgKind, uint64_t> classifyArgument(Type *T) { in classifyArgument() 5731 enum class ArgKind { enum 5746 ArgKind classifyArgument(Type *T) { in classifyArgument() 5754 return ArgKind::Indirect; in classifyArgument() 5756 return IsSoftFloatABI ? ArgKind::GeneralPurpose : ArgKind::FloatingPoint; in classifyArgument() 5758 return ArgKind::GeneralPurpose; in classifyArgument() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/ |
H A D | ASTRecordWriter.h | 222 void AddTemplateArgumentLocInfo(TemplateArgument::ArgKind Kind,
|
H A D | ASTRecordReader.h | 146 readTemplateArgumentLocInfo(TemplateArgument::ArgKind Kind);
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | ParsedAttr.h | 273 IdentifierLoc *ArgKind, ParsedType matchingCType, in ParsedAttr() argument 280 ArgsUnion PVal(ArgKind); in ParsedAttr()
|
/freebsd/contrib/llvm-project/clang/utils/TableGen/ |
H A D | ClangAttrEmitter.cpp | 2460 StringRef ArgKind = Arg->getSuperClasses().back().first->getName(); in isStringLiteralArgument() local 2461 if (ArgKind == "EnumArgument") in isStringLiteralArgument() 2463 return ArgKind == "StringArgument"; in isStringLiteralArgument() 2469 StringRef ArgKind = Arg->getSuperClasses().back().first->getName(); in isVariadicStringLiteralArgument() local 2470 if (ArgKind == "VariadicEnumArgument") in isVariadicStringLiteralArgument() 2472 return ArgKind == "VariadicStringArgument"; in isVariadicStringLiteralArgument()
|
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/ |
H A D | DeclarationFragments.cpp | 1463 DeclarationFragments::FragmentKind ArgKind = in getFragmentsForObjCProperty() 1477 .append(Arg, ArgKind); in getFragmentsForObjCProperty()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | TypePrinter.cpp | 2155 const TemplateArgument::ArgKind &Kind = A.getArgument().getKind(); in printArgument() 2156 if (Kind == TemplateArgument::ArgKind::Type) in printArgument()
|
H A D | ASTContext.cpp | 12956 case TemplateArgument::ArgKind::Type: in getCommonTemplateArgument() 12961 case TemplateArgument::ArgKind::NullPtr: in getCommonTemplateArgument() 12967 case TemplateArgument::ArgKind::Expression: in getCommonTemplateArgument() 12972 case TemplateArgument::ArgKind::Template: { in getCommonTemplateArgument() 12979 case TemplateArgument::ArgKind::TemplateExpansion: { in getCommonTemplateArgument()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | PathDiagnostic.cpp | 900 if (TArg.getKind() == TemplateArgument::ArgKind::Pack) { in describeTemplateParameter()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTWriter.cpp | 6103 TemplateArgument::ArgKind Kind, const TemplateArgumentLocInfo &Arg) { in AddTemplateArgumentLocInfo()
|
H A D | ASTReader.cpp | 7491 ASTRecordReader::readTemplateArgumentLocInfo(TemplateArgument::ArgKind Kind) { in readTemplateArgumentLocInfo()
|