Home
last modified time | relevance | path

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

12

/external/llvm/unittests/Transforms/Utils/
DCloning.cpp238 auto *Subprogram = DBuilder.createFunction( in CreateOldFunctionBodyAndDI() local
240 OldFunc->setSubprogram(Subprogram); in CreateOldFunctionBodyAndDI()
245 DebugLoc Loc = DebugLoc::get(3, 2, Subprogram); in CreateOldFunctionBodyAndDI()
248 IBuilder.SetCurrentDebugLocation(DebugLoc::get(4, 2, Subprogram)); in CreateOldFunctionBodyAndDI()
251 IBuilder.SetCurrentDebugLocation(DebugLoc::get(5, 2, Subprogram)); in CreateOldFunctionBodyAndDI()
259 DBuilder.createAutoVariable(Subprogram, "x", File, 5, IntType, true); in CreateOldFunctionBodyAndDI()
260 auto *DL = DILocation::get(Subprogram->getContext(), 5, 0, Subprogram); in CreateOldFunctionBodyAndDI()
299 TEST_F(CloneFunc, Subprogram) { in TEST_F() argument
424 auto *Subprogram = DBuilder.createFunction(CU, "f", "f", File, 4, DFuncType, in CreateOldModule() local
426 F->setSubprogram(Subprogram); in CreateOldModule()
[all …]
/external/llvm-project/llvm/unittests/Transforms/Utils/
DCloningTest.cpp481 auto *Subprogram = DBuilder.createFunction( in CreateOldFunctionBodyAndDI() local
484 OldFunc->setSubprogram(Subprogram); in CreateOldFunctionBodyAndDI()
489 DebugLoc Loc = DebugLoc::get(3, 2, Subprogram); in CreateOldFunctionBodyAndDI()
492 IBuilder.SetCurrentDebugLocation(DebugLoc::get(4, 2, Subprogram)); in CreateOldFunctionBodyAndDI()
495 IBuilder.SetCurrentDebugLocation(DebugLoc::get(5, 2, Subprogram)); in CreateOldFunctionBodyAndDI()
501 DBuilder.createAutoVariable(Subprogram, "x", File, 5, IntType, true); in CreateOldFunctionBodyAndDI()
502 auto *DL = DILocation::get(Subprogram->getContext(), 5, 0, Subprogram); in CreateOldFunctionBodyAndDI()
519 DebugLoc::get(9, 4, Scope, DebugLoc::get(5, 2, Subprogram)); in CreateOldFunctionBodyAndDI()
559 TEST_F(CloneFunc, Subprogram) { in TEST_F() argument
860 auto *Subprogram = DBuilder.createFunction( in CreateOldModule() local
[all …]
/external/llvm-project/llvm/test/DebugInfo/X86/
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)
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)
/external/llvm-project/llvm/test/DebugInfo/Generic/
Ddebuginfofinder-inlined-cu.ll9 ;CHECK: Subprogram: f from /tmp/test1.c:1
10 ;CHECK: Subprogram: g from /tmp/test2.c:1
Ddebuginfofinder-multiple-cu.ll13 ;CHECK: Subprogram: f from /tmp/test1.c:1
14 ;CHECK: Subprogram: g from /tmp/test2.c:1
/external/llvm/test/DebugInfo/Generic/
Ddebuginfofinder-multiple-cu.ll11 ;CHECK: Subprogram: f from /tmp/test1.c:1
12 ;CHECK: Subprogram: g from /tmp/test2.c:1
/external/llvm-project/flang/lib/Semantics/
Dcheck-return.cpp21 scope.kind() == Scope::Kind::Subprogram in FindContainingSubprogram()
Dtools.cpp61 case Scope::Kind::Subprogram: in GetProgramUnitContaining()
1054 case Scope::Kind::Subprogram: in ClassifyProcedure()
Dresolve-names.cpp1955 return parent.kind() == Scope::Kind::Subprogram ? &parent : nullptr; in GetHostProcedure()
1982 if (kind == Scope::Kind::Subprogram) { in PushScope()
2200 if ((kind == Scope::Kind::Subprogram && !currScope().IsStmtFunction()) || in NotePossibleBadForwardRef()
3015 PushScope(Scope::Kind::Subprogram, symbol); in BeginMpSubprogram()
3018 PushScope(Scope::Kind::Subprogram, &newSymbol); in BeginMpSubprogram()
3076 PushScope(Scope::Kind::Subprogram, symbol); in PushSubprogramScope()
3407 (currScope().kind() == Scope::Kind::Subprogram || in HandleAttributeStmt()
5456 case Scope::Kind::Subprogram: in Pre()
5612 return kind == Scope::Kind::Subprogram || kind == Scope::Kind::MainProgram; in IsUplevelReference()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFContext.cpp1080 void DWARFContext::addLocalsForDie(DWARFCompileUnit *CU, DWARFDie Subprogram, in addLocalsForDie() argument
1085 if (const char *Name = Subprogram.getSubroutineName(DINameKind::ShortName)) in addLocalsForDie()
1089 if (auto FrameBase = Subprogram.find(DW_AT_frame_base)) in addLocalsForDie()
1140 Subprogram = Origin; in addLocalsForDie()
1143 addLocalsForDie(CU, Subprogram, Child, Result); in addLocalsForDie()
1153 DWARFDie Subprogram = CU->getSubroutineForAddress(Address.Address); in getLocalsForAddress() local
1154 if (Subprogram.isValid()) in getLocalsForAddress()
1155 addLocalsForDie(CU, Subprogram, Subprogram, Result); in getLocalsForAddress()
/external/llvm-project/llvm/lib/DebugInfo/DWARF/
DDWARFContext.cpp1145 void DWARFContext::addLocalsForDie(DWARFCompileUnit *CU, DWARFDie Subprogram, in addLocalsForDie() argument
1150 if (const char *Name = Subprogram.getSubroutineName(DINameKind::ShortName)) in addLocalsForDie()
1154 if (auto FrameBase = Subprogram.find(DW_AT_frame_base)) in addLocalsForDie()
1205 Subprogram = Origin; in addLocalsForDie()
1208 addLocalsForDie(CU, Subprogram, Child, Result); in addLocalsForDie()
1218 DWARFDie Subprogram = CU->getSubroutineForAddress(Address.Address); in getLocalsForAddress() local
1219 if (Subprogram.isValid()) in getLocalsForAddress()
1220 addLocalsForDie(CU, Subprogram, Subprogram, Result); in getLocalsForAddress()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDebugInfoFlags.def74 // Subprogram-specific flags kept in DISubprogram.
/external/llvm-project/llvm/include/llvm/IR/
DDebugInfoFlags.def74 // Subprogram-specific flags kept in DISubprogram.
/external/llvm-project/flang/lib/Lower/
DMangler.cpp44 if (scope.kind() == Fortran::semantics::Scope::Kind::Subprogram) { in hostName()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFContext.h380 void addLocalsForDie(DWARFCompileUnit *CU, DWARFDie Subprogram, DWARFDie Die,
/external/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
DDWARFContext.h425 void addLocalsForDie(DWARFCompileUnit *CU, DWARFDie Subprogram, DWARFDie Die,
/external/llvm-project/flang/include/flang/Semantics/
Dscope.h60 ENUM_CLASS(Kind, Global, Module, MainProgram, Subprogram, BlockData,
/external/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/
Dcallsite-invalid.s4 # CHECK: error: Subprogram with call site entry has no DW_AT_call attribute:
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DDebugInfo.h1330 unsigned LLVMDISubprogramGetLine(LLVMMetadataRef Subprogram);
/external/llvm-project/llvm/include/llvm-c/
DDebugInfo.h1337 unsigned LLVMDISubprogramGetLine(LLVMMetadataRef Subprogram);
/external/llvm-project/llvm/bindings/go/llvm/
Ddibuilder.go597 func (v Value) Subprogram() (md Metadata) { func
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDebugInfo.cpp1428 unsigned LLVMDISubprogramGetLine(LLVMMetadataRef Subprogram) { in LLVMDISubprogramGetLine() argument
1429 return unwrapDI<DISubprogram>(Subprogram)->getLine(); in LLVMDISubprogramGetLine()
/external/llvm-project/llvm/lib/IR/
DDebugInfo.cpp1467 unsigned LLVMDISubprogramGetLine(LLVMMetadataRef Subprogram) { in LLVMDISubprogramGetLine() argument
1468 return unwrapDI<DISubprogram>(Subprogram)->getLine(); in LLVMDISubprogramGetLine()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLowerMatrixIntrinsics.cpp90 if (auto *Subprogram = dyn_cast<DISubprogram>(Scope)) in getSubprogram() local
91 return Subprogram; in getSubprogram()

12