Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DDIBuilder.h84 Instruction *insertDeclare(llvm::Value *Storage, DILocalVariable *VarInfo,
94 DILocalVariable *VarInfo,
101 insertDbgValueIntrinsic(llvm::Value *Val, DILocalVariable *VarInfo,
107 insertDbgAddrIntrinsic(llvm::Value *Val, DILocalVariable *VarInfo,
699 DILocalVariable *
724 DILocalVariable *
917 Instruction *insertDeclare(llvm::Value *Storage, DILocalVariable *VarInfo,
936 DILocalVariable *SrcVar,
947 Instruction *insertDeclare(llvm::Value *Storage, DILocalVariable *VarInfo,
972 DILocalVariable *VarInfo,
[all …]
H A DDebugInfo.h239 DILocalVariable *Var;
244 VarRecord(DILocalVariable *Var, DILocation *DL) : Var(Var), DL(DL) {} in VarRecord()
H A DMetadata.def109 HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILocalVariable)
H A DDebugInfoMetadata.h3162 class DILocalVariable : public DIVariable {
3169 DILocalVariable(LLVMContext &C, StorageType Storage, unsigned Line,
3176 ~DILocalVariable() = default;
3178 static DILocalVariable *getImpl(LLVMContext &Context, DIScope *Scope,
3188 static DILocalVariable *getImpl(LLVMContext &Context, Metadata *Scope,
3202 DEFINE_MDNODE_GET(DILocalVariable,
3208 DEFINE_MDNODE_GET(DILocalVariable,
3728 const DILocalVariable *Variable;
3739 DebugVariable(const DILocalVariable *Var,
3744 DebugVariable(const DILocalVariable *Var, const DIExpression *DIExpr,
[all …]
H A DIntrinsicInst.h246 void setVariable(DILocalVariable *NewVar) { in setVariable()
288 DILocalVariable *getVariable() const { in getVariable()
289 return cast<DILocalVariable>(getRawVariable()); in getVariable()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DAssignmentTrackingAnalysis.h47 DILocalVariable *getDILocalVariable(const VarLocInfo *Loc) const { in getDILocalVariable()
52 DILocalVariable *getDILocalVariable(VariableID ID) const { in getDILocalVariable()
53 return const_cast<DILocalVariable *>(getVariable(ID).getVariable()); in getDILocalVariable()
H A DMachineFunction.h51 class DILocalVariable; variable
410 const DILocalVariable *Var;
416 VariableDbgInfo(const DILocalVariable *Var, const DIExpression *Expr,
1227 void setVariableDbgInfo(const DILocalVariable *Var, const DIExpression *Expr,
/openbsd-src/gnu/llvm/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.cpp80 const DILocalVariable *LocalVar = MI.getDebugVariable(); in runOnModule()
H A DLiveDebugVariables.cpp287 const DILocalVariable *Variable; ///< The debug info variable we are part of.
321 UserValue(const DILocalVariable *var, in UserValue()
585 UserValue *getUserValue(const DILocalVariable *Var,
702 if (const auto *V = dyn_cast<const DILocalVariable>(Node)) { in printExtendedName()
772 LDVImpl::getUserValue(const DILocalVariable *Var, in getUserValue()
855 const DILocalVariable *Var = MI.getDebugVariable(); in handleDebugValue()
1689 assert(cast<DILocalVariable>(Variable) in insertDebugValue()
H A DMachineInstr.cpp863 const DILocalVariable *MachineInstr::getDebugVariable() const { in getDebugVariable()
864 return cast<DILocalVariable>(getDebugVariableOp().getMetadata()); in getDebugVariable()
1720 auto *DIV = dyn_cast<DILocalVariable>(MO.getMetadata()); in print()
2121 assert(isa<DILocalVariable>(Variable) && "not a variable"); in BuildMI()
2123 assert(cast<DILocalVariable>(Variable)->isValidLocationForIntrinsic(DL) && in BuildMI()
2137 assert(isa<DILocalVariable>(Variable) && "not a variable"); in BuildMI()
2139 assert(cast<DILocalVariable>(Variable)->isValidLocationForIntrinsic(DL) && in BuildMI()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DDIBuilder.cpp773 static DILocalVariable *createLocalVariable( in createLocalVariable()
785 auto *Node = DILocalVariable::get( in createLocalVariable()
799 DILocalVariable *DIBuilder::createAutoVariable(DIScope *Scope, StringRef Name, in createAutoVariable()
809 DILocalVariable *DIBuilder::createParameterVariable( in createParameterVariable()
949 Instruction *DIBuilder::insertDeclare(Value *Storage, DILocalVariable *VarInfo, in insertDeclare()
956 Instruction *DIBuilder::insertDeclare(Value *Storage, DILocalVariable *VarInfo, in insertDeclare()
967 DILocalVariable *SrcVar, DIExpression *ValExpr, in insertDbgAssign()
1008 DILocalVariable *VarInfo, in insertDbgValueIntrinsic()
1018 DILocalVariable *VarInfo, in insertDbgValueIntrinsic()
1026 DILocalVariable *VarInfo, in insertDbgAddrIntrinsic()
[all …]
H A DDebugInfo.cpp302 auto *DV = dyn_cast<DILocalVariable>(N); in processVariable()
1570 unwrap(Storage), unwrap<DILocalVariable>(VarInfo), in LLVMDIBuilderInsertDeclareBefore()
1579 unwrap(Storage), unwrap<DILocalVariable>(VarInfo), in LLVMDIBuilderInsertDeclareAtEnd()
1591 unwrap(Val), unwrap<DILocalVariable>(VarInfo), in LLVMDIBuilderInsertDbgValueBefore()
1603 unwrap(Val), unwrap<DILocalVariable>(VarInfo), in LLVMDIBuilderInsertDbgValueAtEnd()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DDbgEntityHistoryCalculator.cpp147 const DILocalVariable *LocalVar = cast<DILocalVariable>(Entity.first); in trimLocationRanges()
465 const DILocalVariable *RawVar = MI.getDebugVariable(); in calculateDbgEntityHistory()
564 const DILocalVariable *LocalVar = cast<DILocalVariable>(Var.first); in dump()
H A DDwarfDebug.h136 DbgVariable(const DILocalVariable *V, const DILocation *IA) in DbgVariable()
166 const DILocalVariable *getVariable() const { in getVariable()
167 return cast<DILocalVariable>(getEntity()); in getVariable()
H A DDwarfFile.cpp107 const DILocalVariable *DV = Var->getVariable(); in addScopeVariable()
H A DDwarfCompileUnit.cpp968 SmallDenseMap<const DILocalVariable *, DbgVariable *> DbgVar; in sortLocalVars()
1012 if (const auto *Dep = dyn_cast<const DILocalVariable>(Dependency)) in sortLocalVars()
1358 if (isa<const DILocalVariable>(Node)) { in createAbstractEntity()
1360 cast<const DILocalVariable>(Node), nullptr /* IA */);; in createAbstractEntity()
H A DDwarfUnit.h201 void addSourceLine(DIE &Die, const DILocalVariable *V);
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h62 class DILocalVariable; variable
121 DILocalVariable *getVariable(const FunctionVarLocs *Locs) const { in getVariable()
357 void dropDanglingDebugInfo(const DILocalVariable *Variable,
371 bool handleDebugValue(ArrayRef<const Value *> Values, DILocalVariable *Var,
679 bool EmitFuncArgumentDbgValue(const Value *V, DILocalVariable *Variable,
692 SDDbgValue *getDbgValue(SDValue N, DILocalVariable *Variable,
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGDebugInfo.h167 llvm::DenseMap<const ParmVarDecl *, llvm::DILocalVariable *>;
474 llvm::DILocalVariable *
490 llvm::DILocalVariable *EmitDeclareOfArgVariable(const VarDecl *Decl,
588 llvm::DILocalVariable *EmitDeclare(const VarDecl *decl, llvm::Value *AI,
596 llvm::DILocalVariable *EmitDeclare(const BindingDecl *decl, llvm::Value *AI,
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Utils/
H A DDebugify.h29 using DebugVarMap = llvm::MapVector<const llvm::DILocalVariable *, unsigned>;
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp565 DILocalVariable *DILocVar = DVI->getVariable(); in filterInstsUnrelatedToPDI()
580 DILocalVariable *DILocVar = DDI->getVariable(); in filterInstsUnrelatedToPDI()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DMemoryOpRemark.cpp325 if (DILocalVariable *DILV = DVI->getVariable()) { in visitVariable()

123