Home
last modified time | relevance | path

Searched refs:DIB (Results 1 – 25 of 44) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-c-test/
Ddebuginfo.c21 declare_objc_class(LLVMDIBuilderRef DIB, LLVMMetadataRef File) { in declare_objc_class() argument
22 …LLVMMetadataRef Decl = LLVMDIBuilderCreateStructType(DIB, File, "TestClass", 9, File, 42, 64, 0, L… in declare_objc_class()
23 …LLVMMetadataRef SuperDecl = LLVMDIBuilderCreateStructType(DIB, File, "TestSuperClass", 14, File, 4… in declare_objc_class()
24 LLVMDIBuilderCreateInheritance(DIB, Decl, SuperDecl, 0, 0, 0); in declare_objc_class()
26 …LLVMDIBuilderCreateObjCProperty(DIB, "test", 4, File, 42, "getTest", 7, "setTest", 7, 0x20 /*copy*… in declare_objc_class()
27 …LLVMDIBuilderCreateObjCIVar(DIB, "_test", 5, File, 42, 64, 0, 64, LLVMDIFlagPublic, SuperDecl, Tes… in declare_objc_class()
34 LLVMDIBuilderRef DIB = LLVMCreateDIBuilder(M); in llvm_test_dibuilder() local
36 LLVMMetadataRef File = LLVMDIBuilderCreateFile(DIB, Filename, in llvm_test_dibuilder()
39 LLVMMetadataRef CompileUnit = LLVMDIBuilderCreateCompileUnit(DIB, in llvm_test_dibuilder()
44 LLVMDIBuilderCreateModule(DIB, CompileUnit, in llvm_test_dibuilder()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DIRBuilderTest.cpp425 DIBuilder DIB(*M); in TEST_F() local
426 auto File = DIB.createFile("error.swift", "/"); in TEST_F()
428 DIB.createCompileUnit(dwarf::DW_LANG_Swift, File, "swiftc", true, "", 0); in TEST_F()
429 auto Type = DIB.createSubroutineType(DIB.getOrCreateTypeArray(None)); in TEST_F()
430 auto NoErr = DIB.createFunction(CU, "noerr", "", File, 1, Type, false, true, 1, in TEST_F()
433 auto Int = DIB.createBasicType("Int", 64, dwarf::DW_ATE_signed); in TEST_F()
434 auto Error = DIB.getOrCreateArray({Int}); in TEST_F()
436 DIB.createFunction(CU, "err", "", File, 1, Type, false, true, 1, in TEST_F()
439 DIB.finalize(); in TEST_F()
444 DIBuilder DIB(*M); in TEST_F() local
[all …]
DVerifierTest.cpp155 DIBuilder DIB(M); in TEST() local
156 DIB.createCompileUnit(dwarf::DW_LANG_C89, DIB.createFile("broken.c", "/"), in TEST()
158 DIB.finalize(); in TEST()
162 auto *File = DIB.createFile("not-a-CU.f", "."); in TEST()
170 DIBuilder DIB(M); in TEST() local
171 auto *CU = DIB.createCompileUnit(dwarf::DW_LANG_C89, in TEST()
172 DIB.createFile("broken.c", "/"), in TEST()
181 F->setSubprogram(DIB.createFunction(CU, "f", "f", in TEST()
182 DIB.createFile("broken.c", "/"), 1, in TEST()
184 DIB.finalize(); in TEST()
/external/llvm/unittests/IR/
DIRBuilderTest.cpp341 DIBuilder DIB(*M); in TEST_F() local
342 auto File = DIB.createFile("F.CBL", "/"); in TEST_F()
343 auto CU = DIB.createCompileUnit(dwarf::DW_LANG_Cobol74, "F.CBL", "/", in TEST_F()
345 auto Type = DIB.createSubroutineType(DIB.getOrCreateTypeArray(None)); in TEST_F()
347 DIB.createFunction(CU, "foo", "", File, 1, Type, false, true, 1, 0, true); in TEST_F()
351 DIB.createFunction(CU, "bar", "", File, 1, Type, false, true, 1, 0, true); in TEST_F()
352 auto BadScope = DIB.createLexicalBlockFile(BarSP, File, 0); in TEST_F()
354 DIB.finalize(); in TEST_F()
393 DIBuilder DIB(*M); in TEST_F() local
394 auto File = DIB.createFile("tmp.cpp", "/"); in TEST_F()
[all …]
DVerifierTest.cpp181 DIBuilder DIB(M); in TEST() local
182 DIB.createCompileUnit(dwarf::DW_LANG_C89, "broken.c", "/", in TEST()
184 DIB.finalize(); in TEST()
188 auto *File = DIB.createFile("not-a-CU.f", "."); in TEST()
205 DIBuilder DIB(M); in TEST() local
206 DIB.createCompileUnit(dwarf::DW_LANG_C89, "broken.c", "/", in TEST()
208 DIB.finalize(); in TEST()
212 auto *File = DIB.createFile("not-a-CU.f", "."); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/opt/
DDebugify.cpp72 DIBuilder DIB(M); in applyDebugifyMetadata() local
82 DTy = DIB.createBasicType(Name, Size, dwarf::DW_ATE_unsigned); in applyDebugifyMetadata()
89 auto File = DIB.createFile(M.getName(), "/"); in applyDebugifyMetadata()
90 auto CU = DIB.createCompileUnit(dwarf::DW_LANG_C, File, "debugify", in applyDebugifyMetadata()
98 auto SPType = DIB.createSubroutineType(DIB.getOrCreateTypeArray(None)); in applyDebugifyMetadata()
101 DIB.createFunction(CU, F.getName(), F.getName(), File, NextLine, SPType, in applyDebugifyMetadata()
138 auto LocalVar = DIB.createAutoVariable(SP, Name, File, Loc->getLine(), in applyDebugifyMetadata()
141 DIB.insertDbgValueIntrinsic(I, LocalVar, DIB.createExpression(), Loc, in applyDebugifyMetadata()
145 DIB.finalizeSubprogram(SP); in applyDebugifyMetadata()
147 DIB.finalize(); in applyDebugifyMetadata()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DPromoteMemoryToRegister.cpp203 DIBuilder *DIB; member
248 : Allocas(A), DT(dt), DIB(0), AST(ast) {} in PromoteMem2Reg()
250 delete DIB; in ~PromoteMem2Reg()
428 if (!DIB) in run()
429 DIB = new DIBuilder(*DDI->getParent()->getParent()->getParent()); in run()
430 ConvertDebugDeclareToDebugValue(DDI, Info.OnlyStore, *DIB); in run()
463 if (!DIB) in run()
464 DIB = new DIBuilder(*SI->getParent()->getParent()->getParent()); in run()
465 ConvertDebugDeclareToDebugValue(DDI, SI, *DIB); in run()
1096 if (!DIB) in RenamePass()
[all …]
DLocal.cpp848 DIBuilder DIB(*F.getParent()); in LowerDbgDeclare() local
866 ConvertDebugDeclareToDebugValue(DDI, SI, DIB); in LowerDbgDeclare()
868 ConvertDebugDeclareToDebugValue(DDI, LI, DIB); in LowerDbgDeclare()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DPromoteMemoryToRegister.cpp236 DIBuilder DIB; member
282 DIB(*DT.getRoot()->getParent()->getParent(), /*AllowUnresolved*/ false), in PromoteMem2Reg()
430 DIBuilder DIB(*AI->getModule(), /*AllowUnresolved*/ false); in rewriteSingleStoreAlloca() local
431 ConvertDebugDeclareToDebugValue(DII, Info.OnlyStore, DIB); in rewriteSingleStoreAlloca()
531 DIBuilder DIB(*AI->getModule(), /*AllowUnresolved*/ false); in promoteSingleBlockAlloca() local
532 ConvertDebugDeclareToDebugValue(DII, SI, DIB); in promoteSingleBlockAlloca()
936 ConvertDebugDeclareToDebugValue(DII, APN, DIB); in RenamePass()
996 ConvertDebugDeclareToDebugValue(DII, SI, DIB); in RenamePass()
DLocal.cpp1382 DIBuilder DIB(*F.getParent(), /*AllowUnresolved*/ false); in LowerDbgDeclare() local
1418 ConvertDebugDeclareToDebugValue(DDI, SI, DIB); in LowerDbgDeclare()
1420 ConvertDebugDeclareToDebugValue(DDI, LI, DIB); in LowerDbgDeclare()
1427 DIB.insertDbgValueIntrinsic(AI, DDI->getVariable(), DerefExpr, in LowerDbgDeclare()
DInlineFunction.cpp1809 DIBuilder DIB(*Caller->getParent()); in InlineFunction() local
1811 replaceDbgDeclareForAlloca(AI, AI, DIB, DIExpression::NoDeref, 0, in InlineFunction()
/external/llvm/lib/Transforms/Utils/
DPromoteMemoryToRegister.cpp226 DIBuilder DIB; member
274 DIB(*DT.getRoot()->getParent()->getParent(), /*AllowUnresolved*/ false), in PromoteMem2Reg()
404 DIBuilder DIB(*AI->getModule(), /*AllowUnresolved*/ false); in rewriteSingleStoreAlloca() local
405 ConvertDebugDeclareToDebugValue(DDI, Info.OnlyStore, DIB); in rewriteSingleStoreAlloca()
495 DIBuilder DIB(*AI->getModule(), /*AllowUnresolved*/ false); in promoteSingleBlockAlloca() local
496 ConvertDebugDeclareToDebugValue(DDI, SI, DIB); in promoteSingleBlockAlloca()
961 ConvertDebugDeclareToDebugValue(DDI, SI, DIB); in RenamePass()
DLocal.cpp1136 DIBuilder DIB(*F.getParent(), /*AllowUnresolved*/ false); in LowerDbgDeclare() local
1160 ConvertDebugDeclareToDebugValue(DDI, SI, DIB); in LowerDbgDeclare()
1162 ConvertDebugDeclareToDebugValue(DDI, LI, DIB); in LowerDbgDeclare()
1171 DIB.insertDbgValueIntrinsic(AI, 0, DDI->getVariable(), in LowerDbgDeclare()
1172 DIB.createExpression(NewDIExpr), in LowerDbgDeclare()
DInlineFunction.cpp1650 DIBuilder DIB(*Caller->getParent()); in InlineFunction() local
1652 replaceDbgDeclareForAlloca(AI, AI, DIB, /*Deref=*/false); in InlineFunction()
/external/llvm/lib/CodeGen/
DSafeStack.cpp520 DIBuilder DIB(*F.getParent()); in moveStaticAllocasToUnsafeStack() local
604 replaceDbgDeclare(Arg, BasePointer, BasePointer->getNextNode(), DIB, in moveStaticAllocasToUnsafeStack()
620 replaceDbgDeclareForAlloca(AI, BasePointer, DIB, /*Deref=*/true, -Offset); in moveStaticAllocasToUnsafeStack()
621 replaceDbgValueForAlloca(AI, BasePointer, DIB, -Offset); in moveStaticAllocasToUnsafeStack()
674 DIBuilder DIB(*F.getParent()); in moveDynamicAllocasToUnsafeStack() local
710 replaceDbgDeclareForAlloca(AI, NewAI, DIB, /*Deref=*/true); in moveDynamicAllocasToUnsafeStack()
/external/pdfium/core/fxge/dib/
DREADME.md1 DIB stands for Device-Independent Bitmap.
/external/ImageMagick/coders/
Ddib.h29 MagickCoderExports(DIB)
Dcoders-list.h37 AddMagickCoder(DIB)
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DSafeStack.cpp490 DIBuilder DIB(*F.getParent()); in moveStaticAllocasToUnsafeStack() local
575 replaceDbgDeclare(Arg, BasePointer, BasePointer->getNextNode(), DIB, in moveStaticAllocasToUnsafeStack()
591 replaceDbgDeclareForAlloca(AI, BasePointer, DIB, DIExpression::NoDeref, in moveStaticAllocasToUnsafeStack()
593 replaceDbgValueForAlloca(AI, BasePointer, DIB, -Offset); in moveStaticAllocasToUnsafeStack()
646 DIBuilder DIB(*F.getParent()); in moveDynamicAllocasToUnsafeStack() local
682 replaceDbgDeclareForAlloca(AI, NewAI, DIB, DIExpression::NoDeref, 0, in moveDynamicAllocasToUnsafeStack()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DScalarReplAggregates.cpp926 DIBuilder *DIB; member in __anonc8b00cc40411::AllocaPromoter
932 : LoadAndStorePromoter(Insts, S), AI(0), DIB(DB) {} in AllocaPromoter()
972 ConvertDebugDeclareToDebugValue(DDI, SI, *DIB); in updateDebugInfo()
974 ConvertDebugDeclareToDebugValue(DDI, LI, *DIB); in updateDebugInfo()
989 DbgVal = DIB->insertDbgValueIntrinsic(ExtendedArg, 0, in updateDebugInfo()
993 DbgVal = DIB->insertDbgValueIntrinsic(SI->getOperand(0), 0, in updateDebugInfo()
999 DIB->insertDbgValueIntrinsic(LI->getOperand(0), 0, in updateDebugInfo()
1297 DIBuilder DIB(*F.getParent()); in performPromotion() local
1323 AllocaPromoter(Insts, SSA, &DIB).run(AI, Insts); in performPromotion()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/
DLocal.cpp154 DIBuilder DIB(*M); in TEST() local
155 replaceDbgDeclare(AI, NewBase, DII, DIB, DIExpression::NoDeref, 0, in TEST()
/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp602 DIBuilder DIB; member
643 DIB(*F.getParent(), /*AllowUnresolved*/ false), in FunctionStackPoisoner()
2152 replaceDbgDeclareForAlloca(AI, NewAllocaPtr, DIB, /*Deref=*/true); in poisonStack()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp2148 std::unique_ptr<DIBuilder> DIB; in visitAllocSite() local
2151 DIB.reset(new DIBuilder(*MI.getModule(), /*AllowUnresolved=*/false)); in visitAllocSite()
2188 ConvertDebugDeclareToDebugValue(DII, SI, *DIB); in visitAllocSite()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp823 DIBuilder DIB; member
866 DIB(*F.getParent(), /*AllowUnresolved*/ false), in FunctionStackPoisoner()
2979 replaceDbgDeclareForAlloca(AI, LocalStackBaseAlloca, DIB, Deref, in processStaticAllocas()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp4023 DIBuilder DIB(*AI.getModule(), /*AllowUnresolved*/ false); in splitAlloca() local
4042 PieceExpr = DIB.createBitPieceExpression(Start, Size); in splitAlloca()
4052 DIB.insertDeclare(Piece.Alloca, Var, PieceExpr, DbgDecl->getDebugLoc(), in splitAlloca()

12