/external/llvm/unittests/Transforms/Utils/ |
D | Cloning.cpp | 238 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/ |
D | CloningTest.cpp | 481 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/ |
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)
|
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)
|
/external/llvm-project/llvm/test/DebugInfo/Generic/ |
D | debuginfofinder-inlined-cu.ll | 9 ;CHECK: Subprogram: f from /tmp/test1.c:1 10 ;CHECK: Subprogram: g from /tmp/test2.c:1
|
D | debuginfofinder-multiple-cu.ll | 13 ;CHECK: Subprogram: f from /tmp/test1.c:1 14 ;CHECK: Subprogram: g from /tmp/test2.c:1
|
/external/llvm/test/DebugInfo/Generic/ |
D | debuginfofinder-multiple-cu.ll | 11 ;CHECK: Subprogram: f from /tmp/test1.c:1 12 ;CHECK: Subprogram: g from /tmp/test2.c:1
|
/external/llvm-project/flang/lib/Semantics/ |
D | check-return.cpp | 21 scope.kind() == Scope::Kind::Subprogram in FindContainingSubprogram()
|
D | tools.cpp | 61 case Scope::Kind::Subprogram: in GetProgramUnitContaining() 1054 case Scope::Kind::Subprogram: in ClassifyProcedure()
|
D | resolve-names.cpp | 1955 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/ |
D | DWARFContext.cpp | 1080 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/ |
D | DWARFContext.cpp | 1145 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/ |
D | DebugInfoFlags.def | 74 // Subprogram-specific flags kept in DISubprogram.
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | DebugInfoFlags.def | 74 // Subprogram-specific flags kept in DISubprogram.
|
/external/llvm-project/flang/lib/Lower/ |
D | Mangler.cpp | 44 if (scope.kind() == Fortran::semantics::Scope::Kind::Subprogram) { in hostName()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/ |
D | DWARFContext.h | 380 void addLocalsForDie(DWARFCompileUnit *CU, DWARFDie Subprogram, DWARFDie Die,
|
/external/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
D | DWARFContext.h | 425 void addLocalsForDie(DWARFCompileUnit *CU, DWARFDie Subprogram, DWARFDie Die,
|
/external/llvm-project/flang/include/flang/Semantics/ |
D | scope.h | 60 ENUM_CLASS(Kind, Global, Module, MainProgram, Subprogram, BlockData,
|
/external/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/ |
D | callsite-invalid.s | 4 # CHECK: error: Subprogram with call site entry has no DW_AT_call attribute:
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/ |
D | DebugInfo.h | 1330 unsigned LLVMDISubprogramGetLine(LLVMMetadataRef Subprogram);
|
/external/llvm-project/llvm/include/llvm-c/ |
D | DebugInfo.h | 1337 unsigned LLVMDISubprogramGetLine(LLVMMetadataRef Subprogram);
|
/external/llvm-project/llvm/bindings/go/llvm/ |
D | dibuilder.go | 597 func (v Value) Subprogram() (md Metadata) { func
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | DebugInfo.cpp | 1428 unsigned LLVMDISubprogramGetLine(LLVMMetadataRef Subprogram) { in LLVMDISubprogramGetLine() argument 1429 return unwrapDI<DISubprogram>(Subprogram)->getLine(); in LLVMDISubprogramGetLine()
|
/external/llvm-project/llvm/lib/IR/ |
D | DebugInfo.cpp | 1467 unsigned LLVMDISubprogramGetLine(LLVMMetadataRef Subprogram) { in LLVMDISubprogramGetLine() argument 1468 return unwrapDI<DISubprogram>(Subprogram)->getLine(); in LLVMDISubprogramGetLine()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | LowerMatrixIntrinsics.cpp | 90 if (auto *Subprogram = dyn_cast<DISubprogram>(Scope)) in getSubprogram() local 91 return Subprogram; in getSubprogram()
|