Lines Matching refs:Target

23 static Target *FirstTarget = nullptr;
25 MCStreamer *Target::createMCObjectStreamer( in createMCObjectStreamer()
81 MCStreamer *Target::createMCObjectStreamer( in createMCObjectStreamer()
90 MCStreamer *Target::createAsmStreamer(MCContext &Ctx, in createAsmStreamer()
102 MCStreamer *Target::createAsmStreamer(MCContext &Ctx, in createAsmStreamer()
117 const Target *TargetRegistry::lookupTarget(StringRef ArchName, in lookupTarget()
123 const Target *TheTarget = nullptr; in lookupTarget()
126 [&](const Target &T) { return ArchName == T.getName(); }); in lookupTarget()
154 const Target *TargetRegistry::lookupTarget(StringRef TT, std::string &Error) { in lookupTarget()
161 auto ArchMatch = [&](const Target &T) { return T.ArchMatchFn(Arch); }; in lookupTarget()
180 void TargetRegistry::RegisterTarget(Target &T, const char *Name, in RegisterTarget()
183 Target::ArchMatchFnTy ArchMatchFn, in RegisterTarget()
204 static int TargetArraySortFn(const std::pair<StringRef, const Target *> *LHS, in TargetArraySortFn()
205 const std::pair<StringRef, const Target *> *RHS) { in TargetArraySortFn()
210 std::vector<std::pair<StringRef, const Target*> > Targets; in printRegisteredTargetsForVersion()
220 for (const auto &Target : Targets) { in printRegisteredTargetsForVersion() local
221 OS << " " << Target.first; in printRegisteredTargetsForVersion()
222 OS.indent(Width - Target.first.size()) in printRegisteredTargetsForVersion()
223 << " - " << Target.second->getShortDescription() << '\n'; in printRegisteredTargetsForVersion()