Home
last modified time | relevance | path

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

123

/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.h167 const DILocalVariable *getVariable() const { in getVariable() function
180 StringRef getName() const { return getVariable()->getName(); } in getName()
190 if (getVariable()->isParameter()) in getTag()
198 if (getVariable()->isArtificial()) in isArtificial()
206 if (getVariable()->isObjectPointer()) in isObjectPointer()
H A DDwarfFile.cpp108 const DILocalVariable *DV = Var->getVariable(); in addScopeVariable()
H A DDwarfCompileUnit.cpp713 insertDIE(DV.getVariable(), VariableDie); in constructVariableDIEImpl()
761 static_cast<const Metadata *>(DV.getVariable()->getType())); in constructVariableDIEImpl()
962 DbgVar.insert({Var->getVariable(), Var}); in sortLocalVars()
1491 const auto *DIVar = Var.getVariable(); in applyVariableAttributes()
H A DDwarfDebug.cpp232 return getVariable()->getType(); in getType()
265 assert(getVariable() == DbgValue->getDebugVariable() && "Wrong variable"); in initializeDbgValue()
296 assert(V.getVariable() == getVariable() && "conflicting variable"); in addMMIEntry()
1170 GVMap[GVE->getVariable()].push_back({&Global, GVE->getExpression()}); in beginModule()
1219 auto &GVMapEntry = GVMap[GVE->getVariable()]; in beginModule()
1227 DIGlobalVariable *GV = GVE->getVariable(); in beginModule()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DVarLocBasedImpl.cpp1069 DoErase({Var.getVariable(), FragmentHolder, Var.getInlinedAt()}); in erase()
1204 Out << " Var: " << VL.Var.getVariable()->getName(); in printVarLocInMBB()
1364 if (!VL.Var.getVariable()->isParameter()) in emitEntryValues()
1671 << VL.Var.getVariable()->getName() << ")\n"); in transferSpillOrRestoreInst()
1680 << VL.Var.getVariable()->getName() << ")\n"); in transferSpillOrRestoreInst()
1811 auto SeenIt = SeenFragments.find(MIVar.getVariable()); in accumulateFragmentMap()
1815 SeenFragments.insert({MIVar.getVariable(), OneFragment}); in accumulateFragmentMap()
1817 OverlappingFragments.insert({{MIVar.getVariable(), ThisFragment}, {}}); in accumulateFragmentMap()
1842 OverlappingFragments.find({MIVar.getVariable(), ASeenFragment}); in accumulateFragmentMap()
1906 << VL.Var.getVariable()->getName() << "\n"; in join()
[all …]
H A DInstrRefBasedImpl.cpp759 DebugLoc DL = DILocation::get(Var.getVariable()->getContext(), 0, 0, in emitLoc()
760 Var.getVariable()->getScope(), in emitLoc()
788 MIB.addMetadata(Var.getVariable()); in emitLoc()
1176 if (!Var.getVariable()->isParameter()) in isEntryValueVariable()
1401 DebugLoc DL = DILocation::get(Var.getVariable()->getContext(), 0, 0, in emitMOLoc()
1402 Var.getVariable()->getScope(), in emitMOLoc()
1410 MIB.addMetadata(Var.getVariable()); in emitMOLoc()
2376 auto SeenIt = SeenFragments.find(MIVar.getVariable()); in accumulateFragmentMap()
2380 SeenFragments.insert({MIVar.getVariable(), OneFragment}); in accumulateFragmentMap()
2382 OverlapFragments.insert({{MIVar.getVariable(), ThisFragment}, {}}); in accumulateFragmentMap()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-dis/
H A Dllvm-dis.cpp117 OS << " [debug variable = " << DDI->getVariable()->getName() << "]"; in printInfoComment()
124 OS << " [debug variable = " << DVI->getVariable()->getName() << "]"; in printInfoComment()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.cpp362 info.Captures.insert({Capture->getVariable(), C}); in setIndex()
505 const VarDecl *VD = CI.getVariable(); in getCaptureFieldType()
570 const VarDecl *variable = CI.getVariable(); in computeBlockInfo()
911 const VarDecl *variable = CI.getVariable(); in EmitBlockLiteral()
1545 const VarDecl *variable = CI.getVariable(); in GenerateBlockFunction()
1582 const VarDecl *variable = CI.getVariable(); in GenerateBlockFunction()
1681 const VarDecl *Variable = CI.getVariable(); in findBlockCapturedManagedEntities()
1742 QualType CaptureTy = CI.getVariable()->getType(); in getBlockCaptureStr()
1777 const VarDecl *Var = CI.getVariable(); in getBlockCaptureStr()
1973 QualType captureType = CI.getVariable()->getType(); in GenerateCopyHelperFunction()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransBlockObjCVariable.cpp81 VarDecl *var = I.getVariable(); in VisitBlockDecl()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleDebugInfoPrinter.cpp99 const auto *GV = GVU->getVariable(); in printModuleDebugInfo()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DDebugify.cpp334 auto *Var = DVI->getVariable(); in collectDebugInfoMetadata()
569 auto *Var = DVI->getVariable(); in checkDebugInfoMetadata()
659 auto Signedness = DVI->getVariable()->getSignedness(); in diagnoseMisSizedDbgValue()
733 (void)to_integer(DVI->getVariable()->getName(), Var, 10); in checkDebugifyMetadata()
H A DLocal.cpp1383 if ((DVI->getVariable() == DIVar) && (DVI->getExpression() == DIExpr)) in PhiHasDebugValue()
1444 auto *DIVar = DII->getVariable(); in ConvertDebugDeclareToDebugValue()
1471 auto *DIVar = DII->getVariable(); in ConvertDebugDeclareToDebugValue()
1499 auto *DIVar = DII->getVariable(); in ConvertDebugDeclareToDebugValue()
1593 DIB.insertDbgValueIntrinsic(AI, DDI->getVariable(), DerefExpr, in LowerDbgDeclare()
1682 auto *DIVar = DII->getVariable(); in replaceDbgDeclare()
1697 auto *DIVar = DVI->getVariable(); in replaceOneDbgValueForAlloca()
2070 DILocalVariable *Var = DII.getVariable(); in replaceAllDbgUsesWith()
H A DMemoryOpRemark.cpp323 if (DILocalVariable *DILV = DVI->getVariable()) { in visitVariable()
H A DLoopUtils.cpp633 DeadDebugSet.find({DVI->getVariable(), DVI->getExpression()}); in deleteDeadLoop()
636 DeadDebugSet.insert({DVI->getVariable(), DVI->getExpression()}); in deleteDeadLoop()
652 DVI->getVariable(), DVI->getExpression(), in deleteDeadLoop()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaLambda.cpp1575 return Cap.getVariable()->getInit(); in BuildCaptureInit()
1606 VarDecl *Var = Cap.getVariable(); in BuildCaptureInit()
1655 Expr *Init = From.getVariable()->getInit(); in CaptureHasSideEffects()
1690 diag << From.getVariable(); in DiagnoseUnusedLambdaCapture()
1705 auto *Var = Capture.getVariable(); in BuildCaptureField()
1707 TSI = Capture.getVariable()->getTypeSourceInfo(); in BuildCaptureField()
1855 VarDecl *Var = From.getVariable(); in BuildLambdaExpr()
H A DScopeInfo.cpp223 return !isNested() && isVariableCapture() && getVariable()->isInitCapture(); in isInitCapture()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineDebugify.cpp80 Line2Var[Line] = DVI->getVariable(); in applyDebugifyMetadataToMachineFunction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp1212 assert(DI->getVariable() && "Missing variable"); in selectIntrinsicCall()
1255 assert(DI->getVariable()->isValidLocationForIntrinsic(DbgLoc) && in selectIntrinsicCall()
1262 DI->getVariable(), DI->getExpression()); in selectIntrinsicCall()
1287 assert(DI->getVariable()->isValidLocationForIntrinsic(DbgLoc) && in selectIntrinsicCall()
1293 DI->getVariable(), DI->getExpression()); in selectIntrinsicCall()
1299 .addMetadata(DI->getVariable()) in selectIntrinsicCall()
1305 .addMetadata(DI->getVariable()) in selectIntrinsicCall()
1311 .addMetadata(DI->getVariable()) in selectIntrinsicCall()
1318 DI->getVariable(), DI->getExpression()); in selectIntrinsicCall()
H A DSDNodeDbgValue.h179 DIVariable *getVariable() const { return Var; } in getVariable() function
H A DInstrEmitter.cpp678 MDNode *Var = SD->getVariable(); in EmitDbgValue()
767 MDNode *Var = SD->getVariable(); in EmitDbgInstrRef()
860 MDNode *Var = SD->getVariable(); in EmitDbgNoLocation()
874 MDNode *Var = SD->getVariable(); in EmitDbgValueFromSingleOp()
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp154 const VarDecl *VD = I.getVariable(); in getSelfDecl()
652 BV->push_back(CI.getVariable(), BC); in LazyInitializeReferencedDecls()
H A DCalledOnceCheck.cpp647 if (const auto *P = dyn_cast<ParmVarDecl>(Capture.getVariable())) { in findCapturesToTrack()
1574 if (const auto *Param = dyn_cast<ParmVarDecl>(Capture.getVariable())) { in VisitBlockExpr()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp561 DILocalVariable *DILocVar = DVI->getVariable(); in filterInstsUnrelatedToPDI()
576 DILocalVariable *DILocVar = DDI->getVariable(); in filterInstsUnrelatedToPDI()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp1886 assert(DI.getVariable() && "Missing variable"); in translateKnownIntrinsic()
1894 assert(DI.getVariable()->isValidLocationForIntrinsic( in translateKnownIntrinsic()
1901 MF->setVariableDbgInfo(DI.getVariable(), DI.getExpression(), in translateKnownIntrinsic()
1907 DI.getVariable(), DI.getExpression()); in translateKnownIntrinsic()
1942 assert(DI.getVariable()->isValidLocationForIntrinsic( in translateKnownIntrinsic()
1948 MIRBuilder.buildIndirectDbgValue(0, DI.getVariable(), DI.getExpression()); in translateKnownIntrinsic()
1950 MIRBuilder.buildConstDbgValue(*CI, DI.getVariable(), DI.getExpression()); in translateKnownIntrinsic()
1957 MIRBuilder.buildDirectDbgValue(Reg, DI.getVariable(), DI.getExpression()); in translateKnownIntrinsic()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DStackAddrEscapeChecker.cpp130 const auto *T = C.getVariable()->getType()->getAs<TypedefType>(); in isSemaphoreCaptured()

123