Home
last modified time | relevance | path

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

123

/netbsd-src/external/apache2/llvm/dist/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()
953 DbgVar.insert({Var->getVariable(), Var}); in sortLocalVars()
1481 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()
1183 GVMap[GVE->getVariable()].push_back({&Global, GVE->getExpression()}); in beginModule()
1232 auto &GVMapEntry = GVMap[GVE->getVariable()]; in beginModule()
1239 DIGlobalVariable *GV = GVE->getVariable(); in beginModule()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/LiveDebugValues/
H A DVarLocBasedImpl.cpp703 Out << ", \"" << Var.getVariable()->getName() << "\", " << *Expr << ", "; in dump()
1063 auto MapIt = OverlappingFragments.find({Var.getVariable(), ThisFragment}); in erase()
1069 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()
[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()
1286 DebugLoc DL = DILocation::get(Var.getVariable()->getContext(), 0, 0, in emitMOLoc()
1287 Var.getVariable()->getScope(), in emitMOLoc()
1295 MIB.addMetadata(Var.getVariable()); in emitMOLoc()
2083 auto SeenIt = SeenFragments.find(MIVar.getVariable()); in accumulateFragmentMap()
2087 SeenFragments.insert({MIVar.getVariable(), OneFragment}); in accumulateFragmentMap()
2089 OverlapFragments.insert({{MIVar.getVariable(), ThisFragment}, {}}); in accumulateFragmentMap()
2096 OverlapFragments.insert({{MIVar.getVariable(), ThisFragment}, {}}); in accumulateFragmentMap()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-dis/
H A Dllvm-dis.cpp110 OS << " [debug variable = " << DDI->getVariable()->getName() << "]"; in printInfoComment()
117 OS << " [debug variable = " << DVI->getVariable()->getName() << "]"; in printInfoComment()
/netbsd-src/external/apache2/llvm/dist/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()
1981 QualType captureType = CI.getVariable()->getType(); in GenerateCopyHelperFunction()
[all …]
/netbsd-src/external/apache2/llvm/dist/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 DAutoInitRemark.cpp155 if (DILocalVariable *DILV = DVI->getVariable()) { in inspectVariable()
H A DLocal.cpp1374 if ((DVI->getVariable() == DIVar) && (DVI->getExpression() == DIExpr)) in PhiHasDebugValue()
1435 auto *DIVar = DII->getVariable(); in ConvertDebugDeclareToDebugValue()
1462 auto *DIVar = DII->getVariable(); in ConvertDebugDeclareToDebugValue()
1490 auto *DIVar = DII->getVariable(); in ConvertDebugDeclareToDebugValue()
1584 DIB.insertDbgValueIntrinsic(AI, DDI->getVariable(), DerefExpr, in LowerDbgDeclare()
1673 auto *DIVar = DII->getVariable(); in replaceDbgDeclare()
1688 auto *DIVar = DVI->getVariable(); in replaceOneDbgValueForAlloca()
2046 DILocalVariable *Var = DII.getVariable(); in replaceAllDbgUsesWith()
H A DLoopUtils.cpp694 DeadDebugSet.find({DVI->getVariable(), DVI->getExpression()}); in deleteDeadLoop()
697 DeadDebugSet.insert({DVI->getVariable(), DVI->getExpression()}); in deleteDeadLoop()
713 DVI->getVariable(), DVI->getExpression(), in deleteDeadLoop()
/netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DTransBlockObjCVariable.cpp81 VarDecl *var = I.getVariable(); in VisitBlockDecl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaLambda.cpp1571 return Cap.getVariable()->getInit(); in BuildCaptureInit()
1602 VarDecl *Var = Cap.getVariable(); in BuildCaptureInit()
1651 Expr *Init = From.getVariable()->getInit(); in CaptureHasSideEffects()
1686 diag << From.getVariable(); in DiagnoseUnusedLambdaCapture()
1701 auto *Var = Capture.getVariable(); in BuildCaptureField()
1703 TSI = Capture.getVariable()->getTypeSourceInfo(); in BuildCaptureField()
1851 VarDecl *Var = From.getVariable(); in BuildLambdaExpr()
H A DScopeInfo.cpp223 return !isNested() && isVariableCapture() && getVariable()->isInitCapture(); in isInitCapture()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DModuleDebugInfoPrinter.cpp99 const auto *GV = GVU->getVariable(); in printModuleDebugInfo()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp1215 assert(DI->getVariable() && "Missing variable"); in selectIntrinsicCall()
1258 assert(DI->getVariable()->isValidLocationForIntrinsic(DbgLoc) && in selectIntrinsicCall()
1264 *Op, DI->getVariable(), DI->getExpression()); in selectIntrinsicCall()
1278 assert(DI->getVariable()->isValidLocationForIntrinsic(DbgLoc) && in selectIntrinsicCall()
1284 DI->getVariable(), DI->getExpression()); in selectIntrinsicCall()
1290 .addMetadata(DI->getVariable()) in selectIntrinsicCall()
1296 .addMetadata(DI->getVariable()) in selectIntrinsicCall()
1302 .addMetadata(DI->getVariable()) in selectIntrinsicCall()
1308 DI->getVariable(), DI->getExpression()); in selectIntrinsicCall()
H A DSDNodeDbgValue.h179 DIVariable *getVariable() const { return Var; } in getVariable() function
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DMachineDebugify.cpp80 Line2Var[Line] = DVI->getVariable(); in applyDebugifyMetadataToMachineFunction()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp154 const VarDecl *VD = I.getVariable(); in getSelfDecl()
599 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp561 DILocalVariable *DILocVar = DVI->getVariable(); in filterInstsUnrelatedToPDI()
576 DILocalVariable *DILocVar = DDI->getVariable(); in filterInstsUnrelatedToPDI()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp1857 assert(DI.getVariable() && "Missing variable"); in translateKnownIntrinsic()
1865 assert(DI.getVariable()->isValidLocationForIntrinsic( in translateKnownIntrinsic()
1872 MF->setVariableDbgInfo(DI.getVariable(), DI.getExpression(), in translateKnownIntrinsic()
1878 DI.getVariable(), DI.getExpression()); in translateKnownIntrinsic()
1913 assert(DI.getVariable()->isValidLocationForIntrinsic( in translateKnownIntrinsic()
1919 MIRBuilder.buildIndirectDbgValue(0, DI.getVariable(), DI.getExpression()); in translateKnownIntrinsic()
1921 MIRBuilder.buildConstDbgValue(*CI, DI.getVariable(), DI.getExpression()); in translateKnownIntrinsic()
1928 MIRBuilder.buildDirectDbgValue(Reg, DI.getVariable(), DI.getExpression()); in translateKnownIntrinsic()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DStackAddrEscapeChecker.cpp130 const auto *T = C.getVariable()->getType()->getAs<TypedefType>(); in isSemaphoreCaptured()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DIntrinsicInst.cpp141 return getVariable()->getSizeInBits(); in getFragmentSizeInBits()

123