Lines Matching refs:Entity
1331 auto *Entity = Module->getEntity(); in constructImportedEntityDIE() local
1332 if (auto *NS = dyn_cast<DINamespace>(Entity)) in constructImportedEntityDIE()
1334 else if (auto *M = dyn_cast<DIModule>(Entity)) in constructImportedEntityDIE()
1336 else if (auto *SP = dyn_cast<DISubprogram>(Entity)) { in constructImportedEntityDIE()
1344 } else if (auto *T = dyn_cast<DIType>(Entity)) in constructImportedEntityDIE()
1346 else if (auto *GV = dyn_cast<DIGlobalVariable>(Entity)) in constructImportedEntityDIE()
1348 else if (auto *IE = dyn_cast<DIImportedEntity>(Entity)) in constructImportedEntityDIE()
1351 EntityDie = getDIE(Entity); in constructImportedEntityDIE()
1409 void DwarfCompileUnit::finishEntityDefinition(const DbgEntity *Entity) { in finishEntityDefinition() argument
1410 DbgEntity *AbsEntity = getExistingAbstractEntity(Entity->getEntity()); in finishEntityDefinition()
1412 auto *Die = Entity->getDIE(); in finishEntityDefinition()
1418 Label = dyn_cast<const DbgLabel>(Entity); in finishEntityDefinition()
1420 if (const DbgVariable *Var = dyn_cast<const DbgVariable>(Entity)) in finishEntityDefinition()
1422 else if ((Label = dyn_cast<const DbgLabel>(Entity))) in finishEntityDefinition()
1453 auto &Entity = getAbstractEntities()[Node]; in createAbstractEntity() local
1455 Entity = std::make_unique<DbgVariable>(cast<const DILocalVariable>(Node), in createAbstractEntity()
1457 DU->addScopeVariable(Scope, cast<DbgVariable>(Entity.get())); in createAbstractEntity()
1459 Entity = std::make_unique<DbgLabel>( in createAbstractEntity()
1461 DU->addScopeLabel(Scope, cast<DbgLabel>(Entity.get())); in createAbstractEntity()