| /llvm-project/llvm/unittests/Transforms/Utils/ |
| H A D | CloningTest.cpp | 487 auto *Subprogram = DBuilder.createFunction( in CreateOldFunctionBodyAndDI() 490 OldFunc->setSubprogram(Subprogram); in CreateOldFunctionBodyAndDI() 495 DebugLoc Loc = DILocation::get(Subprogram->getContext(), 3, 2, Subprogram); in CreateOldFunctionBodyAndDI() 499 DILocation::get(Subprogram->getContext(), 4, 2, Subprogram)); in CreateOldFunctionBodyAndDI() 503 DILocation::get(Subprogram->getContext(), 5, 2, Subprogram)); in CreateOldFunctionBodyAndDI() 509 DBuilder.createAutoVariable(Subprogram, "x", File, 5, IntType, true); in CreateOldFunctionBodyAndDI() 510 auto *DL = DILocation::get(Subprogram in CreateOldFunctionBodyAndDI() 486 auto *Subprogram = DBuilder.createFunction( CreateOldFunctionBodyAndDI() local 567 TEST_F(CloneFunc,Subprogram) TEST_F() argument 975 auto *Subprogram = DBuilder.createFunction( CreateOldModule() local 1026 TEST_F(CloneModule,Subprogram) TEST_F() argument [all...] |
| /llvm-project/llvm/test/DebugInfo/X86/ |
| H A D | dwarfdump-str-offsets.s | 227 .byte 3 # Subprogram name string (DW_FORM_strx1) 230 .short 0x0004 # Subprogram name string (DW_FORM_strx2) 234 .byte 5 # Subprogram name string (DW_FORM_strx3) 235 .short 0 # Subprogram name string (DW_FORM_strx3) 239 .long 6 # Subprogram name string (DW_FORM_strx4)
|
| H A D | dwarfdump-str-offsets-macho.s | 146 .byte 3 # Subprogram name string (DW_FORM_strx1) 149 .short 0x0004 # Subprogram name string (DW_FORM_strx2) 152 .byte 5 # Subprogram name string (DW_FORM_strx3) 153 .short 0 # Subprogram name string (DW_FORM_strx3) 156 .quad 0x00000006 # Subprogram name string (DW_FORM_strx4)
|
| /llvm-project/flang/test/Semantics/ |
| H A D | cuf-device-procedures01.cuf | 20 ! CHECK-LABEL: Subprogram scope: devsub 42 ! CHECK-LABEL: Subprogram scope: host
|
| H A D | cuf05.cuf | 8 !CHECK: Subprogram scope: devsubr size=0 alignment=1
|
| /llvm-project/llvm/test/DebugInfo/Generic/ |
| H A D | debuginfofinder-multiple-cu.ll | 12 ;CHECK: Subprogram: f from /tmp/test1.c:1 13 ;CHECK: Subprogram: g from /tmp/test2.c:1
|
| H A D | debuginfofinder-inlined-cu.ll | 8 ;CHECK: Subprogram: f from /tmp/test1.c:1 9 ;CHECK: Subprogram: g from /tmp/test2.c:1
|
| /llvm-project/llvm/lib/CodeGen/ |
| H A D | BasicBlockSectionsProfileReader.cpp | 401 DISubprogram *Subprogram = F.getSubprogram(); in doInitialization() local 402 if (Subprogram) { in doInitialization() 403 llvm::DICompileUnit *CU = Subprogram->getUnit(); in doInitialization()
|
| /llvm-project/flang/lib/Semantics/ |
| H A D | check-return.cpp | 21 scope.kind() == Scope::Kind::Subprogram in FindContainingSubprogram()
|
| H A D | tools.cpp | 72 case Scope::Kind::Subprogram: in GetProgramUnitContaining() 91 case Scope::Kind::Subprogram: in GetProgramUnitOrBlockConstructContaining() 1232 case Scope::Kind::Subprogram: in Create() 1598 (symbol.owner().kind() == Scope::Kind::Subprogram || in GetDtvArgTypeSpec()
|
| H A D | resolve-names.cpp | 2521 case Scope::Kind::Subprogram: in NeedsType() 2538 case Scope::Kind::Subprogram: in ApplyImplicitRules() 2573 if (kind == Scope::Kind::Subprogram) { 2945 if ((kind == Scope::Kind::Subprogram && !currScope().IsStmtFunction()) || in Post() 4579 if (inclusiveScope.kind() != Scope::Kind::Subprogram) { in GetSpecificFromGeneric() 4667 PushScope(Scope::Kind::Subprogram, &newSymbol); in Post() 4702 // Subprogram is MODULE FUNCTION or MODULE SUBROUTINE with an interface in Pre() 4851 PushScope(Scope::Kind::Subprogram, symbol); in Pre() 5360 (currScope().kind() == Scope::Kind::Subprogram || in Post() 8206 case Scope::Kind::Subprogram in HandleProcedureName() [all...] |
| H A D | data-to-inits.cpp | 854 case Scope::Kind::Subprogram:
|
| H A D | resolve-names-utils.cpp | 725 Scope &newScope{scope_.MakeScope(Scope::Kind::Subprogram, ©)}; in operator ()()
|
| /llvm-project/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFContext.cpp | 1655 void DWARFContext::addLocalsForDie(DWARFCompileUnit *CU, DWARFDie Subprogram, in addLocalsForDie() argument 1660 if (const char *Name = Subprogram.getSubroutineName(DINameKind::ShortName)) in addLocalsForDie() 1664 if (auto FrameBase = Subprogram.find(DW_AT_frame_base)) in addLocalsForDie() 1714 Subprogram = Origin; in addLocalsForDie() 1717 addLocalsForDie(CU, Subprogram, Child, Result); in addLocalsForDie() 1727 DWARFDie Subprogram = CU->getSubroutineForAddress(Address.Address); in getLocalsForAddress() local 1728 if (Subprogram.isValid()) in getLocalsForAddress() 1729 addLocalsForDie(CU, Subprogram, Subprogram, Result); in getLocalsForAddress()
|
| /llvm-project/llvm/include/llvm/IR/ |
| H A D | DebugInfoFlags.def | 74 // Subprogram-specific flags kept in DISubprogram.
|
| /llvm-project/llvm/include/llvm-c/ |
| H A D | DebugInfo.h | 266 LLVMMetadataRef Subprogram); 1400 * \param Subprogram The subprogram object. 1404 unsigned LLVMDISubprogramGetLine(LLVMMetadataRef Subprogram);
|
| /llvm-project/llvm/test/tools/llvm-debuginfo-analyzer/ |
| H A D | cmdline.test | 175 HELP-ALL: =Subprogram - Subprogram.
|
| /llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFContext.h | 495 void addLocalsForDie(DWARFCompileUnit *CU, DWARFDie Subprogram, DWARFDie Die,
|
| /llvm-project/flang/include/flang/Semantics/ |
| H A D | scope.h | 62 ENUM_CLASS(Kind, Global, IntrinsicModules, Module, MainProgram, Subprogram,
|
| /llvm-project/flang/lib/Lower/ |
| H A D | Mangler.cpp | 41 case Fortran::semantics::Scope::Kind::Subprogram: in ancestors()
|
| H A D | Allocatable.cpp | 1001 if (kind == Fortran::semantics::Scope::Kind::Subprogram || in createMutableProperties() 1004 if (childScope.kind() == Fortran::semantics::Scope::Kind::Subprogram) in createMutableProperties()
|
| /llvm-project/llvm/test/tools/dsymutil/X86/DWARFLinkerParallel/ |
| H A D | odr-types-in-subprogram1.test | 12 ## Subprogram "float foo(int)" contains type "clas1". First compile unit
|
| /llvm-project/llvm/bindings/ocaml/debuginfo/ |
| H A D | debuginfo_ocaml.c | 854 value llvm_di_subprogram_get_line(value Subprogram) { in llvm_di_subprogram_get_line() 855 return Val_int(LLVMDISubprogramGetLine(Metadata_val(Subprogram))); in llvm_di_subprogram_get_line() 853 llvm_di_subprogram_get_line(value Subprogram) llvm_di_subprogram_get_line() argument
|
| /llvm-project/llvm/test/tools/llvm-dwarfdump/X86/ |
| H A D | callsite-invalid.s | 4 # CHECK: error: Subprogram with call site entry has no DW_AT_call attribute:
|
| /llvm-project/flang/lib/Evaluate/ |
| H A D | tools.cpp | 1703 scope->kind() == Scope::Kind::Subprogram; in IsDummy() 1841 (scope.kind() == Scope::Kind::Subprogram && in CountNonConstantLenParameters()
|