Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/lib/ASTMatchers/Dynamic/
DMarshallers.h70 static ArgKind getKind() {
71 return ArgKind(ArgKind::AK_String);
95 static ArgKind getKind() {
96 return ArgKind(ASTNodeKind::getFromNodeKind<T>());
114 static ArgKind getKind() {
115 return ArgKind(ArgKind::AK_Boolean);
133 static ArgKind getKind() {
134 return ArgKind(ArgKind::AK_Double);
152 static ArgKind getKind() {
153 return ArgKind(ArgKind::AK_Unsigned);
[all …]
DVariantValue.cpp22 std::string ArgKind::asString() const { in asString()
38 bool ArgKind::isConvertibleTo(ArgKind To, unsigned *Specificity) const { in isConvertibleTo()
105 return ArgKind(Matcher.getSupportedKind()) in isConvertibleTo()
165 if (ArgKind(Matcher.getSupportedKind()) in isConvertibleTo()
391 bool VariantValue::isConvertibleTo(ArgKind Kind, unsigned *Specificity) const { in isConvertibleTo()
393 case ArgKind::AK_Boolean: in isConvertibleTo()
399 case ArgKind::AK_Double: in isConvertibleTo()
405 case ArgKind::AK_Unsigned: in isConvertibleTo()
411 case ArgKind::AK_String: in isConvertibleTo()
417 case ArgKind::AK_Matcher: in isConvertibleTo()
[all …]
DRegistry.cpp583 std::vector<ArgKind> Registry::getAcceptedCompletionTypes( in getAcceptedCompletionTypes()
596 std::set<ArgKind> TypeSet(std::begin(InitialTypes), std::end(InitialTypes)); in getAcceptedCompletionTypes()
600 std::vector<ArgKind> NextTypeSet; in getAcceptedCompletionTypes()
601 for (const ArgKind &Kind : TypeSet) { in getAcceptedCompletionTypes()
610 return std::vector<ArgKind>(TypeSet.begin(), TypeSet.end()); in getAcceptedCompletionTypes()
614 Registry::getMatcherCompletions(ArrayRef<ArgKind> AcceptedTypes) { in getMatcherCompletions()
625 std::vector<std::vector<ArgKind>> ArgsKinds(NumArgs); in getMatcherCompletions()
627 for (const ArgKind& Kind : AcceptedTypes) { in getMatcherCompletions()
652 for (const std::vector<ArgKind> &Arg : ArgsKinds) { in getMatcherCompletions()
659 for (const ArgKind &AK : Arg) { in getMatcherCompletions()
[all …]
DParser.cpp323 std::vector<ArgKind> Parser::Sema::getAcceptedCompletionTypes( in getAcceptedCompletionTypes()
329 Parser::Sema::getMatcherCompletions(llvm::ArrayRef<ArgKind> AcceptedTypes) { in getMatcherCompletions()
551 ArrayRef<ArgKind> AcceptedTypes) { in getNamedValueCompletions()
650 std::vector<ArgKind> Parser::RegistrySema::getAcceptedCompletionTypes( in getAcceptedCompletionTypes()
656 ArrayRef<ArgKind> AcceptedTypes) { in getMatcherCompletions()
/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-project/clang/include/clang/ASTMatchers/Dynamic/
DVariantValue.h34 class ArgKind {
44 ArgKind(Kind K) : K(K) { assert(K != AK_Matcher); } in ArgKind() function
47 ArgKind(ASTNodeKind MatcherKind) : K(AK_Matcher), MatcherKind(MatcherKind) {} in ArgKind() function
61 bool isConvertibleTo(ArgKind To, unsigned *Specificity) const;
63 bool operator<(const ArgKind &Other) const {
301 bool isConvertibleTo(ArgKind Kind, unsigned* Specificity) const;
311 bool isConvertibleTo(ArrayRef<ArgKind> Kinds, unsigned *Specificity) const;
DParser.h111 virtual std::vector<ArgKind> getAcceptedCompletionTypes(
124 getMatcherCompletions(llvm::ArrayRef<ArgKind> AcceptedTypes);
142 std::vector<ArgKind> getAcceptedCompletionTypes(
146 getMatcherCompletions(llvm::ArrayRef<ArgKind> AcceptedTypes) override;
245 getNamedValueCompletions(ArrayRef<ArgKind> AcceptedTypes);
DRegistry.h83 static std::vector<ArgKind> getAcceptedCompletionTypes(
96 getMatcherCompletions(ArrayRef<ArgKind> AcceptedTypes);
/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/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-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/llvm-project/llvm/include/llvm/IR/
DIntrinsics.h140 enum ArgKind { enum
158 ArgKind getArgumentKind() const { in getArgumentKind()
164 return (ArgKind)(Argument_Info & 7); in getArgumentKind()
/external/llvm-project/compiler-rt/lib/ubsan/
Dubsan_diag.h150 enum ArgKind { enum
169 ArgKind Kind;
/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/llvm-project/clang/include/clang/AST/
DTemplateBase.h65 enum ArgKind {
245 ArgKind getKind() const { return (ArgKind)TypeOrValue.Kind; }
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp4150 enum ArgKind { AK_GeneralPurpose, AK_FloatingPoint, AK_Memory }; enum
4166 ArgKind classifyArgument(Value* arg) { in classifyArgument()
4225 ArgKind AK = classifyArgument(A); in visitCallBase()
4541 enum ArgKind { AK_GeneralPurpose, AK_FloatingPoint, AK_Memory }; enum
4546 ArgKind classifyArgument(Value* arg) { in classifyArgument()
4576 ArgKind AK = classifyArgument(A); in visitCallBase()
4980 enum class ArgKind { enum
4994 ArgKind classifyArgument(Type *T, bool IsSoftFloatABI) { in classifyArgument()
5002 return ArgKind::Indirect; in classifyArgument()
5004 return IsSoftFloatABI ? ArgKind::GeneralPurpose : ArgKind::FloatingPoint; in classifyArgument()
[all …]
/external/llvm-project/clang/include/clang/Serialization/
DASTRecordWriter.h208 void AddTemplateArgumentLocInfo(TemplateArgument::ArgKind Kind,
DASTRecordReader.h151 readTemplateArgumentLocInfo(TemplateArgument::ArgKind Kind);

12