Home
last modified time | relevance | path

Searched refs:Subprogram (Results 1 – 25 of 33) sorted by relevance

12

/llvm-project/llvm/unittests/Transforms/Utils/
H A DCloningTest.cpp487 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 Ddwarfdump-str-offsets.s227 .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 Ddwarfdump-str-offsets-macho.s146 .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 Dcuf-device-procedures01.cuf20 ! CHECK-LABEL: Subprogram scope: devsub
42 ! CHECK-LABEL: Subprogram scope: host
H A Dcuf05.cuf8 !CHECK: Subprogram scope: devsubr size=0 alignment=1
/llvm-project/llvm/test/DebugInfo/Generic/
H A Ddebuginfofinder-multiple-cu.ll12 ;CHECK: Subprogram: f from /tmp/test1.c:1
13 ;CHECK: Subprogram: g from /tmp/test2.c:1
H A Ddebuginfofinder-inlined-cu.ll8 ;CHECK: Subprogram: f from /tmp/test1.c:1
9 ;CHECK: Subprogram: g from /tmp/test2.c:1
/llvm-project/llvm/lib/CodeGen/
H A DBasicBlockSectionsProfileReader.cpp401 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 Dcheck-return.cpp21 scope.kind() == Scope::Kind::Subprogram in FindContainingSubprogram()
H A Dtools.cpp72 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 Dresolve-names.cpp2521 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 Ddata-to-inits.cpp854 case Scope::Kind::Subprogram:
H A Dresolve-names-utils.cpp725 Scope &newScope{scope_.MakeScope(Scope::Kind::Subprogram, &copy)}; in operator ()()
/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFContext.cpp1655 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 DDebugInfoFlags.def74 // Subprogram-specific flags kept in DISubprogram.
/llvm-project/llvm/include/llvm-c/
H A DDebugInfo.h266 LLVMMetadataRef Subprogram);
1400 * \param Subprogram The subprogram object.
1404 unsigned LLVMDISubprogramGetLine(LLVMMetadataRef Subprogram);
/llvm-project/llvm/test/tools/llvm-debuginfo-analyzer/
H A Dcmdline.test175 HELP-ALL: =Subprogram - Subprogram.
/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFContext.h495 void addLocalsForDie(DWARFCompileUnit *CU, DWARFDie Subprogram, DWARFDie Die,
/llvm-project/flang/include/flang/Semantics/
H A Dscope.h62 ENUM_CLASS(Kind, Global, IntrinsicModules, Module, MainProgram, Subprogram,
/llvm-project/flang/lib/Lower/
H A DMangler.cpp41 case Fortran::semantics::Scope::Kind::Subprogram: in ancestors()
H A DAllocatable.cpp1001 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 Dodr-types-in-subprogram1.test12 ## Subprogram "float foo(int)" contains type "clas1". First compile unit
/llvm-project/llvm/bindings/ocaml/debuginfo/
H A Ddebuginfo_ocaml.c854 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 Dcallsite-invalid.s4 # CHECK: error: Subprogram with call site entry has no DW_AT_call attribute:
/llvm-project/flang/lib/Evaluate/
H A Dtools.cpp1703 scope->kind() == Scope::Kind::Subprogram; in IsDummy()
1841 (scope.kind() == Scope::Kind::Subprogram && in CountNonConstantLenParameters()

12