Home
last modified time | relevance | path

Searched refs:getVariable (Results 1 – 25 of 81) sorted by relevance

1234

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DAssignmentTrackingAnalysis.h61 return const_cast<DILocalVariable *>(getVariable(ID).getVariable());
64 const DebugVariable &getVariable(VariableID ID) const {
56 const DebugVariable &getVariable(VariableID ID) const { getVariable() function
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DAssignmentTrackingAnalysis.cpp119 const DebugVariable &getVariable(VariableID ID) const { in getVariable() function in FunctionVarLocsBuilder
171 OS << "[" << Counter << "] " << V.getVariable()->getName(); in print()
330 return DebugAggregate(DII->getVariable(), DII->getDebugLoc().getInlinedAt()); in getAggregate()
333 return DebugAggregate(Var.getVariable(), Var.getInlinedAt()); in getAggregate()
668 DebugVariable DbgVar = FnVarLocs->getVariable(VarLoc.VariableID); in addDef()
669 if (skipVariable(DbgVar.getVariable())) in addDef()
677 DebugAggregate(DbgVar.getVariable(), VarLoc.DL.getInlinedAt())); in addDef()
687 assert(static_cast<bool>(DbgVar.getVariable()->getSizeInBits())); in addDef()
689 EndBit = *DbgVar.getVariable()->getSizeInBits(); in addDef()
704 LLVM_DEBUG(dbgs() << "DEF " << DbgVar.getVariable()->getName() << " [" in addDef()
[all …]
H A DMachineDebugify.cpp78 Line2Var[Line] = DVI->getVariable(); in applyDebugifyMetadataToMachineFunction()
91 Line2Var[Line] = DVR.getVariable(); in applyDebugifyMetadataToMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.h246 const DILocalVariable *getVariable() const {
250 StringRef getName() const { return getVariable()->getName(); }
255 if (getVariable()->isParameter()) in classof()
263 if (getVariable()->isArtificial())
271 if (getVariable()->isObjectPointer())
166 const DILocalVariable *getVariable() const { getVariable() function
H A DDwarfFile.cpp107 const DILocalVariable *DV = Var->getVariable(); in addScopeVariable()
H A DDwarfCompileUnit.cpp763 insertDIE(DV.getVariable(), VariableDie); in constructVariableDIE()
808 static_cast<const Metadata *>(DV.getVariable()->getType())); in applyConcreteDbgVariableAttributes()
1047 DbgVar.insert({Var->getVariable(), Var}); in sortLocalVars()
1637 const auto *DIVar = Var.getVariable(); in applyCommonDbgVariableAttributes()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DVarLocBasedImpl.cpp754 Out << ", \"" << Var.getVariable()->getName() << "\", " << *Expr << ", "; in dump()
1141 auto MapIt = OverlappingFragments.find({Var.getVariable(), ThisFragment}); in erase()
1147 DoErase({Var.getVariable(), FragmentHolder, Var.getInlinedAt()}); in erase()
1282 Out << " Var: " << VL.Var.getVariable()->getName(); in printVarLocInMBB()
1475 if (!VL.Var.getVariable()->isParameter()) in emitEntryValues()
1815 << VL.Var.getVariable()->getName() << ")\n"); in transferSpillOrRestoreInst()
1824 << VL.Var.getVariable()->getName() << ")\n"); in transferSpillOrRestoreInst()
1955 auto SeenIt = SeenFragments.find(MIVar.getVariable()); in accumulateFragmentMap()
1959 SeenFragments.insert({MIVar.getVariable(), OneFragment}); in accumulateFragmentMap()
1961 OverlappingFragments.insert({{MIVar.getVariable(), ThisFragment}, {}}); in accumulateFragmentMap()
[all …]
H A DInstrRefBasedImpl.cpp624 if (!Var.getVariable()->isParameter()) in isEntryValueVariable()
954 DebugLoc DL = DILocation::get(Var.getVariable()->getContext(), 0, 0, in emitMOLoc()
955 Var.getVariable()->getScope(), in emitMOLoc()
963 MIB.addMetadata(Var.getVariable()); in emitMOLoc()
1223 return BuildMI(MF, DL, Desc, false, MOs, Var.getVariable(), in emitLoc()
1288 } else if (auto Size = Var.getVariable()->getSizeInBits()) { in emitLoc()
1337 return BuildMI(MF, DL, Desc, Indirect, MOs, Var.getVariable(), Expr); in emitLoc()
2235 auto SeenIt = SeenFragments.find(MIVar.getVariable()); in accumulateFragmentMap()
2239 SeenFragments.insert({MIVar.getVariable(), OneFragment}); in accumulateFragmentMap()
2241 OverlapFragments.insert({{MIVar.getVariable(), ThisFragment}, {}}); in accumulateFragmentMap()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDebugProgramInstruction.cpp34 Variable(DVI->getVariable()), Expression(DVI->getExpression()),
60 Type(DVR.getType()), Variable(DVR.getVariable()), in DbgVariableRecord()
381 return getVariable()->getSizeInBits(); in getFragmentSizeInBits()
437 MetadataAsValue::get(Context, getVariable()), in createDebugIntrinsic()
446 MetadataAsValue::get(Context, getVariable()), in createDebugIntrinsic()
/freebsd/contrib/llvm-project/llvm/tools/llvm-dis/
H A Dllvm-dis.cpp127 OS << " [debug variable = " << DDI->getVariable()->getName() << "]"; in printInfoComment()
134 OS << " [debug variable = " << DVI->getVariable()->getName() << "]"; in printInfoComment()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfo.h286 : Var(DVI->getVariable()), DL(getDebugValueLoc(DVI)) {} in VarRecord()
288 : Var(DVR->getVariable()), DL(getDebugValueLoc(DVR)) {} in VarRecord()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.cpp537 const VarDecl *VD = CI.getVariable(); in getCaptureFieldType()
604 const VarDecl *variable = CI.getVariable(); in computeBlockInfo()
899 const VarDecl *variable = CI.getVariable(); in EmitBlockLiteral()
1525 const VarDecl *variable = CI.getVariable(); in GenerateBlockFunction()
1565 const VarDecl *variable = CI.getVariable(); in GenerateBlockFunction()
1701 QualType CaptureTy = CI.getVariable()->getType(); in getBlockCaptureStr()
1737 const VarDecl *Var = CI.getVariable(); in getBlockCaptureStr()
1932 QualType captureType = CI.getVariable()->getType(); in GenerateCopyHelperFunction()
1951 QualType varType = CI.getVariable()->getType(); in GenerateCopyHelperFunction()
1990 if (CI.isByRef() && C.getBlockVarCopyInit(CI.getVariable()).canThrow()) in GenerateCopyHelperFunction()
[all …]
H A DCGBlocks.h293 Captures[C.Cap->getVariable()] = &C; in buildCaptureMap()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleDebugInfoPrinter.cpp66 const auto *GV = GVU->getVariable(); in printModuleDebugInfo()
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransBlockObjCVariable.cpp81 VarDecl *var = I.getVariable(); in VisitBlockDecl()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp1588 if ((DVI->getVariable() == DIVar) && (DVI->getExpression() == DIExpr)) in PhiHasDebugValue()
1593 if ((DVR->getVariable() == DIVar) && (DVR->getExpression() == DIExpr)) in PhiHasDebugValue()
1611 DII->getExpression()->getActiveBits(DII->getVariable())) in valueCoversEntireFragment()
1638 DVR->getExpression()->getActiveBits(DVR->getVariable())) in valueCoversEntireFragment()
1700 auto *DIVar = DII->getVariable(); in ConvertDebugDeclareToDebugValue()
1744 auto *DIVar = DII->getVariable(); in ConvertDebugDeclareToDebugValue()
1770 auto *DIVar = DVR->getVariable(); in ConvertDebugDeclareToDebugValue()
1818 auto *DIVar = DII->getVariable(); in ConvertDebugDeclareToDebugValue()
1850 auto *DIVar = DVR->getVariable(); in ConvertDebugDeclareToDebugValue()
1890 auto *DIVar = DVR->getVariable(); in ConvertDebugDeclareToDebugValue()
[all …]
H A DDebugify.cpp351 auto *Var = DbgVar->getVariable(); in collectDebugInfoMetadata()
597 auto *Var = DbgVar->getVariable(); in checkDebugInfoMetadata()
697 auto Signedness = DbgVal->getVariable()->getSignedness(); in diagnoseMisSizedDbgValue()
767 (void)to_integer(DbgVal->getVariable()->getName(), Var, 10); in checkDebugifyMetadata()
H A DBasicBlockUtils.cpp411 DebugVariable Key(DVR.getVariable(), DVR.getExpression(), in DbgVariableRecordsRemoveRedundantDbgInstrsUsingBackwardScan()
450 DebugVariable Key(DVI->getVariable(), in removeRedundantDbgInstrsUsingBackwardScan()
512 DebugVariable Key(DVR.getVariable(), std::nullopt, in DbgVariableRecordsRemoveRedundantDbgInstrsUsingForwardScan()
552 return DebugVariable(DVR.getVariable(), std::nullopt, in DbgVariableRecordsRemoveUndefDbgAssignsFromEntryBlock()
591 DebugVariable Key(DVI->getVariable(), std::nullopt, in removeRedundantDbgInstrsUsingForwardScan()
655 return DebugVariable(DVI->getVariable(), std::nullopt, in removeUndefDbgAssignsFromEntryBlock()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaLambda.cpp1465 ValueDecl *Var = C.getVariable(); in ActOnStartOfLambdaDefinition()
1891 return cast<VarDecl>(Cap.getVariable())->getInit(); in BuildCaptureInit()
1922 ValueDecl *Var = Cap.getVariable(); in BuildCaptureInit()
1970 Expr *Init = cast<VarDecl>(From.getVariable())->getInit(); in CaptureHasSideEffects()
2004 From.getVariable()->isPlaceholderVar(getLangOpts())) in DiagnoseUnusedLambdaCapture()
2011 diag << From.getVariable(); in DiagnoseUnusedLambdaCapture()
2026 const auto *Var = dyn_cast_or_null<VarDecl>(Capture.getVariable()); in BuildCaptureField()
2176 ValueDecl *Var = From.getVariable(); in BuildLambdaExpr()
H A DScopeInfo.cpp226 return !isNested() && isVariableCapture() && getVariable()->isInitCapture(); in isInitCapture()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DInstrEmitter.cpp708 assert(cast<DILocalVariable>(SD->getVariable()) in EmitDbgValue()
790 MDNode *Var = SD->getVariable(); in EmitDbgInstrRef()
921 DIVariable *Var = SD->getVariable(); in EmitDbgNoLocation()
932 MDNode *Var = SD->getVariable(); in EmitDbgValueList()
948 MDNode *Var = SD->getVariable(); in EmitDbgValueFromSingleOp()
H A DSDNodeDbgValue.h180 DIVariable *getVariable() const { return Var; } in getVariable() function
H A DSelectionDAGBuilder.h121 DILocalVariable *getVariable() const { return Variable; } in getVariable() function
135 OS << "DDI(var=" << *P.DDI.getVariable();
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp154 const VarDecl *VD = I.getVariable(); in getSelfDecl()
651 BV->push_back(CI.getVariable(), BC); in LazyInitializeReferencedDecls()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp579 DILocalVariable *DILocVar = DbgVal->getVariable(); in filterInstsUnrelatedToPDI()
596 DILocalVariable *DILocVar = DbgDecl->getVariable(); in filterInstsUnrelatedToPDI()

1234