Home
last modified time | relevance | path

Searched refs:ArgKind (Results 1 – 19 of 19) sorted by relevance

/external/clang/lib/ASTMatchers/Dynamic/
DMarshallers.h47 static ArgKind getKind() {
48 return ArgKind(ArgKind::AK_String);
63 static ArgKind getKind() {
64 return ArgKind(ast_type_traits::ASTNodeKind::getFromNodeKind<T>());
73 static ArgKind getKind() {
74 return ArgKind(ArgKind::AK_Unsigned);
94 static ArgKind getKind() {
95 return ArgKind(ArgKind::AK_String);
116 static ArgKind getKind() {
117 return ArgKind(ArgKind::AK_String);
[all …]
DVariantValue.cpp23 std::string ArgKind::asString() const { in asString()
35 bool ArgKind::isConvertibleTo(ArgKind To, unsigned *Specificity) const { in isConvertibleTo()
103 return ArgKind(Matcher.getSupportedKind()) in isConvertibleTo()
164 if (ArgKind(Matcher.getSupportedKind()) in isConvertibleTo()
343 bool VariantValue::isConvertibleTo(ArgKind Kind, unsigned *Specificity) const { in isConvertibleTo()
345 case ArgKind::AK_Unsigned: in isConvertibleTo()
351 case ArgKind::AK_String: in isConvertibleTo()
357 case ArgKind::AK_Matcher: in isConvertibleTo()
365 bool VariantValue::isConvertibleTo(ArrayRef<ArgKind> Kinds, in isConvertibleTo()
368 for (const ArgKind& Kind : Kinds) { in isConvertibleTo()
DRegistry.cpp461 std::vector<ArgKind> Registry::getAcceptedCompletionTypes( in getAcceptedCompletionTypes()
474 std::set<ArgKind> TypeSet(std::begin(InitialTypes), std::end(InitialTypes)); in getAcceptedCompletionTypes()
478 std::vector<ArgKind> NextTypeSet; in getAcceptedCompletionTypes()
479 for (const ArgKind &Kind : TypeSet) { in getAcceptedCompletionTypes()
488 return std::vector<ArgKind>(TypeSet.begin(), TypeSet.end()); in getAcceptedCompletionTypes()
492 Registry::getMatcherCompletions(ArrayRef<ArgKind> AcceptedTypes) { in getMatcherCompletions()
503 std::vector<std::vector<ArgKind>> ArgsKinds(NumArgs); in getMatcherCompletions()
505 for (const ArgKind& Kind : AcceptedTypes) { in getMatcherCompletions()
530 for (const std::vector<ArgKind> &Arg : ArgsKinds) { in getMatcherCompletions()
537 for (const ArgKind &AK : Arg) { in getMatcherCompletions()
[all …]
DParser.cpp262 std::vector<ArgKind> Parser::Sema::getAcceptedCompletionTypes( in getAcceptedCompletionTypes()
264 return std::vector<ArgKind>(); in getAcceptedCompletionTypes()
268 Parser::Sema::getMatcherCompletions(llvm::ArrayRef<ArgKind> AcceptedTypes) { in getMatcherCompletions()
449 ArrayRef<ArgKind> AcceptedTypes) { in getNamedValueCompletions()
547 std::vector<ArgKind> Parser::RegistrySema::getAcceptedCompletionTypes( in getAcceptedCompletionTypes()
553 ArrayRef<ArgKind> AcceptedTypes) { in getMatcherCompletions()
/external/clang/include/clang/ASTMatchers/Dynamic/
DVariantValue.h35 class ArgKind {
43 ArgKind(Kind K) : K(K) { assert(K != AK_Matcher); } in ArgKind() function
46 ArgKind(ast_type_traits::ASTNodeKind MatcherKind) in ArgKind() function
61 bool isConvertibleTo(ArgKind To, unsigned *Specificity) const;
63 bool operator<(const ArgKind &Other) const {
285 bool isConvertibleTo(ArgKind Kind, unsigned* Specificity) const;
295 bool isConvertibleTo(ArrayRef<ArgKind> Kinds, unsigned *Specificity) const;
DParser.h106 virtual std::vector<ArgKind> getAcceptedCompletionTypes(
119 getMatcherCompletions(llvm::ArrayRef<ArgKind> AcceptedTypes);
137 std::vector<ArgKind> getAcceptedCompletionTypes(
141 getMatcherCompletions(llvm::ArrayRef<ArgKind> AcceptedTypes) override;
241 getNamedValueCompletions(ArrayRef<ArgKind> AcceptedTypes);
DRegistry.h78 static std::vector<ArgKind> getAcceptedCompletionTypes(
91 getMatcherCompletions(ArrayRef<ArgKind> AcceptedTypes);
/external/llvm/include/llvm/IR/
DIntrinsics.h106 enum ArgKind { enum
120 ArgKind getArgumentKind() const { in getArgumentKind()
125 return (ArgKind)(Argument_Info & 7); in getArgumentKind()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DIntrinsics.h115 enum ArgKind { enum
129 ArgKind getArgumentKind() const { in getArgumentKind()
134 return (ArgKind)(Argument_Info & 7); in getArgumentKind()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DIntrinsics.h119 enum ArgKind { enum
137 ArgKind getArgumentKind() const { in getArgumentKind()
143 return (ArgKind)(Argument_Info & 7); in getArgumentKind()
/external/compiler-rt/lib/ubsan/
Dubsan_diag.h142 enum ArgKind { enum
161 ArgKind Kind;
/external/clang/include/clang/AST/
DTemplateBase.h43 enum ArgKind { enum
216 ArgKind getKind() const { return (ArgKind)TypeOrValue.Kind; } in getKind()
/external/clang/include/clang/Sema/
DAttributeList.h296 IdentifierLoc *ArgKind, ParsedType matchingCType, in AttributeList() argument
303 ArgsUnion PVal(ArgKind); in AttributeList()
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp2873 enum ArgKind { AK_GeneralPurpose, AK_FloatingPoint, AK_Memory }; enum
2875 ArgKind classifyArgument(Value* arg) { in classifyArgument()
2920 ArgKind AK = classifyArgument(A); in visitCallSite()
3168 enum ArgKind { AK_GeneralPurpose, AK_FloatingPoint, AK_Memory }; enum
3170 ArgKind classifyArgument(Value* arg) { in classifyArgument()
3200 ArgKind AK = classifyArgument(A); in visitCallSite()
/external/clang/include/clang/Serialization/
DASTWriter.h840 void AddTemplateArgumentLocInfo(TemplateArgument::ArgKind Kind,
DASTReader.h1587 GetTemplateArgumentLocInfo(ModuleFile &F, TemplateArgument::ArgKind Kind,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp3849 enum ArgKind { AK_GeneralPurpose, AK_FloatingPoint, AK_Memory }; enum
3865 ArgKind classifyArgument(Value* arg) { in classifyArgument()
3924 ArgKind AK = classifyArgument(A); in visitCallSite()
4241 enum ArgKind { AK_GeneralPurpose, AK_FloatingPoint, AK_Memory }; enum
4246 ArgKind classifyArgument(Value* arg) { in classifyArgument()
4276 ArgKind AK = classifyArgument(A); in visitCallSite()
/external/clang/lib/Serialization/
DASTReader.cpp6162 TemplateArgument::ArgKind Kind, in GetTemplateArgumentLocInfo()
7842 TemplateArgument::ArgKind Kind = (TemplateArgument::ArgKind)Record[Idx++]; in ReadTemplateArgument()
DASTWriter.cpp4880 TemplateArgument::ArgKind Kind, const TemplateArgumentLocInfo &Arg) { in AddTemplateArgumentLocInfo()