Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/unittests/Transforms/Utils/
H A DCloningTest.cpp484 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 Ddwarfdump-str-offsets.s223 .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 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-15.0.7/llvm/test/DebugInfo/Generic/
H A Ddebuginfofinder-inlined-cu.ll8 ;CHECK: Subprogram: f from /tmp/test1.c:1
9 ;CHECK: Subprogram: g from /tmp/test2.c:1
H A Ddebuginfofinder-multiple-cu.ll12 ;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 Dcheck-return.cpp21 scope.kind() == Scope::Kind::Subprogram in FindContainingSubprogram()
H A Dtools.cpp66 case Scope::Kind::Subprogram: in GetProgramUnitContaining()
85 case Scope::Kind::Subprogram: in GetProgramUnitOrBlockConstructContaining()
1140 case Scope::Kind::Subprogram: in ClassifyProcedure()
H A Dresolve-names.cpp2169 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 Ddata-to-inits.cpp822 case Scope::Kind::Subprogram: in ProcessScopes()
/llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/
H A DDWARFContext.cpp1163 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 DDebugInfoFlags.def74 // Subprogram-specific flags kept in DISubprogram.
/llvm-project-15.0.7/llvm/include/llvm-c/
H A DDebugInfo.h241 LLVMMetadataRef Subprogram);
1352 unsigned LLVMDISubprogramGetLine(LLVMMetadataRef Subprogram);
/llvm-project-15.0.7/flang/lib/Lower/
H A DMangler.cpp45 if (scope.kind() == Fortran::semantics::Scope::Kind::Subprogram) { in hostName()
H A DAllocatable.cpp574 if (kind == Fortran::semantics::Scope::Kind::Subprogram || in mayBeCapturedInInternalProc()
577 if (childScope.kind() == Fortran::semantics::Scope::Kind::Subprogram) in mayBeCapturedInInternalProc()
H A DPFTBuilder.cpp1274 if (scope.kind() == Fortran::semantics::Scope::Kind::Subprogram) { in isReentrant()
H A DBridge.cpp292 ultimateScope.kind() == Fortran::semantics::Scope::Kind::Subprogram) in collectHostAssociatedVariables()
/llvm-project-15.0.7/flang/include/flang/Semantics/
H A Dscope.h62 ENUM_CLASS(Kind, Global, IntrinsicModules, Module, MainProgram, Subprogram,
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFContext.h462 void addLocalsForDie(DWARFCompileUnit *CU, DWARFDie Subprogram, DWARFDie Die,
/llvm-project-15.0.7/llvm/bindings/ocaml/debuginfo/
H A Ddebuginfo_ocaml.c852 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 Dcallsite-invalid.s4 # CHECK: error: Subprogram with call site entry has no DW_AT_call attribute:
/llvm-project-15.0.7/llvm/bindings/go/llvm/
H A Ddibuilder.go597 func (v Value) Subprogram() (md Metadata) { func
/llvm-project-15.0.7/llvm/lib/IR/
H A DDebugInfo.cpp1593 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 DLowerMatrixIntrinsics.cpp86 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 Dtools.cpp1379 (scope.kind() == Scope::Kind::Subprogram && in IsSaved()