Home
last modified time | relevance | path

Searched refs:getVariable (Results 1 – 25 of 86) 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.cpp120 const DebugVariable &getVariable(VariableID ID) const { in getVariable() function in FunctionVarLocsBuilder
172 OS << "[" << Counter << "] " << V.getVariable()->getName(); in print()
332 return DebugAggregate(Var.getVariable(), Var.getInlinedAt()); in getAggregate()
666 DebugVariable DbgVar = FnVarLocs->getVariable(VarLoc.VariableID); in addDef()
667 if (skipVariable(DbgVar.getVariable())) in addDef()
675 DebugAggregate(DbgVar.getVariable(), VarLoc.DL.getInlinedAt())); in addDef()
685 assert(static_cast<bool>(DbgVar.getVariable()->getSizeInBits())); in addDef()
687 EndBit = *DbgVar.getVariable()->getSizeInBits(); in addDef()
702 LLVM_DEBUG(dbgs() << "DEF " << DbgVar.getVariable()->getName() << " [" in addDef()
1584 DebugVariable V = FnVarLocs->getVariable(Var); in processUnknownStoreToVariable()
[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 { in getVariable() function
250 StringRef getName() const { return getVariable()->getName(); } in getName()
255 if (getVariable()->isParameter()) in getTag()
263 if (getVariable()->isArtificial()) in isArtificial()
271 if (getVariable()->isObjectPointer()) in isObjectPointer()
H A DDwarfFile.cpp107 const DILocalVariable *DV = Var->getVariable(); in addScopeVariable()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DVarLocBasedImpl.cpp756 Out << ", \"" << Var.getVariable()->getName() << "\", " << *Expr << ", "; in dump()
1144 auto MapIt = OverlappingFragments.find({Var.getVariable(), ThisFragment}); in erase()
1150 DoErase({Var.getVariable(), FragmentHolder, Var.getInlinedAt()}); in erase()
1295 Out << " Var: " << VL.Var.getVariable()->getName(); in printVarLocInMBB()
1487 if (!VL.Var.getVariable()->isParameter()) in emitEntryValues()
1824 << VL.Var.getVariable()->getName() << ")\n"); in transferSpillOrRestoreInst()
1833 << VL.Var.getVariable()->getName() << ")\n"); in transferSpillOrRestoreInst()
1964 auto [SeenIt, Inserted] = SeenFragments.try_emplace(MIVar.getVariable()); in accumulateFragmentMap()
1968 OverlappingFragments.insert({{MIVar.getVariable(), ThisFragment}, {}}); in accumulateFragmentMap()
1975 OverlappingFragments.insert({{MIVar.getVariable(), ThisFragment}, {}}); in accumulateFragmentMap()
[all …]
H A DInstrRefBasedImpl.cpp630 if (!Var.getVariable()->isParameter()) in isEntryValueVariable()
968 DebugLoc DL = DILocation::get(Var.getVariable()->getContext(), 0, 0, in emitMOLoc()
969 Var.getVariable()->getScope(), in emitMOLoc()
977 MIB.addMetadata(Var.getVariable()); in emitMOLoc()
1237 return BuildMI(MF, DL, Desc, false, MOs, Var.getVariable(), in emitLoc()
1302 } else if (auto Size = Var.getVariable()->getSizeInBits()) { in emitLoc()
1372 return BuildMI(MF, DL, Desc, Indirect, MOs, Var.getVariable(), Expr); in emitLoc()
2269 auto [SeenIt, Inserted] = SeenFragments.try_emplace(MIVar.getVariable()); in accumulateFragmentMap()
2273 OverlapFragments.insert({{MIVar.getVariable(), ThisFragment}, {}}); in accumulateFragmentMap()
2280 OverlapFragments.insert({{MIVar.getVariable(), ThisFragment}, {}}); in accumulateFragmentMap()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-dis/
H A Dllvm-dis.cpp139 OS << " [debug variable = " << DDI->getVariable()->getName() << "]"; in printInfoComment()
146 OS << " [debug variable = " << DVI->getVariable()->getName() << "]"; in printInfoComment()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDebugProgramInstruction.cpp35 Variable(DVI->getVariable()), Expression(DVI->getExpression()),
61 Type(DVR.getType()), Variable(DVR.getVariable()), in DbgVariableRecord()
382 return getVariable()->getSizeInBits(); in getFragmentSizeInBits()
438 MetadataAsValue::get(Context, getVariable()), in createDebugIntrinsic()
447 MetadataAsValue::get(Context, getVariable()), in createDebugIntrinsic()
H A DDroppedVariableStatsIR.cpp125 auto *DbgVar = Dbg->getVariable(); in visitEveryDebugRecord()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp1616 if ((DVI->getVariable() == DIVar) && (DVI->getExpression() == DIExpr)) in PhiHasDebugValue()
1621 if ((DVR->getVariable() == DIVar) && (DVR->getExpression() == DIExpr)) in PhiHasDebugValue()
1639 DII->getExpression()->getActiveBits(DII->getVariable())) in valueCoversEntireFragment()
1666 DVR->getExpression()->getActiveBits(DVR->getVariable())) in valueCoversEntireFragment()
1711 auto *DIVar = DII->getVariable(); in ConvertDebugDeclareToDebugValue()
1759 auto *DIVar = DII->getVariable(); in InsertDebugValueAtStoreLoc()
1775 auto *DIVar = DII->getVariable(); in ConvertDebugDeclareToDebugValue()
1801 auto *DIVar = DVR->getVariable(); in ConvertDebugDeclareToDebugValue()
1846 auto *DIVar = DVR->getVariable(); in InsertDebugValueAtStoreLoc()
1862 auto *DIVar = DII->getVariable(); in ConvertDebugDeclareToDebugValue()
[all …]
H A DDebugify.cpp423 auto *Var = DbgVar->getVariable(); in collectDebugInfoMetadata()
668 auto *Var = DbgVar->getVariable(); in checkDebugInfoMetadata()
761 auto Signedness = DbgVal->getVariable()->getSignedness(); in diagnoseMisSizedDbgValue()
831 (void)to_integer(DbgVal->getVariable()->getName(), Var, 10); in checkDebugifyMetadata()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleDebugInfoPrinter.cpp64 const auto *GV = GVU->getVariable(); in printModuleDebugInfo()
H A DKernelInfo.cpp113 DbgName = DVR.getVariable()->getName(); in remarkAlloca()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.cpp537 const VarDecl *VD = CI.getVariable(); in getCaptureFieldType()
603 const VarDecl *variable = CI.getVariable(); in computeBlockInfo()
928 const VarDecl *variable = CI.getVariable(); in EmitBlockLiteral()
1557 const VarDecl *variable = CI.getVariable(); in GenerateBlockFunction()
1597 const VarDecl *variable = CI.getVariable(); in GenerateBlockFunction()
1741 QualType CaptureTy = CI.getVariable()->getType(); in getBlockCaptureStr()
1784 const VarDecl *Var = CI.getVariable(); in getBlockCaptureStr()
1980 QualType captureType = CI.getVariable()->getType(); in GenerateCopyHelperFunction()
1997 QualType Type = CI.getVariable()->getType(); in GenerateCopyHelperFunction()
2007 QualType varType = CI.getVariable()->getType(); in GenerateCopyHelperFunction()
[all …]
H A DCGBlocks.h294 Captures[C.Cap->getVariable()] = &C; in buildCaptureMap()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfo.h294 : Var(DVI->getVariable()), DL(getDebugValueLoc(DVI)) {} in VarRecord()
296 : Var(DVR->getVariable()), DL(getDebugValueLoc(DVR)) {} in VarRecord()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaLambda.cpp1495 ValueDecl *Var = C.getVariable(); in ActOnStartOfLambdaDefinition()
1915 return cast<VarDecl>(Cap.getVariable())->getInit(); in BuildCaptureInit()
1946 ValueDecl *Var = Cap.getVariable(); in BuildCaptureInit()
1999 Expr *Init = cast<VarDecl>(From.getVariable())->getInit(); in CaptureHasSideEffects()
2034 From.getVariable()->isPlaceholderVar(getLangOpts())) in DiagnoseUnusedLambdaCapture()
2041 diag << From.getVariable(); in DiagnoseUnusedLambdaCapture()
2061 const auto *Var = dyn_cast_or_null<VarDecl>(Capture.getVariable()); in BuildCaptureField()
2234 ValueDecl *Var = From.getVariable(); in BuildLambdaExpr()
2469 InstantiatingScope ? InstantiatingScope->Captures[Index].getVariable() in addInstantiatedCapturesToScope()
H A DScopeInfo.cpp225 return !isNested() && isVariableCapture() && getVariable()->isInitCapture(); in isInitCapture()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSDNodeDbgValue.h181 DIVariable *getVariable() const { return Var; } in getVariable() function
H A DInstrEmitter.cpp704 assert(cast<DILocalVariable>(SD->getVariable()) in EmitDbgValue()
786 MDNode *Var = SD->getVariable(); in EmitDbgInstrRef()
917 DIVariable *Var = SD->getVariable(); in EmitDbgNoLocation()
928 MDNode *Var = SD->getVariable(); in EmitDbgValueList()
944 MDNode *Var = SD->getVariable(); in EmitDbgValueFromSingleOp()
H A DSelectionDAGBuilder.h120 DILocalVariable *getVariable() const { return Variable; } in getVariable() function
134 OS << "DDI(var=" << *P.DDI.getVariable();
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp152 const VarDecl *VD = I.getVariable(); in getSelfDecl()
649 BV->push_back(CI.getVariable(), BC); in LazyInitializeReferencedDecls()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVEmitNonSemanticDI.cpp139 DILocalVariable *LocalVariable = DVR.getVariable(); in emitGlobalDI()
/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