Lines Matching refs:dyn_cast
142 if (auto *T = dyn_cast<MDType>(Entity)) in processModule()
144 else if (auto *SP = dyn_cast<MDSubprogram>(Entity)) in processModule()
146 else if (auto *NS = dyn_cast<MDNamespace>(Entity)) in processModule()
165 if (auto *DCT = dyn_cast<MDCompositeTypeBase>(DT)) { in processType()
167 if (auto *ST = dyn_cast<MDSubroutineType>(DCT)) { in processType()
173 if (auto *T = dyn_cast<MDType>(D)) in processType()
175 else if (DISubprogram SP = dyn_cast<MDSubprogram>(D)) in processType()
178 } else if (auto *DDT = dyn_cast<MDDerivedTypeBase>(DT)) { in processType()
186 if (DIType Ty = dyn_cast<MDType>(Scope)) { in processScope()
190 if (DICompileUnit CU = dyn_cast<MDCompileUnit>(Scope)) { in processScope()
194 if (DISubprogram SP = dyn_cast<MDSubprogram>(Scope)) { in processScope()
200 if (auto *LB = dyn_cast<MDLexicalBlockBase>(Scope)) { in processScope()
202 } else if (auto *NS = dyn_cast<MDNamespace>(Scope)) { in processScope()
213 if (auto *TType = dyn_cast<MDTemplateTypeParameter>(Element)) { in processSubprogram()
215 } else if (auto *TVal = dyn_cast<MDTemplateValueParameter>(Element)) { in processSubprogram()
223 MDNode *N = dyn_cast<MDNode>(DDI->getVariable()); in processDeclare()
228 DIVariable DV = dyn_cast<MDLocalVariable>(N); in processDeclare()
239 MDNode *N = dyn_cast<MDNode>(DVI->getVariable()); in processValue()
244 DIVariable DV = dyn_cast<MDLocalVariable>(N); in processValue()