Home
last modified time | relevance | path

Searched refs:DBuilder (Results 1 – 8 of 8) sorted by relevance

/external/clang/lib/CodeGen/
DCGDebugInfo.cpp50 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 …]
DCGDebugInfo.h58 llvm::DIBuilder DBuilder; variable
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/
DCloning.cpp374 DIBuilder DBuilder(*M); in CreateOldFunctionBodyAndDI() local
378 auto *File = DBuilder.createFile("filename.c", "/file/dir/"); in CreateOldFunctionBodyAndDI()
379 DITypeRefArray ParamTypes = DBuilder.getOrCreateTypeArray(None); in CreateOldFunctionBodyAndDI()
381 DBuilder.createSubroutineType(ParamTypes); in CreateOldFunctionBodyAndDI()
382 auto *CU = DBuilder.createCompileUnit(dwarf::DW_LANG_C99, in CreateOldFunctionBodyAndDI()
383 DBuilder.createFile("filename.c", in CreateOldFunctionBodyAndDI()
388 DBuilder.createFunction(CU, "f", "f", File, 4, FuncType, true, true, 3, in CreateOldFunctionBodyAndDI()
404 auto *IntType = DBuilder.createBasicType("int", 32, dwarf::DW_ATE_signed); in CreateOldFunctionBodyAndDI()
405 auto *E = DBuilder.createExpression(); in CreateOldFunctionBodyAndDI()
407 DBuilder.createAutoVariable(Subprogram, "x", File, 5, IntType, true); in CreateOldFunctionBodyAndDI()
[all …]
/external/llvm/unittests/Transforms/Utils/
DCloning.cpp226 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/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/Chapter9/
Dtoy.cpp820 static std::unique_ptr<DIBuilder> DBuilder; variable
826 DblTy = DBuilder->createBasicType("double", 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()
1433 DBuilder = llvm::make_unique<DIBuilder>(*TheModule); in main()
1438 KSDbgInfo.TheCU = DBuilder->createCompileUnit( in main()
1439 dwarf::DW_LANG_C, DBuilder->createFile("fib.ks", "."), in main()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter9/
Dtoy.cpp820 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/swiftshader/third_party/llvm-7.0/llvm/docs/tutorial/
DLangImpl09.rst187 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/
DLangImpl09.rst187 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(),