Home
last modified time | relevance | path

Searched refs:VarID (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDroppedVariableStats.h36 using VarID = variable
61 DenseSet<VarID> DebugVariablesBefore;
63 DenseSet<VarID> DebugVariablesAfter;
76 SmallVector<DenseMap<StringRef, DenseMap<VarID, DILocation *>>> InlinedAts;
87 DenseMap<VarID, DILocation *> &InlinedAtsMap,
88 VarID Var, unsigned &DroppedCount);
99 const DILocalVariable *DbgVar, DebugLoc DbgLoc, DenseSet<VarID> &VarIDSet,
100 DenseMap<StringRef, DenseMap<VarID, DILocation *>> &InlinedAtsMap,
108 DenseMap<VarID, DILocation *> &InlinedAtsMap,
109 VarID Var) = 0;
[all …]
H A DDroppedVariableStatsIR.h76 DenseMap<VarID, DILocation *> &InlinedAtsMap,
77 VarID Var) override;
81 DenseSet<VarID> &VarIDSet,
82 DenseMap<StringRef, DenseMap<VarID, DILocation *>> &InlinedAtsMap,
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDroppedVariableStats.cpp30 InlinedAts.push_back({DenseMap<StringRef, DenseMap<VarID, DILocation *>>()}); in setup()
45 DenseSet<VarID> &DebugVariablesBeforeSet = DbgVariables.DebugVariablesBefore; in calculateDroppedStatsAndPrint()
46 DenseSet<VarID> &DebugVariablesAfterSet = DbgVariables.DebugVariablesAfter; in calculateDroppedStatsAndPrint()
50 DenseMap<VarID, DILocation *> &InlinedAtsMap = It->second; in calculateDroppedStatsAndPrint()
56 for (VarID Var : DebugVariablesBeforeSet) { in calculateDroppedStatsAndPrint()
72 DenseMap<VarID, DILocation *> &InlinedAtsMap, VarID Var, in updateDroppedCount() argument
95 InlinedAtsMap.try_emplace(FuncName, DenseMap<VarID, DILocation *>()); in run()
96 VarIDSet = DenseSet<VarID>(); in run()
101 const DILocalVariable *DbgVar, DebugLoc DbgLoc, DenseSet<VarID> &VarIDSet, in populateVarIDSetAndInlinedMap()
102 DenseMap<StringRef, DenseMap<VarID, DILocation *>> &InlinedAtsMap, in populateVarIDSetAndInlinedMap() argument
[all …]
H A DDroppedVariableStatsIR.cpp105 unsigned &DroppedCount, DenseMap<VarID, DILocation *> &InlinedAtsMap, in visitEveryInstruction() argument
106 VarID Var) { in visitEveryInstruction()
119 DenseSet<VarID> &VarIDSet, in visitEveryDebugRecord()
120 DenseMap<StringRef, DenseMap<VarID, DILocation *>> &InlinedAtsMap, in visitEveryDebugRecord() argument
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DDroppedVariableStatsMIR.h49 DenseMap<VarID, DILocation *> &InlinedAtsMap,
50 VarID Var) override;
53 DenseSet<VarID> &VarIDSet,
54 DenseMap<StringRef, DenseMap<VarID, DILocation *>> &InlinedAtsMap,
H A DAssignmentTrackingAnalysis.h56 VariableID VarID = Loc->VariableID; in getVariable()
57 return getDILocalVariable(VarID); in getVariable()
48 VariableID VarID = Loc->VariableID; getDILocalVariable() local
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DDroppedVariableStatsMIR.cpp55 unsigned &DroppedCount, DenseMap<VarID, DILocation *> &InlinedAtsMap, in visitEveryInstruction() argument
56 VarID Var) { in visitEveryInstruction()
80 DenseSet<VarID> &VarIDSet, in visitEveryDebugRecord()
81 DenseMap<StringRef, DenseMap<VarID, DILocation *>> &InlinedAtsMap, in visitEveryDebugRecord() argument
H A DAssignmentTrackingAnalysis.cpp1112 return llvm::all_of(Mask.set_bits(), [&](unsigned VarID) { in mapsAreEqual() argument
1113 return A[VarID].isSameSourceAssignment(B[VarID]); in mapsAreEqual()
1256 for (auto VarID : Intersect.set_bits()) { in join() local
1257 joinElmt(VarID, Join.LiveLoc, A.LiveLoc, B.LiveLoc, joinKind); in join()
1258 joinElmt(VarID, Join.DebugValue, A.DebugValue, B.DebugValue, in join()
1260 joinElmt(VarID, Join.StackHomeValue, A.StackHomeValue, B.StackHomeValue, in join()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.cpp249 DebugVariableID VarID; member
252 UseBeforeDef(ArrayRef<DbgOp> Values, DebugVariableID VarID, in UseBeforeDef()
254 : Values(Values), VarID(VarID), Properties(Properties) {} in UseBeforeDef()
357 DebugVariableID VarID, DbgValue Value) { in loadVarInloc() argument
407 recoverAsEntryValue(VarID, Value.Properties, Num); in loadVarInloc()
427 addUseBeforeDef(VarID, Value.Properties, DbgOps, LastUseBeforeDef); in loadVarInloc()
431 auto &[Var, DILoc] = DVMap.lookupDVID(VarID); in loadVarInloc()
433 std::make_pair(VarID, &*MTracker->emitLoc(ResolvedDbgOps, Var, DILoc, in loadVarInloc()
445 ActiveMLocs[Op.Loc].insert(VarID); in loadVarInloc()
447 auto Result = ActiveVLocs.insert(std::make_pair(VarID, NewValue)); in loadVarInloc()
[all …]
H A DInstrRefBasedImpl.h1070 DebugVariableID VarID = DVMap.insertDVID(Var, MI.getDebugLoc().get());
1076 Vars.insert_or_assign(VarID, Rec);
1077 Scopes[VarID] = MI.getDebugLoc().get();
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DInitialization.h177 IdentifierInfo *VarID; member
245 InitializedEntity(IdentifierInfo *VarID, QualType FieldType, SourceLocation Loc) in InitializedEntity() argument
248 Capture.VarID = VarID; in InitializedEntity()
426 static InitializedEntity InitializeLambdaCapture(IdentifierInfo *VarID, in InitializeLambdaCapture() argument
429 return InitializedEntity(VarID, FieldType, Loc); in InitializeLambdaCapture()
553 return Capture.VarID ? Capture.VarID->getName() : "this"; in getCapturedVarName()
/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DLLLexer.h110 lltok::Kind LexVar(lltok::Kind Var, lltok::Kind VarID);
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp785 unsigned VarID = SSA.AddVariable(I.getName(), I.getType()); in rebuildSSA() local
789 SSA.AddAvailableValue(VarID, II->getNormalDest(), II); in rebuildSSA()
791 SSA.AddAvailableValue(VarID, &BB, &I); in rebuildSSA()
799 SSA.AddUse(VarID, &U); in rebuildSSA()
/freebsd/contrib/llvm-project/llvm/tools/llvm-dwarfdump/
H A DStatistics.cpp423 std::string VarID = constructDieID(Die, VarPrefix); in collectStatsForDie() local
424 FnStats.VarsInFunction.insert(VarID); in collectStatsForDie()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLLexer.cpp389 lltok::Kind LLLexer::LexVar(lltok::Kind Var, lltok::Kind VarID) { in LexVar() argument
418 return LexUIntID(VarID); in LexVar()
H A DLLParser.cpp791 unsigned VarID; in parseUnnamedGlobal() local
797 VarID = Lex.getUIntVal(); in parseUnnamedGlobal()
798 if (checkValueID(NameLoc, "global", "@", NumberedVals.getNext(), VarID)) in parseUnnamedGlobal()
805 VarID = NumberedVals.getNext(); in parseUnnamedGlobal()
820 return parseGlobal(Name, VarID, NameLoc, Linkage, HasLinkage, Visibility, in parseUnnamedGlobal()
824 return parseAliasOrIFunc(Name, VarID, NameLoc, Linkage, Visibility, in parseUnnamedGlobal()
1501 unsigned VarID = Lex.getUIntVal(); in parseUnnamedAttrGrp() local
1510 auto R = NumberedAttrBuilders.find(VarID); in parseUnnamedAttrGrp()
1512 R = NumberedAttrBuilders.emplace(VarID, AttrBuilder(M->getContext())).first; in parseUnnamedAttrGrp()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp3687 return DeclarationName(Capture.VarID); in getName()
3810 OS << DeclarationName(Capture.VarID); in dumpImpl()