• Home
  • Raw
  • Download

Lines Matching refs:MDTuple

34   return MDTuple::get(Context, Ops);  in getKeyValMD()
42 return MDTuple::get(Context, Ops); in getKeyValMD()
59 Entries.push_back(MDTuple::get(Context, EntryMD)); in getDetailedSummaryMD()
62 MDTuple::get(Context, Entries)}; in getDetailedSummaryMD()
63 return MDTuple::get(Context, Ops); in getDetailedSummaryMD()
84 return MDTuple::get(Context, Components); in getMD()
88 static bool getVal(MDTuple *MD, const char *Key, uint64_t &Val) { in getVal()
104 static bool isKeyValuePair(MDTuple *MD, const char *Key, const char *Val) { in isKeyValuePair()
117 static bool getSummaryFromMD(MDTuple *MD, SummaryEntryVector &Summary) { in getSummaryFromMD()
123 MDTuple *EntriesMD = dyn_cast<MDTuple>(MD->getOperand(1)); in getSummaryFromMD()
127 MDTuple *EntryMD = dyn_cast<MDTuple>(MDOp); in getSummaryFromMD()
149 if (!isa<MDTuple>(MD)) in getFromMD()
151 MDTuple *Tuple = cast<MDTuple>(MD); in getFromMD()
157 if (isKeyValuePair(dyn_cast_or_null<MDTuple>(FormatMD), "ProfileFormat", in getFromMD()
160 else if (isKeyValuePair(dyn_cast_or_null<MDTuple>(FormatMD), "ProfileFormat", in getFromMD()
168 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(1)), "TotalCount", in getFromMD()
171 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(2)), "MaxCount", MaxCount)) in getFromMD()
173 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(3)), "MaxInternalCount", in getFromMD()
176 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(4)), "MaxFunctionCount", in getFromMD()
179 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(5)), "NumCounts", NumCounts)) in getFromMD()
181 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(6)), "NumFunctions", in getFromMD()
186 if (!getSummaryFromMD(dyn_cast<MDTuple>(Tuple->getOperand(7)), Summary)) in getFromMD()