/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | PromoteMemoryToRegister.cpp | 104 static DPValue *createDebugValue(DIBuilder &DIB, Value *NewValue, argument 108 (void)DIB; 112 static DbgValueInst *createDebugValue(DIBuilder &DIB, Value *NewValue, argument 117 return static_cast<DbgValueInst *>(DIB.insertDbgValueIntrinsic( 145 updateForDeletedStore(StoreInst *ToDelete, DIBuilder &DIB, argument 163 createDebugValue(DIB, DbgAssign->getValue(), DbgAssign->getVariable(), 183 ConvertDebugDeclareToDebugValue(Assign, ToDelete, DIB); 191 void updateForNewPhi(PHINode *NewPhi, DIBuilder &DIB) const { 196 ConvertDebugDeclareToDebugValue(DAI, NewPhi, DIB); 198 ConvertDebugDeclareToDebugValue(DPV, NewPhi, DIB); 348 DIBuilder DIB; member in struct:__anon3006::PromoteMem2Reg [all...] |
H A D | Debugify.cpp | 83 std::function<bool(DIBuilder &DIB, Function &F)> ApplyToMF) { 90 DIBuilder DIB(M); 101 DTy = DIB.createBasicType(Name, Size, dwarf::DW_ATE_unsigned); 108 auto File = DIB.createFile(M.getName(), "/"); 109 auto CU = DIB.createCompileUnit(dwarf::DW_LANG_C, File, "debugify", 119 DIB.createSubroutineType(DIB.getOrCreateTypeArray(std::nullopt)); 124 auto SP = DIB.createFunction(CU, F.getName(), F.getName(), File, NextLine, 137 auto LocalVar = DIB.createAutoVariable(SP, Name, File, Loc->getLine(), 140 DIB 81 applyDebugifyMetadata( Module &M, iterator_range<Module::iterator> Functions, StringRef Banner, std::function<bool(DIBuilder &DIB, Function &F)> ApplyToMF) argument [all...] |
H A D | CodeExtractor.cpp | 1542 DIBuilder DIB(*OldFunc.getParent(), /*AllowUnresolved=*/false, 1545 DIB.createSubroutineType(DIB.getOrCreateTypeArray(std::nullopt)); 1549 auto NewSP = DIB.createFunction( 1580 NewVar = DIB.createAutoVariable( 1653 DIB.finalizeSubprogram(NewSP);
|
H A D | Local.cpp | 1907 DIBuilder DIB(*F.getParent(), /*AllowUnresolved*/ false); 1954 ConvertDebugDeclareToDebugValue(DDI, SI, DIB); 1956 ConvertDebugDeclareToDebugValue(DDI, LI, DIB); 1965 insertDbgValueOrDPValue(DIB, AI, DDI->getVariable(), DerefExpr, 3580 DIExpression *llvm::getExpressionForConstant(DIBuilder &DIB, const Constant &C, 3583 auto createIntegerExpression = [&DIB](const Constant &CV) -> DIExpression * { 3586 return InitIntOpt ? DIB.createConstantValueExpression( 3597 return DIB.createConstantValueExpression( 3605 return DIB.createConstantValueExpression(0);
|
H A D | LoopUtils.cpp | 664 DIBuilder DIB(*ExitBlock->getModule());
|
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MachineDebugify.cpp | 34 DIBuilder &DIB, Function &F) { 181 "ModuleDebugify: ", [&](DIBuilder &DIB, Function &F) -> bool { 182 return applyDebugifyMetadataToMachineFunction(MMI, DIB, F); 33 applyDebugifyMetadataToMachineFunction(MachineModuleInfo &MMI, DIBuilder &DIB, Function &F) argument
|
H A D | SafeStack.cpp | 494 DIBuilder DIB(*F.getParent()); 588 replaceDbgDeclare(Arg, BasePointer, DIB, DIExpression::ApplyOffset, 600 replaceDbgDeclare(AI, BasePointer, DIB, DIExpression::ApplyOffset, -Offset); 601 replaceDbgValueForAlloca(AI, BasePointer, DIB, -Offset); 657 DIBuilder DIB(*F.getParent()); 693 replaceDbgDeclare(AI, NewAI, DIB, DIExpression::ApplyOffset, 0);
|
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | SCCP.cpp | 381 DIBuilder DIB(M); 383 DIB, *GV->getInitializer(), *GV->getValueType()))
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | Local.h | 471 DIExpression *getExpressionForConstant(DIBuilder &DIB, const Constant &C,
|
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | SROA.cpp | 327 static DPValue *createLinkedAssign(DPValue *, DIBuilder &DIB, argument 333 (void)DIB; 339 DbgAssignIntrinsic *, DIBuilder &DIB, Instruction *LinkedInstr, 342 return DIB.insertDbgAssign(LinkedInstr, NewValue, Variable, Expression, 398 DIBuilder DIB(*OldInst->getModule(), /*AllowUnresolved*/ false); 456 DbgAssign, DIB, Inst, NewValue, DbgAssign->getVariable(), Expr, Dest, 4924 static void insertNewDbgInst(DIBuilder &DIB, DbgDeclareInst *Orig, argument 4927 DIB.insertDeclare(NewAddr, Orig->getVariable(), NewFragmentExpr, 4930 static void insertNewDbgInst(DIBuilder &DIB, DbgAssignIntrinsic *Orig, argument 4938 auto *NewAssign = DIB 338 createLinkedAssign( DbgAssignIntrinsic *, DIBuilder &DIB, Instruction *LinkedInstr, Value *NewValue, DILocalVariable *Variable, DIExpression *Expression, Value *Address, DIExpression *AddressExpression, const DILocation *DI) argument 4944 insertNewDbgInst(DIBuilder &DIB, DPValue *Orig, AllocaInst *NewAddr, DIExpression *NewFragmentExpr, Instruction *BeforeInst) argument [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/IR/ |
H A D | DebugInfo.cpp | 2070 DIBuilder &DIB) { 2116 auto *Assign = DIB.insertDbgAssign(&StoreLikeInst, Val, VarRec.Var, Expr, 2137 DIBuilder DIB(Module, /*AllowUnresolved*/ false); 2207 emitDbgAssign(*Info, ValueComponent, DestComponent, I, R, DIB);
|
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 2850 std::unique_ptr<DIBuilder> DIB; local 2853 DIB.reset(new DIBuilder(*MI.getModule(), /*AllowUnresolved=*/false)); 2891 ConvertDebugDeclareToDebugValue(DVI, SI, *DIB); 2894 ConvertDebugDeclareToDebugValue(DPV, SI, *DIB);
|
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | AddressSanitizer.cpp | 915 DIBuilder DIB; member in struct:__anon2865::FunctionStackPoisoner 952 : F(F), ASan(ASan), DIB(*F.getParent(), /*AllowUnresolved*/ false), 3463 replaceDbgDeclare(AI, LocalStackBaseAllocaPtr, DIB, DIExprFlags,
|
/freebsd-current/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGDebugInfo.cpp | 2922 llvm::DIBuilder DIB(CGM.getModule()); 2931 DIB.createCompileUnit( 2934 DIB.createFile(Mod.getModuleName(), TheCU->getDirectory()), 2937 DIB.finalize();
|