Lines Matching defs:Entity
1373 auto *Entity = Module->getEntity();
1374 if (auto *NS = dyn_cast<DINamespace>(Entity))
1376 else if (auto *M = dyn_cast<DIModule>(Entity))
1378 else if (auto *SP = dyn_cast<DISubprogram>(Entity)) {
1386 } else if (auto *T = dyn_cast<DIType>(Entity))
1388 else if (auto *GV = dyn_cast<DIGlobalVariable>(Entity))
1390 else if (auto *IE = dyn_cast<DIImportedEntity>(Entity))
1393 EntityDie = getDIE(Entity);
1451 void DwarfCompileUnit::finishEntityDefinition(const DbgEntity *Entity) {
1452 DbgEntity *AbsEntity = getExistingAbstractEntity(Entity->getEntity());
1454 auto *Die = Entity->getDIE();
1460 Label = dyn_cast<const DbgLabel>(Entity);
1462 if (const DbgVariable *Var = dyn_cast<const DbgVariable>(Entity))
1464 else if ((Label = dyn_cast<const DbgLabel>(Entity)))
1495 auto &Entity = getAbstractEntities()[Node];
1497 Entity = std::make_unique<DbgVariable>(cast<const DILocalVariable>(Node),
1499 DU->addScopeVariable(Scope, cast<DbgVariable>(Entity.get()));
1501 Entity = std::make_unique<DbgLabel>(
1503 DU->addScopeLabel(Scope, cast<DbgLabel>(Entity.get()));