Home
last modified time | relevance | path

Searched refs:DILocalVariable (Results 1 – 25 of 69) sorted by relevance

123

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugProgramInstruction.h84 DILocalVariable *Variable;
126 DPValue(Metadata *Location, DILocalVariable *DV, DIExpression *Expr,
128 DPValue(Metadata *Value, DILocalVariable *Variable, DIExpression *Expression,
132 static DPValue *createDPVAssign(Value *Val, DILocalVariable *Variable,
138 DILocalVariable *Variable,
144 static DPValue *createDPValue(Value *Location, DILocalVariable *DV,
146 static DPValue *createDPValue(Value *Location, DILocalVariable *DV,
149 static DPValue *createDPVDeclare(Value *Address, DILocalVariable *DV,
151 static DPValue *createDPVDeclare(Value *Address, DILocalVariable *DV,
222 void setVariable(DILocalVariable *NewVar) { Variable = NewVar; } in setVariable()
[all …]
H A DDIBuilder.h93 Instruction *insertDeclare(llvm::Value *Storage, DILocalVariable *VarInfo,
103 DILocalVariable *VarInfo,
110 insertDbgValueIntrinsic(llvm::Value *Val, DILocalVariable *VarInfo,
706 DILocalVariable *
731 DILocalVariable *
924 Instruction *insertDeclare(llvm::Value *Storage, DILocalVariable *VarInfo,
943 DILocalVariable *SrcVar,
954 Instruction *insertDeclare(llvm::Value *Storage, DILocalVariable *VarInfo,
979 DILocalVariable *VarInfo,
991 DILocalVariable *VarInfo,
H A DDebugInfo.h109 void processVariable(const Module &M, const DILocalVariable *DVI);
274 DILocalVariable *Var;
281 VarRecord(DILocalVariable *Var, DILocation *DL) : Var(Var), DL(DL) {} in VarRecord()
294 return at::VarRecord(DenseMapInfo<DILocalVariable *>::getEmptyKey(),
299 return at::VarRecord(DenseMapInfo<DILocalVariable *>::getTombstoneKey(),
H A DMetadata.def110 HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILocalVariable)
H A DDebugInfoMetadata.h3244 class DILocalVariable : public DIVariable {
3251 DILocalVariable(LLVMContext &C, StorageType Storage, unsigned Line,
3258 ~DILocalVariable() = default;
3260 static DILocalVariable *getImpl(LLVMContext &Context, DIScope *Scope,
3270 static DILocalVariable *getImpl(LLVMContext &Context, Metadata *Scope,
3284 DEFINE_MDNODE_GET(DILocalVariable,
3290 DEFINE_MDNODE_GET(DILocalVariable,
3812 const DILocalVariable *Variable;
3824 DebugVariable(const DILocalVariable *Var,
3829 DebugVariable(const DILocalVariable *Var, const DIExpression *DIExpr,
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h62 class DILocalVariable; variable
112 DILocalVariable *Variable;
116 DanglingDebugInfo(DILocalVariable *Var, DIExpression *Expr, DebugLoc DL, in DanglingDebugInfo()
121 DILocalVariable *getVariable() const { return Variable; } in getVariable()
337 DILocalVariable *Var, DIExpression *Expr,
343 void dropDanglingDebugInfo(const DILocalVariable *Variable,
357 bool handleDebugValue(ArrayRef<const Value *> Values, DILocalVariable *Var,
362 void handleKillDebugValue(DILocalVariable *Var, DIExpression *Expr,
365 void handleDebugDeclare(Value *Address, DILocalVariable *Variable,
679 bool EmitFuncArgumentDbgValue(const Value *V, DILocalVariable *Variable,
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DAssignmentTrackingAnalysis.h55 DILocalVariable *getDILocalVariable(const VarLocInfo *Loc) const { in getDILocalVariable()
60 DILocalVariable *getDILocalVariable(VariableID ID) const { in getDILocalVariable()
61 return const_cast<DILocalVariable *>(getVariable(ID).getVariable()); in getDILocalVariable()
H A DMachineFunction.h52 class DILocalVariable; variable
419 const DILocalVariable *Var;
423 VariableDbgInfo(const DILocalVariable *Var, const DIExpression *Expr,
427 VariableDbgInfo(const DILocalVariable *Var, const DIExpression *Expr,
1284 void setVariableDbgInfo(const DILocalVariable *Var, const DIExpression *Expr,
1291 void setVariableDbgInfo(const DILocalVariable *Var, const DIExpression *Expr,
H A DFastISel.h528 DILocalVariable *Var, const DebugLoc &DL);
533 DILocalVariable *Var, const DebugLoc &DL);
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DDebugProgramInstruction.cpp47 DPValue::DPValue(Metadata *Location, DILocalVariable *DV, DIExpression *Expr, in DPValue()
52 DPValue::DPValue(Metadata *Value, DILocalVariable *Variable, in DPValue()
62 DPValue *DPValue::createDPValue(Value *Location, DILocalVariable *DV, in createDPValue()
68 DPValue *DPValue::createDPValue(Value *Location, DILocalVariable *DV, in createDPValue()
76 DPValue *DPValue::createDPVDeclare(Value *Address, DILocalVariable *DV, in createDPVDeclare()
82 DPValue *DPValue::createDPVDeclare(Value *Address, DILocalVariable *DV, in createDPVDeclare()
90 DPValue *DPValue::createDPVAssign(Value *Val, DILocalVariable *Variable, in createDPVAssign()
100 DILocalVariable *Variable, in createLinkedDPVAssign()
H A DDIBuilder.cpp759 static DILocalVariable *createLocalVariable( in createLocalVariable()
768 auto *Node = DILocalVariable::get(VMContext, Scope, Name, File, LineNo, Ty, in createLocalVariable()
779 DILocalVariable *DIBuilder::createAutoVariable(DIScope *Scope, StringRef Name, in createAutoVariable()
791 DILocalVariable *DIBuilder::createParameterVariable( in createParameterVariable()
928 Instruction *DIBuilder::insertDeclare(Value *Storage, DILocalVariable *VarInfo, in insertDeclare()
935 Instruction *DIBuilder::insertDeclare(Value *Storage, DILocalVariable *VarInfo, in insertDeclare()
946 DILocalVariable *SrcVar, DIExpression *ValExpr, in insertDbgAssign()
987 DILocalVariable *VarInfo, in insertDbgValueIntrinsic()
999 DILocalVariable *VarInfo, in insertDbgValueIntrinsic()
1027 llvm::Value *Val, DILocalVariable *VarInfo, DIExpression *Expr, in insertDbgValueIntrinsic()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DStackFrameLayoutAnalysisPass.cpp49 using SlotDbgMap = SmallDenseMap<int, SetVector<const DILocalVariable *>>;
159 void emitSourceLocRemark(const MachineFunction &MF, const DILocalVariable *N, in emitSourceLocRemark()
201 for (const DILocalVariable *N : SlotMap[Info.Slot]) in emitStackFrameLayoutRemarks()
H A DMachineDebugify.cpp68 DenseMap<unsigned, DILocalVariable *> Line2Var; in applyDebugifyMetadataToMachineFunction()
90 SmallSet<DILocalVariable *, 16> VarSet; in applyDebugifyMetadataToMachineFunction()
113 DILocalVariable *LocalVar = Line2Var[Line]; in applyDebugifyMetadataToMachineFunction()
H A DMachineCheckDebugify.cpp81 const DILocalVariable *LocalVar = MI.getDebugVariable(); in runOnModule()
H A DLiveDebugVariables.cpp288 const DILocalVariable *Variable; ///< The debug info variable we are part of.
322 UserValue(const DILocalVariable *var, in UserValue()
586 UserValue *getUserValue(const DILocalVariable *Var,
703 if (const auto *V = dyn_cast<const DILocalVariable>(Node)) { in printExtendedName()
773 LDVImpl::getUserValue(const DILocalVariable *Var, in getUserValue()
856 const DILocalVariable *Var = MI.getDebugVariable(); in handleDebugValue()
1690 assert(cast<DILocalVariable>(Variable) in insertDebugValue()
H A DMachineInstr.cpp879 const DILocalVariable *MachineInstr::getDebugVariable() const { in getDebugVariable()
880 return cast<DILocalVariable>(getDebugVariableOp().getMetadata()); in getDebugVariable()
1746 auto *DIV = dyn_cast<DILocalVariable>(MO.getMetadata()); in print()
2157 assert(isa<DILocalVariable>(Variable) && "not a variable"); in BuildMI()
2159 assert(cast<DILocalVariable>(Variable)->isValidLocationForIntrinsic(DL) && in BuildMI()
2173 assert(isa<DILocalVariable>(Variable) && "not a variable"); in BuildMI()
2175 assert(cast<DILocalVariable>(Variable)->isValidLocationForIntrinsic(DL) && in BuildMI()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDbgEntityHistoryCalculator.cpp150 const DILocalVariable *LocalVar = cast<DILocalVariable>(Entity.first); in trimLocationRanges()
472 const DILocalVariable *RawVar = MI.getDebugVariable(); in calculateDbgEntityHistory()
571 const DILocalVariable *LocalVar = cast<DILocalVariable>(Var.first); in dump()
H A DDwarfDebug.h242 DbgVariable(const DILocalVariable *V, const DILocation *IA) in DbgVariable()
246 const DILocalVariable *getVariable() const { in getVariable()
247 return cast<DILocalVariable>(getEntity()); in getVariable()
H A DDwarfFile.cpp107 const DILocalVariable *DV = Var->getVariable(); in addScopeVariable()
H A DDwarfDebug.cpp1514 if (const auto *LV = dyn_cast<DILocalVariable>(N)) in getRetainedNodeScope()
1576 cast<DILocalVariable>(Var.first), Var.second); in collectVariableInfoFromMFTable()
1856 if (isa<const DILocalVariable>(Node)) { in createConcreteEntity()
1858 std::make_unique<DbgVariable>(cast<const DILocalVariable>(Node), in createConcreteEntity()
1893 const DILocalVariable *LocalVar = cast<DILocalVariable>(IV.first); in collectEntityInfo()
1987 if (isa<DILocalVariable>(DN) || isa<DILabel>(DN)) { in collectEntityInfo()
2319 if (isa<DILocalVariable>(DN) || isa<DILabel>(DN)) { in endFunctionImpl()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.h166 llvm::DenseMap<const ParmVarDecl *, llvm::DILocalVariable *>;
496 llvm::DILocalVariable *
512 llvm::DILocalVariable *
609 llvm::DILocalVariable *EmitDeclare(const VarDecl *decl, llvm::Value *AI,
617 llvm::DILocalVariable *EmitDeclare(const BindingDecl *decl, llvm::Value *AI,
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DMachineIRBuilder.cpp52 assert(isa<DILocalVariable>(Variable) && "not a variable"); in buildDirectDbgValue()
55 cast<DILocalVariable>(Variable)->isValidLocationForIntrinsic(getDL()) && in buildDirectDbgValue()
65 assert(isa<DILocalVariable>(Variable) && "not a variable"); in buildIndirectDbgValue()
68 cast<DILocalVariable>(Variable)->isValidLocationForIntrinsic(getDL()) && in buildIndirectDbgValue()
78 assert(isa<DILocalVariable>(Variable) && "not a variable"); in buildFIDbgValue()
81 cast<DILocalVariable>(Variable)->isValidLocationForIntrinsic(getDL()) && in buildFIDbgValue()
93 assert(isa<DILocalVariable>(Variable) && "not a variable"); in buildConstDbgValue()
96 cast<DILocalVariable>(Variable)->isValidLocationForIntrinsic(getDL()) && in buildConstDbgValue()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DIRTranslator.h216 const DILocalVariable *Variable,
224 const DILocalVariable *Variable,
279 const DILocalVariable *Var,
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DDebugify.h29 using DebugVarMap = llvm::MapVector<const llvm::DILocalVariable *, unsigned>;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp558 DILocalVariable *DILocVar = DVI->getVariable(); in filterInstsUnrelatedToPDI()
573 DILocalVariable *DILocVar = DDI->getVariable(); in filterInstsUnrelatedToPDI()

123