Lines Matching refs:Tuple
182 static bool getOptionalVal(MDTuple *Tuple, unsigned &Idx, const char *Key, in getOptionalVal() argument
184 if (getVal(dyn_cast<MDTuple>(Tuple->getOperand(Idx)), Key, Value)) { in getOptionalVal()
189 return Idx < Tuple->getNumOperands(); in getOptionalVal()
196 MDTuple *Tuple = dyn_cast_or_null<MDTuple>(MD); in getFromMD() local
197 if (!Tuple || Tuple->getNumOperands() < 8 || Tuple->getNumOperands() > 10) in getFromMD()
201 auto &FormatMD = Tuple->getOperand(I++); in getFromMD()
217 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "TotalCount", in getFromMD()
220 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "MaxCount", MaxCount)) in getFromMD()
222 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "MaxInternalCount", in getFromMD()
225 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "MaxFunctionCount", in getFromMD()
228 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "NumCounts", in getFromMD()
231 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "NumFunctions", in getFromMD()
237 if (!getOptionalVal(Tuple, I, "IsPartialProfile", IsPartialProfile)) in getFromMD()
240 if (!getOptionalVal(Tuple, I, "PartialProfileRatio", PartialProfileRatio)) in getFromMD()
244 if (!getSummaryFromMD(dyn_cast<MDTuple>(Tuple->getOperand(I++)), Summary)) in getFromMD()