Lines Matching refs:input
65 InputToken* input = llvm::cast<InputToken>(*it); in dump() local
66 cur = input->asNeeded(); in dump()
72 if (input->type() == InputToken::NameSpec) in dump()
74 mcld::outs() << input->name() << " "; in dump()
165 InputTree::iterator input = m_Builder.getCurrentNode(); in activate() local
167 input_begin = input; in activate()
170 assert(*input != NULL); in activate()
171 if (!m_Builder.setMemory(**input, in activate()
174 error(diag::err_cannot_open_input) << (*input)->name() in activate()
175 << (*input)->path(); in activate()
177 m_Builder.setContext(**input); in activate()
180 for (InputTree::iterator input = input_begin, ie = m_InputTree.end(); in activate() local
181 input != ie; in activate()
182 ++input) { in activate()
184 if (m_ObjectReader.isMyFormat(**input, doContinue)) { in activate()
185 (*input)->setType(Input::Object); in activate()
186 m_ObjectReader.readHeader(**input); in activate()
187 m_ObjectReader.readSections(**input); in activate()
188 m_ObjectReader.readSymbols(**input); in activate()
189 pModule.getObjectList().push_back(*input); in activate()
190 } else if (doContinue && m_DynObjReader.isMyFormat(**input, doContinue)) { in activate()
191 (*input)->setType(Input::DynObj); in activate()
192 m_DynObjReader.readHeader(**input); in activate()
193 m_DynObjReader.readSymbols(**input); in activate()
194 pModule.getLibraryList().push_back(*input); in activate()
195 } else if (doContinue && m_ArchiveReader.isMyFormat(**input, doContinue)) { in activate()
196 (*input)->setType(Input::Archive); in activate()
197 if (m_Config.options().isInExcludeLIBS(**input)) { in activate()
198 (*input)->setNoExport(); in activate()
200 Archive archive(**input, m_Builder); in activate()
203 m_InputTree.merge<InputTree::Inclusive>(input, archive.inputs()); in activate()
208 << (*input)->path() << m_Config.targets().triple().str(); in activate()