• Home
  • Raw
  • Download

Lines Matching refs:ci

117         for ci in self.component_infos:
118 existing = self.component_info_map.get(ci.name)
122 ci.name, ci.subpath, existing.subpath))
123 self.component_info_map[ci.name] = ci
138 def visit_component_info(ci, current_stack, current_set): argument
140 if ci in current_set:
143 '%r (%s)' % (ci.name, relation)
144 for relation,ci in current_stack)
146 ci.name, cycle_description, ci.name))
149 if ci not in components_to_visit:
153 components_to_visit.remove(ci)
156 if ci.parent is not None:
157 parent = self.component_info_map.get(ci.parent)
160 ci.name, ci.parent, 'parent'))
161 ci.set_parent_instance(parent)
163 for relation,referent_name in ci.get_component_references():
168 ci.name, referent_name, relation))
171 current_stack.append((relation,ci))
172 current_set.add(ci)
174 current_set.remove(ci)
178 self.ordered_component_infos.append(ci)
207 for ci in self.component_infos:
209 if ci.parent is None:
212 info_basedir[ci.subpath] = info_basedir.get(ci.subpath, []) + [ci]
216 for ci in self.component_infos:
218 if ci.subpath == '/':
222 parent_path = os.path.dirname(ci.subpath)
225 parent_list.add(os.path.basename(ci.subpath))
230 infos.sort(key = lambda ci: ci.name)
245 for ci in infos:
246 fragment = ci.get_llvmbuild_fragment()
436 def get_required_libraries_for_component(self, ci, traverse_groups = False): argument
446 assert ci.type_name in ('Library', 'OptionalLibrary', 'LibraryGroup', 'TargetGroup')
448 for name in ci.required_libraries:
483 for ci in self.component_infos:
484 p = os.path.join(self.source_root, ci.subpath[1:], 'LLVMBuild.txt')
512 for ci in self.ordered_component_infos:
514 if ci.type_name == 'OptionalLibrary' \
515 and ci.name not in enabled_optional_components:
519 if ci.type_name not in ('Library', 'OptionalLibrary'):
524 tg = ci.get_parent_target_group()
529 if skip_not_installed and not ci.installed:
532 f(ci)
604 lambda ci:
607 ci.get_prefixed_library_name(), " ".join(sorted(
609 for dep in self.get_required_libraries_for_component(ci)))))
640 lambda ci:
643 ci.get_prefixed_library_name(), " ".join(sorted(
645 for dep in self.get_required_libraries_for_component(ci)))))
725 lambda ci:
726 f.write(' \\\n %s' % ci.get_prefixed_library_name())
746 available_targets = dict((ci.name,ci)
747 for ci in project.component_infos
748 if ci.type_name == 'TargetGroup')
816 info_map = dict((ci.name, ci) for ci in project.component_infos)
824 for ci in enable_targets:
825 all_targets.required_libraries.append(ci.name)
826 ci.enabled = True
975 available_targets = [ci for ci in project_info.component_infos
976 if ci.type_name == 'TargetGroup']
979 ' '.join('LLVM_TARGET(%s)' % ci.name
980 for ci in available_targets)),
982 ' '.join('LLVM_ASM_PRINTER(%s)' % ci.name
983 for ci in available_targets
984 if ci.has_asmprinter)),
986 ' '.join('LLVM_ASM_PARSER(%s)' % ci.name
987 for ci in available_targets
988 if ci.has_asmparser)),
990 ' '.join('LLVM_DISASSEMBLER(%s)' % ci.name
991 for ci in available_targets
992 if ci.has_disassembler))]