/external/clang/lib/CodeGen/ |
D | CGDebugInfo.cpp | 50 DBuilder(CGM.getModule()) { in CGDebugInfo() 144 LexicalBlockStack.emplace_back(DBuilder.createLexicalBlockFile( in setLocation() 150 DBuilder.createLexicalBlockFile(Scope, getOrCreateFile(CurLoc))); in setLocation() 315 return DBuilder.createFile(remapDIPath(TheCU->getFilename()), in getOrCreateFile() 323 return DBuilder.createFile(remapDIPath(TheCU->getFilename()), in getOrCreateFile() 336 llvm::DIFile *F = DBuilder.createFile(remapDIPath(PLoc.getFilename()), in getOrCreateFile() 344 return DBuilder.createFile(remapDIPath(TheCU->getFilename()), in getOrCreateMainFile() 457 TheCU = DBuilder.createCompileUnit( in CreateCompileUnit() 473 return DBuilder.createNullPtrType(); in CreateType() 478 ClassTy = DBuilder.createForwardDecl(llvm::dwarf::DW_TAG_structure_type, in CreateType() [all …]
|
D | CGDebugInfo.h | 58 llvm::DIBuilder DBuilder; variable
|
/external/llvm/unittests/Transforms/Utils/ |
D | Cloning.cpp | 226 DIBuilder DBuilder(*M); in CreateOldFunctionBodyAndDI() local 230 auto *File = DBuilder.createFile("filename.c", "/file/dir/"); in CreateOldFunctionBodyAndDI() 231 DITypeRefArray ParamTypes = DBuilder.getOrCreateTypeArray(None); in CreateOldFunctionBodyAndDI() 233 DBuilder.createSubroutineType(ParamTypes); in CreateOldFunctionBodyAndDI() 235 DBuilder.createCompileUnit(dwarf::DW_LANG_C99, "filename.c", in CreateOldFunctionBodyAndDI() 238 auto *Subprogram = DBuilder.createFunction( in CreateOldFunctionBodyAndDI() 256 DBuilder.createBasicType("int", 32, 0, dwarf::DW_ATE_signed); in CreateOldFunctionBodyAndDI() 257 auto *E = DBuilder.createExpression(); in CreateOldFunctionBodyAndDI() 259 DBuilder.createAutoVariable(Subprogram, "x", File, 5, IntType, true); in CreateOldFunctionBodyAndDI() 261 DBuilder.insertDeclare(Alloca, Variable, E, DL, Store); in CreateOldFunctionBodyAndDI() [all …]
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGDebugInfo.cpp | 69 DBuilder(CGM.getModule()) { in CGDebugInfo() 190 LexicalBlockStack.emplace_back(DBuilder.createLexicalBlockFile( in setLocation() 196 DBuilder.createLexicalBlockFile(Scope, getOrCreateFile(CurLoc))); in setLocation() 473 llvm::DIFile *F = DBuilder.createFile(File, Dir, CSInfo, Source); in createFile() 621 llvm::DIFile *CUFile = DBuilder.createFile( in CreateCompileUnit() 636 TheCU = DBuilder.createCompileUnit( in CreateCompileUnit() 658 return DBuilder.createNullPtrType(); in CreateType() 664 DBuilder.createForwardDecl(llvm::dwarf::DW_TAG_structure_type, in CreateType() 678 DBuilder.createForwardDecl(llvm::dwarf::DW_TAG_structure_type, in CreateType() 683 auto *ISATy = DBuilder.createPointerType(ClassTy, Size); in CreateType() [all …]
|
D | CGDebugInfo.h | 62 llvm::DIBuilder DBuilder; variable
|
/external/llvm-project/llvm/unittests/Transforms/Utils/ |
D | CloningTest.cpp | 468 DIBuilder DBuilder(*M); in CreateOldFunctionBodyAndDI() local 472 auto *File = DBuilder.createFile("filename.c", "/file/dir/"); in CreateOldFunctionBodyAndDI() 473 DITypeRefArray ParamTypes = DBuilder.getOrCreateTypeArray(None); in CreateOldFunctionBodyAndDI() 475 DBuilder.createSubroutineType(ParamTypes); in CreateOldFunctionBodyAndDI() 476 auto *CU = DBuilder.createCompileUnit(dwarf::DW_LANG_C99, in CreateOldFunctionBodyAndDI() 477 DBuilder.createFile("filename.c", in CreateOldFunctionBodyAndDI() 481 auto *Subprogram = DBuilder.createFunction( in CreateOldFunctionBodyAndDI() 498 auto *IntType = DBuilder.createBasicType("int", 32, dwarf::DW_ATE_signed); in CreateOldFunctionBodyAndDI() 499 auto *E = DBuilder.createExpression(); in CreateOldFunctionBodyAndDI() 501 DBuilder.createAutoVariable(Subprogram, "x", File, 5, IntType, true); in CreateOldFunctionBodyAndDI() [all …]
|
/external/llvm-project/llvm/examples/Kaleidoscope/Chapter9/ |
D | toy.cpp | 833 static std::unique_ptr<DIBuilder> DBuilder; variable 839 DblTy = DBuilder->createBasicType("double", 64, dwarf::DW_ATE_float); in getDoubleTy() 865 return DBuilder->createSubroutineType(DBuilder->getOrCreateTypeArray(EltTys)); in CreateFunctionType() 1248 DIFile *Unit = DBuilder->createFile(KSDbgInfo.TheCU->getFilename(), in codegen() 1253 DISubprogram *SP = DBuilder->createFunction( in codegen() 1275 DILocalVariable *D = DBuilder->createParameterVariable( in codegen() 1279 DBuilder->insertDeclare(Alloca, D, DBuilder->createExpression(), in codegen() 1442 DBuilder = std::make_unique<DIBuilder>(*TheModule); in main() 1447 KSDbgInfo.TheCU = DBuilder->createCompileUnit( in main() 1448 dwarf::DW_LANG_C, DBuilder->createFile("fib.ks", "."), in main() [all …]
|
/external/llvm/examples/Kaleidoscope/Chapter9/ |
D | toy.cpp | 820 static std::unique_ptr<DIBuilder> DBuilder; variable 826 DblTy = DBuilder->createBasicType("double", 64, 64, dwarf::DW_ATE_float); in getDoubleTy() 852 return DBuilder->createSubroutineType(DBuilder->getOrCreateTypeArray(EltTys)); in CreateFunctionType() 1241 DIFile *Unit = DBuilder->createFile(KSDbgInfo.TheCU->getFilename(), in codegen() 1246 DISubprogram *SP = DBuilder->createFunction( in codegen() 1269 DILocalVariable *D = DBuilder->createParameterVariable( in codegen() 1273 DBuilder->insertDeclare(Alloca, D, DBuilder->createExpression(), in codegen() 1427 DBuilder = llvm::make_unique<DIBuilder>(*TheModule); in main() 1432 KSDbgInfo.TheCU = DBuilder->createCompileUnit( in main() 1439 DBuilder->finalize(); in main()
|
/external/llvm-project/llvm/docs/tutorial/MyFirstLanguageFrontend/ |
D | LangImpl09.rst | 187 static DIBuilder *DBuilder; 200 DblTy = DBuilder->createBasicType("double", 64, dwarf::DW_ATE_float); 208 DBuilder = new DIBuilder(*TheModule); 210 KSDbgInfo.TheCU = DBuilder->createCompileUnit( 211 dwarf::DW_LANG_C, DBuilder->createFile("fib.ks", "."), 233 DBuilder->finalize(); 249 DIFile *Unit = DBuilder->createFile(KSDbgInfo.TheCU.getFilename(), 262 DISubprogram *SP = DBuilder->createFunction( 398 DILocalVariable *D = DBuilder->createParameterVariable( 402 DBuilder->insertDeclare(Alloca, D, DBuilder->createExpression(),
|
/external/llvm/docs/tutorial/ |
D | LangImpl09.rst | 187 static DIBuilder *DBuilder; 200 DblTy = DBuilder->createBasicType("double", 64, 64, dwarf::DW_ATE_float); 208 DBuilder = new DIBuilder(*TheModule); 210 KSDbgInfo.TheCU = DBuilder->createCompileUnit( 232 DBuilder->finalize(); 248 DIFile *Unit = DBuilder->createFile(KSDbgInfo.TheCU.getFilename(), 261 DISubprogram *SP = DBuilder->createFunction( 400 DIFile *Unit = DBuilder->createFile(KSDbgInfo.TheCU.getFilename(), 402 DILocalVariable D = DBuilder->createParameterVariable( 405 DBuilder->insertDeclare(Alloca, D, DBuilder->createExpression(),
|