Lines Matching refs:Entity

1270   auto *Entity = Module->getEntity();  in constructImportedEntityDIE()  local
1271 if (auto *NS = dyn_cast<DINamespace>(Entity)) in constructImportedEntityDIE()
1273 else if (auto *M = dyn_cast<DIModule>(Entity)) in constructImportedEntityDIE()
1275 else if (auto *SP = dyn_cast<DISubprogram>(Entity)) in constructImportedEntityDIE()
1277 else if (auto *T = dyn_cast<DIType>(Entity)) in constructImportedEntityDIE()
1279 else if (auto *GV = dyn_cast<DIGlobalVariable>(Entity)) in constructImportedEntityDIE()
1282 EntityDie = getDIE(Entity); in constructImportedEntityDIE()
1317 void DwarfCompileUnit::finishEntityDefinition(const DbgEntity *Entity) { in finishEntityDefinition() argument
1318 DbgEntity *AbsEntity = getExistingAbstractEntity(Entity->getEntity()); in finishEntityDefinition()
1320 auto *Die = Entity->getDIE(); in finishEntityDefinition()
1326 Label = dyn_cast<const DbgLabel>(Entity); in finishEntityDefinition()
1328 if (const DbgVariable *Var = dyn_cast<const DbgVariable>(Entity)) in finishEntityDefinition()
1330 else if ((Label = dyn_cast<const DbgLabel>(Entity))) in finishEntityDefinition()
1352 auto &Entity = getAbstractEntities()[Node]; in createAbstractEntity() local
1354 Entity = std::make_unique<DbgVariable>( in createAbstractEntity()
1356 DU->addScopeVariable(Scope, cast<DbgVariable>(Entity.get())); in createAbstractEntity()
1358 Entity = std::make_unique<DbgLabel>( in createAbstractEntity()
1360 DU->addScopeLabel(Scope, cast<DbgLabel>(Entity.get())); in createAbstractEntity()