Lines Matching refs:Tuple
181 static bool getOptionalVal(MDTuple *Tuple, unsigned &Idx, const char *Key, in getOptionalVal() argument
183 if (getVal(dyn_cast<MDTuple>(Tuple->getOperand(Idx)), Key, Value)) { in getOptionalVal()
188 return Idx < Tuple->getNumOperands(); in getOptionalVal()
195 MDTuple *Tuple = dyn_cast_or_null<MDTuple>(MD); in getFromMD() local
196 if (!Tuple || Tuple->getNumOperands() < 8 || Tuple->getNumOperands() > 10) in getFromMD()
200 auto &FormatMD = Tuple->getOperand(I++); in getFromMD()
216 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "TotalCount", in getFromMD()
219 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "MaxCount", MaxCount)) in getFromMD()
221 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "MaxInternalCount", in getFromMD()
224 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "MaxFunctionCount", in getFromMD()
227 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "NumCounts", in getFromMD()
230 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "NumFunctions", in getFromMD()
236 if (!getOptionalVal(Tuple, I, "IsPartialProfile", IsPartialProfile)) in getFromMD()
239 if (!getOptionalVal(Tuple, I, "PartialProfileRatio", PartialProfileRatio)) in getFromMD()
243 if (!getSummaryFromMD(dyn_cast<MDTuple>(Tuple->getOperand(I++)), Summary)) in getFromMD()