| /llvm-project-15.0.7/llvm/unittests/Transforms/Utils/ |
| H A D | CloningTest.cpp | 484 auto *Subprogram = DBuilder.createFunction( in CreateOldFunctionBodyAndDI() local 487 OldFunc->setSubprogram(Subprogram); in CreateOldFunctionBodyAndDI() 492 DebugLoc Loc = DILocation::get(Subprogram->getContext(), 3, 2, Subprogram); in CreateOldFunctionBodyAndDI() 496 DILocation::get(Subprogram->getContext(), 4, 2, Subprogram)); in CreateOldFunctionBodyAndDI() 500 DILocation::get(Subprogram->getContext(), 5, 2, Subprogram)); in CreateOldFunctionBodyAndDI() 507 auto *DL = DILocation::get(Subprogram->getContext(), 5, 0, Subprogram); in CreateOldFunctionBodyAndDI() 524 Subprogram->getContext(), 9, 4, Scope, in CreateOldFunctionBodyAndDI() 525 DILocation::get(Subprogram->getContext(), 5, 2, Subprogram)); in CreateOldFunctionBodyAndDI() 565 TEST_F(CloneFunc, Subprogram) { in TEST_F() argument 958 F->setSubprogram(Subprogram); in CreateOldModule() [all …]
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/X86/ |
| H A D | dwarfdump-str-offsets.s | 223 .byte 3 # Subprogram name string (DW_FORM_strx1) 226 .short 0x0004 # Subprogram name string (DW_FORM_strx2) 230 .byte 5 # Subprogram name string (DW_FORM_strx3) 231 .short 0 # Subprogram name string (DW_FORM_strx3) 235 .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-15.0.7/llvm/test/DebugInfo/Generic/ |
| 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
|
| 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
|
| /llvm-project-15.0.7/flang/lib/Semantics/ |
| H A D | check-return.cpp | 21 scope.kind() == Scope::Kind::Subprogram in FindContainingSubprogram()
|
| H A D | tools.cpp | 66 case Scope::Kind::Subprogram: in GetProgramUnitContaining() 85 case Scope::Kind::Subprogram: in GetProgramUnitOrBlockConstructContaining() 1140 case Scope::Kind::Subprogram: in ClassifyProcedure()
|
| H A D | resolve-names.cpp | 2169 case Scope::Kind::Subprogram: in GetInclusiveScope() 2186 case Scope::Kind::Subprogram: in GetHostProcedure() 2221 if (kind == Scope::Kind::Subprogram) { in PushScope() 2523 if ((kind == Scope::Kind::Subprogram && !currScope().IsStmtFunction()) || in NotePossibleBadForwardRef() 3510 if (inclusiveScope.kind() != Scope::Kind::Subprogram) { in PostEntryStmt() 3587 PushScope(Scope::Kind::Subprogram, &newSymbol); in BeginMpSubprogram() 3735 PushScope(Scope::Kind::Subprogram, symbol); in PushSubprogramScope() 4153 (currScope().kind() == Scope::Kind::Subprogram || in HandleAttributeStmt() 6427 case Scope::Kind::Subprogram: in Pre() 6596 return kind == Scope::Kind::Subprogram || kind == Scope::Kind::MainProgram; in IsUplevelReference()
|
| H A D | data-to-inits.cpp | 822 case Scope::Kind::Subprogram: in ProcessScopes()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFContext.cpp | 1163 void DWARFContext::addLocalsForDie(DWARFCompileUnit *CU, DWARFDie Subprogram, in addLocalsForDie() argument 1168 if (const char *Name = Subprogram.getSubroutineName(DINameKind::ShortName)) in addLocalsForDie() 1172 if (auto FrameBase = Subprogram.find(DW_AT_frame_base)) in addLocalsForDie() 1223 Subprogram = Origin; in addLocalsForDie() 1226 addLocalsForDie(CU, Subprogram, Child, Result); in addLocalsForDie() 1236 DWARFDie Subprogram = CU->getSubroutineForAddress(Address.Address); in getLocalsForAddress() local 1237 if (Subprogram.isValid()) in getLocalsForAddress() 1238 addLocalsForDie(CU, Subprogram, Subprogram, Result); in getLocalsForAddress()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | DebugInfoFlags.def | 74 // Subprogram-specific flags kept in DISubprogram.
|
| /llvm-project-15.0.7/llvm/include/llvm-c/ |
| H A D | DebugInfo.h | 241 LLVMMetadataRef Subprogram); 1352 unsigned LLVMDISubprogramGetLine(LLVMMetadataRef Subprogram);
|
| /llvm-project-15.0.7/flang/lib/Lower/ |
| H A D | Mangler.cpp | 45 if (scope.kind() == Fortran::semantics::Scope::Kind::Subprogram) { in hostName()
|
| H A D | Allocatable.cpp | 574 if (kind == Fortran::semantics::Scope::Kind::Subprogram || in mayBeCapturedInInternalProc() 577 if (childScope.kind() == Fortran::semantics::Scope::Kind::Subprogram) in mayBeCapturedInInternalProc()
|
| H A D | PFTBuilder.cpp | 1274 if (scope.kind() == Fortran::semantics::Scope::Kind::Subprogram) { in isReentrant()
|
| H A D | Bridge.cpp | 292 ultimateScope.kind() == Fortran::semantics::Scope::Kind::Subprogram) in collectHostAssociatedVariables()
|
| /llvm-project-15.0.7/flang/include/flang/Semantics/ |
| H A D | scope.h | 62 ENUM_CLASS(Kind, Global, IntrinsicModules, Module, MainProgram, Subprogram,
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFContext.h | 462 void addLocalsForDie(DWARFCompileUnit *CU, DWARFDie Subprogram, DWARFDie Die,
|
| /llvm-project-15.0.7/llvm/bindings/ocaml/debuginfo/ |
| H A D | debuginfo_ocaml.c | 852 value llvm_di_subprogram_get_line(LLVMMetadataRef Subprogram) { in llvm_di_subprogram_get_line() argument 853 return Val_int(LLVMDISubprogramGetLine(Subprogram)); in llvm_di_subprogram_get_line()
|
| /llvm-project-15.0.7/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-15.0.7/llvm/bindings/go/llvm/ |
| H A D | dibuilder.go | 597 func (v Value) Subprogram() (md Metadata) { func
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | DebugInfo.cpp | 1593 unsigned LLVMDISubprogramGetLine(LLVMMetadataRef Subprogram) { in LLVMDISubprogramGetLine() argument 1594 return unwrapDI<DISubprogram>(Subprogram)->getLine(); in LLVMDISubprogramGetLine()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LowerMatrixIntrinsics.cpp | 86 if (auto *Subprogram = dyn_cast<DISubprogram>(Scope)) in getSubprogram() local 87 return Subprogram; in getSubprogram()
|
| /llvm-project-15.0.7/flang/lib/Evaluate/ |
| H A D | tools.cpp | 1379 (scope.kind() == Scope::Kind::Subprogram && in IsSaved()
|