Home
last modified time | relevance | path

Searched defs:decl (Results 1 – 25 of 132) sorted by relevance

123456

/llvm-project/libcxx/test/tools/clang_tidy_checks/
H A Dheader_exportable_declarations.cpp71 for (auto decl : std::views::split(*list, ' ')) { in header_exportable_declarations() local
80 for (auto decl : std::views::split(*list, ' ')) { in header_exportable_declarations() local
153 get_qualified_name(const clang::NamedDecl & decl) get_qualified_name() argument
185 is_viable_declaration(const clang::NamedDecl * decl) is_viable_declaration() argument
220 is_valid_declaration_context(const clang::NamedDecl & decl,std::string_view name,header_exportable_declarations::FileType file_type) is_valid_declaration_context() argument
253 if (const auto* decl = result.Nodes.getNodeAs<clang::NamedDecl>("header_exportable_declarations"); decl != nullptr) { check() local
288 } else if (const auto* decl = result.Nodes.getNodeAs<clang::NamedDecl>("cheader_exportable_declarations"); check() local
[all...]
/llvm-project/llvm/include/llvm-c/
H A DDeprecated.h25 # define LLVM_ATTRIBUTE_C_DEPRECATED(decl, message) \ argument
28 # define LLVM_ATTRIBUTE_C_DEPRECATED(decl, message) \ argument
31 # define LLVM_ATTRIBUTE_C_DEPRECATED(decl, message) \ argument
34 # define LLVM_ATTRIBUTE_C_DEPRECATED(decl, message) \ argument
/llvm-project/polly/lib/External/isl/
H A Disl_arg.c290 static int print_arg_help(struct isl_arg *decl, struct isl_prefixes *prefixes, in print_arg_help()
372 static int print_help_msg(struct isl_arg *decl, int pos) in print_help_msg()
380 static void print_default(struct isl_arg *decl, const char *def, int pos) in print_default()
402 static void print_default_choice(struct isl_arg *decl, void *opt, int pos) in print_default_choice()
418 static void print_choice_help(struct isl_arg *decl, in print_choice_help()
443 static void print_default_flags(struct isl_arg *decl, void *opt, int pos) in print_default_flags()
482 static void print_flags_help(struct isl_arg *decl, in print_flags_help()
516 static void print_bool_help(struct isl_arg *decl, in print_bool_help()
529 static int print_argument_name(struct isl_arg *decl, const char *name, int pos) in print_argument_name()
535 static void print_int_help(struct isl_arg *decl, in print_int_help()
[all …]
/llvm-project/mlir/lib/Tools/PDLL/AST/
H A DNodePrinter.cpp282 void NodePrinter::printImpl(const AttrConstraintDecl *decl) { in printImpl()
288 void NodePrinter::printImpl(const OpConstraintDecl *decl) { in printImpl()
293 void NodePrinter::printImpl(const TypeConstraintDecl *decl) { in printImpl()
297 void NodePrinter::printImpl(const TypeRangeConstraintDecl *decl) { in printImpl()
301 void NodePrinter::printImpl(const UserConstraintDecl *decl) { in printImpl()
316 void NodePrinter::printImpl(const ValueConstraintDecl *decl) { in printImpl()
322 void NodePrinter::printImpl(const ValueRangeConstraintDecl *decl) { in printImpl()
328 void NodePrinter::printImpl(const NamedAttributeDecl *decl) { in printImpl()
334 void NodePrinter::printImpl(const OpNameDecl *decl) { in printImpl()
341 void NodePrinter::printImpl(const PatternDecl *decl) { in printImpl()
[all …]
H A DNodes.cpp123 void visitImpl(const AttrConstraintDecl *decl) { visit(decl->getTypeExpr()); } in visitImpl()
124 void visitImpl(const OpConstraintDecl *decl) { visit(decl->getNameDecl()); } in visitImpl()
125 void visitImpl(const TypeConstraintDecl *decl) {} in visitImpl()
126 void visitImpl(const TypeRangeConstraintDecl *decl) {} in visitImpl()
127 void visitImpl(const ValueConstraintDecl *decl) { in visitImpl()
130 void visitImpl(const ValueRangeConstraintDecl *decl) { in visitImpl()
134 void visitImpl(const NamedAttributeDecl *decl) { visit(decl->getValue()); } in visitImpl()
135 void visitImpl(const OpNameDecl *decl) {} in visitImpl()
136 void visitImpl(const PatternDecl *decl) { visit(decl->getBody()); } in visitImpl()
137 void visitImpl(const UserConstraintDecl *decl) { in visitImpl()
[all …]
/llvm-project/lldb/test/API/functionalities/lazy-loading/
H A DTestLazyLoading.py70 def decl_in_line(self, line, decl): argument
85 def decl_completed_in_line(self, line, decl): argument
99 def assert_decl_loaded(self, decl): argument
120 def assert_decl_not_completed(self, decl): argument
132 def assert_decl_not_loaded(self, decl): argument
/llvm-project/mlir/lib/Conversion/SCFToOpenMP/
H A DSCFToOpenMP.cpp191 auto decl = builder.create<omp::DeclareReductionOp>(reduce.getLoc(), in createDecl() local
220 omp::DeclareReductionOp decl, in addAtomicRMW() argument
265 omp::DeclareReductionOp decl = declareReduction() local
272 omp::DeclareReductionOp decl = declareReduction() local
279 omp::DeclareReductionOp decl = declareReduction() local
286 omp::DeclareReductionOp decl = declareReduction() local
293 omp::DeclareReductionOp decl = createDecl( declareReduction() local
330 omp::DeclareReductionOp decl = declareReduction() local
343 omp::DeclareReductionOp decl = declareReduction() local
373 omp::DeclareReductionOp decl = declareReduction(rewriter, reduce, i); matchAndRewrite() local
[all...]
/llvm-project/lldb/include/lldb/Symbol/
H A DCompilerDecl.h37 CompilerDecl(TypeSystem *type_system, void *decl) in CompilerDecl()
60 void SetDecl(TypeSystem *type_system, void *decl) { in SetDecl()
/llvm-project/mlir/lib/Tools/PDLL/CodeGen/
H A DCPPGen.cpp150 for (const ast::Decl *decl : astModule.getChildren()) { in generateConstraintAndRewrites() local
153 [&](const auto *decl) { in generateConstraintAndRewrites()
163 void CodeGen::generate(const ast::UserConstraintDecl *decl, in generate()
169 void CodeGen::generate(const ast::UserRewriteDecl *decl, in generate()
190 StringRef CodeGen::getNativeTypeName(ast::VariableDecl *decl) { in getNativeTypeName()
204 void CodeGen::generateConstraintOrRewrite(const ast::CallableDecl *decl, in generateConstraintOrRewrite()
H A DMLIRGen.cpp141 for (const ast::Decl *decl : module.getChildren()) in generate() local
269 void CodeGen::genImpl(const ast::UserConstraintDecl *decl) { in genImpl()
275 void CodeGen::genImpl(const ast::UserRewriteDecl *decl) { in genImpl()
281 void CodeGen::genImpl(const ast::PatternDecl *decl) { in genImpl()
423 if (const auto *decl = dyn_cast<ast::UserConstraintDecl>(callable)) in genExprImpl() local
425 if (const auto *decl = dyn_cast<ast::UserRewriteDecl>(callable)) in genExprImpl() local
551 CodeGen::genConstraintCall(const ast::UserConstraintDecl *decl, Location loc, in genConstraintCall()
568 SmallVector<Value> CodeGen::genRewriteCall(const ast::UserRewriteDecl *decl, in genRewriteCall()
576 CodeGen::genConstraintOrRewriteCall(const T *decl, Location loc, in genConstraintOrRewriteCall()
/llvm-project/polly/lib/External/isl/interface/
H A Dgenerator.cc196 void generator::add_subclass(RecordDecl *decl, const string &super_name, in add_subclass()
213 void generator::add_class(RecordDecl *decl) in add_class()
229 EnumDecl *decl = enum_type->getDecl(); in add_type_subclasses() local
253 static void add_set_enum(isl_class *c, const string &prefix, EnumDecl *decl, in add_set_enum()
284 EnumDecl *decl; in handled_sets_enum() local
395 FunctionDecl *decl = *in; in generator() local
471 std::vector<string> generator::find_superclasses(Decl *decl) in find_superclasses()
503 bool generator::is_subclass(FunctionDecl *decl) in is_subclass()
510 bool generator::is_overload(Decl *decl) in is_overload()
517 bool generator::is_constructor(Decl *decl) in is_constructor()
[all …]
/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTImporter.cpp70 clang::Decl *decl) { in CopyDecl() argument
118 if (m_backups.contains(decl)) { in OverrideOne() argument
130 ChainPassesThrough(clang::Decl * decl,clang::DeclContext * base,clang::DeclContext * (clang::Decl::* contextFromDecl)(),clang::DeclContext * (clang::DeclContext::* contextFromContext)()) ChainPassesThrough() argument
143 GetEscapedChild(clang::Decl * decl,clang::DeclContext * base=nullptr) GetEscapedChild() argument
174 Override(clang::Decl * decl) Override() argument
192 OverrideAllDeclsFromContainingFunction(clang::Decl * decl) OverrideAllDeclsFromContainingFunction() argument
252 NamedDecl *decl = m_decls_to_complete.pop_back_val(); ~CompleteTagDeclsScope() local
332 DeportDecl(clang::ASTContext * dst_ctx,clang::Decl * decl) DeportDecl() argument
791 SetRecordLayout(clang::RecordDecl * decl,const LayoutInfo & layout) SetRecordLayout() argument
796 CompleteTagDecl(clang::TagDecl * decl) CompleteTagDecl() argument
816 CompleteTagDeclWithOrigin(clang::TagDecl * decl,clang::TagDecl * origin_decl) CompleteTagDeclWithOrigin() argument
953 GetDeclMetadata(const clang::Decl * decl) GetDeclMetadata() argument
965 GetDeclOrigin(const clang::Decl * decl) GetDeclOrigin() argument
971 SetDeclOrigin(const clang::Decl * decl,clang::Decl * original_decl) SetDeclOrigin() argument
978 RegisterNamespaceMap(const clang::NamespaceDecl * decl,NamespaceMapSP & namespace_map) RegisterNamespaceMap() argument
986 GetNamespaceMap(const clang::NamespaceDecl * decl) GetNamespaceMap() argument
998 BuildNamespaceMap(const clang::NamespaceDecl * decl) BuildNamespaceMap() argument
[all...]
H A DClangASTImporter.h262 clang::Decl *decl = nullptr; global() member
380 setOrigin(const clang::Decl * decl,DeclOrigin origin) setOrigin() argument
392 removeOrigin(const clang::Decl * decl) removeOrigin() argument
409 getOrigin(const clang::Decl * decl) getOrigin() argument
417 hasOrigin(const clang::Decl * decl) hasOrigin() argument
488 D *decl; global() variable
[all...]
H A DClangUtil.cpp31 clang::Decl *ClangUtil::GetDecl(const CompilerDecl &decl) { in GetDecl() argument
/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DUniqueDWARFASTType.h27 UniqueDWARFASTType(lldb::TypeSP & type_sp,const DWARFDIE & die,const Declaration & decl,int32_t byte_size) UniqueDWARFASTType() argument
83 Find(ConstString name,const DWARFDIE & die,const Declaration & decl,const int32_t byte_size,UniqueDWARFASTType & entry) Find() argument
H A DUniqueDWARFASTType.cpp17 Find(const DWARFDIE & die,const lldb_private::Declaration & decl,const int32_t byte_size,UniqueDWARFASTType & entry) const Find() argument
/llvm-project/lldb/source/Plugins/SymbolFile/CTF/
H A DSymbolFileCTF.cpp368 Declaration decl; CreateInteger() local
405 Declaration decl; CreateModifier() local
425 Declaration decl; CreateTypedef() local
452 Declaration decl; CreateArray() local
460 Declaration decl; CreateEnum() local
497 Declaration decl; CreateFunction() local
510 Declaration decl; CreateRecord() local
566 Declaration decl; CreateForward() local
771 Declaration decl; ParseFunctions() local
888 Declaration decl; ParseObjects() local
[all...]
/llvm-project/lldb/source/Symbol/
H A DDeclVendor.cpp23 for (auto decl : decls) in FindTypes() local
/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp193 static bool AddSourceInfoToDecl(const PDBSymbol &symbol, Declaration &decl) { in AddSourceInfoToDecl() argument
372 Declaration decl; in CreateLLDBTypeFromPDBType() local
863 clang::Decl *decl = m_uid_to_decl.lookup(sym_id); GetDeclForSymbol() local
923 clang::Decl *decl = GetDeclForSymbol() local
956 auto decl = m_ast.CreateFunctionDeclaration( GetDeclForSymbol() local
1154 Declaration decl; AddEnumValue() local
1276 auto decl = TypeSystemClang::AddFieldToRecordType( AddRecordMembers() local
1292 auto decl = TypeSystemClang::AddVariableToRecordType( AddRecordMembers() local
1400 auto decl = m_ast.GetAsCXXRecordDecl(base_comp_type.GetOpaqueQualType()); AddRecordBases() local
1416 if (clang::CXXMethodDecl *decl = AddRecordMethods() local
[all...]
/llvm-project/flang/lib/Semantics/
H A Dcheck-data.cpp264 std::get<std::optional<parser::Initialization>>(decl.t)}) { in LegacyDataInit() argument
277 Leave(const parser::ComponentDecl & decl) Leave() argument
281 Leave(const parser::EntityDecl & decl) Leave() argument
/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp315 clang::Decl *decl = FromCompilerDecl(*option); in GetOrCreateDeclContextForUid() local
654 if (clang::Decl *decl = TryGetDecl(block_id)) in GetOrCreateBlockDecl() local
692 if (clang::Decl *decl = TryGetDecl(var_id)) in GetOrCreateVariableDecl() local
707 if (clang::Decl *decl = TryGetDecl(var_id)) in GetOrCreateVariableDecl() local
720 if (clang::Decl *decl = TryGetDecl(id)) GetOrCreateTypedefDecl() local
937 if (clang::Decl *decl = TryGetDecl(func_id)) GetOrCreateInlinedFunctionDecl() local
1015 if (clang::Decl *decl = TryGetDecl(func_id)) GetOrCreateFunctionDecl() local
1330 skipFunctionParameters(clang::Decl & decl,const CVSymbolArray & symbols) skipFunctionParameters() argument
1389 clang::Decl *decl = clang::Decl::castFromDeclContext(&context); ParseDeclsForSimpleContext() local
1430 ToCompilerDecl(clang::Decl & decl) ToCompilerDecl() argument
1443 FromCompilerDecl(CompilerDecl decl) FromCompilerDecl() argument
[all...]
H A DSymbolFileNativePDB.cpp460 &decl, &callsite); in CreateBlock() local
555 Declaration decl; CreateModifierType() local
577 Declaration decl; CreatePointerType() local
587 Declaration decl; CreateSimpleType() local
608 Declaration decl; CreateSimpleType() local
619 Declaration decl; CreateSimpleType() local
651 Declaration decl; CreateClassStructUnion() local
674 Declaration decl; CreateTagType() local
688 Declaration decl; CreateArrayType() local
700 Declaration decl; CreateFunctionType() local
709 Declaration decl; CreateProcedureType() local
898 Declaration decl; CreateGlobalVariable() local
943 Declaration decl; CreateConstantSymbol() local
1845 Declaration decl; CreateLocalVariable() local
1901 Declaration decl; CreateTypedef() local
2054 if (auto decl = ts->GetNativePDBParser()->GetOrCreateDeclForUid(uid)) GetDeclForUID() local
[all...]
/llvm-project/lldb/source/Plugins/RegisterTypeBuilder/
H A DRegisterTypeBuilderClang.cpp97 Declaration decl; in GetRegisterType() local
/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DASTUtils.cpp63 if (auto *decl = memberCall->getMethodDecl()) { tryToFindPtrOrigin() local
/llvm-project/clang/test/CodeGen/
H A D2005-09-24-BitFieldCrash.c29 void foo (union tree_node * decl) { in foo()

123456