Lines Matching +full:- +full:- +full:features

1 //===- ELFObjectFile.cpp - ELF object file implementation -----------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
100 SubtargetFeatures Features; in getMIPSFeatures() local
107 Features.AddFeature("mips2"); in getMIPSFeatures()
110 Features.AddFeature("mips3"); in getMIPSFeatures()
113 Features.AddFeature("mips4"); in getMIPSFeatures()
116 Features.AddFeature("mips5"); in getMIPSFeatures()
119 Features.AddFeature("mips32"); in getMIPSFeatures()
122 Features.AddFeature("mips64"); in getMIPSFeatures()
125 Features.AddFeature("mips32r2"); in getMIPSFeatures()
128 Features.AddFeature("mips64r2"); in getMIPSFeatures()
131 Features.AddFeature("mips32r6"); in getMIPSFeatures()
134 Features.AddFeature("mips64r6"); in getMIPSFeatures()
145 Features.AddFeature("cnmips"); in getMIPSFeatures()
152 Features.AddFeature("mips16"); in getMIPSFeatures()
154 Features.AddFeature("micromips"); in getMIPSFeatures()
156 return Features; in getMIPSFeatures()
160 SubtargetFeatures Features; in getARMFeatures() local
167 // both ARMv7-M and R have to support thumb hardware div in getARMFeatures()
178 Features.AddFeature("aclass"); in getARMFeatures()
181 Features.AddFeature("rclass"); in getARMFeatures()
183 Features.AddFeature("hwdiv"); in getARMFeatures()
186 Features.AddFeature("mclass"); in getARMFeatures()
188 Features.AddFeature("hwdiv"); in getARMFeatures()
199 Features.AddFeature("thumb", false); in getARMFeatures()
200 Features.AddFeature("thumb2", false); in getARMFeatures()
203 Features.AddFeature("thumb2"); in getARMFeatures()
214 Features.AddFeature("vfp2sp", false); in getARMFeatures()
215 Features.AddFeature("vfp3d16sp", false); in getARMFeatures()
216 Features.AddFeature("vfp4d16sp", false); in getARMFeatures()
219 Features.AddFeature("vfp2"); in getARMFeatures()
223 Features.AddFeature("vfp3"); in getARMFeatures()
227 Features.AddFeature("vfp4"); in getARMFeatures()
238 Features.AddFeature("neon", false); in getARMFeatures()
239 Features.AddFeature("fp16", false); in getARMFeatures()
242 Features.AddFeature("neon"); in getARMFeatures()
245 Features.AddFeature("neon"); in getARMFeatures()
246 Features.AddFeature("fp16"); in getARMFeatures()
257 Features.AddFeature("mve", false); in getARMFeatures()
258 Features.AddFeature("mve.fp", false); in getARMFeatures()
261 Features.AddFeature("mve.fp", false); in getARMFeatures()
262 Features.AddFeature("mve"); in getARMFeatures()
265 Features.AddFeature("mve.fp"); in getARMFeatures()
276 Features.AddFeature("hwdiv", false); in getARMFeatures()
277 Features.AddFeature("hwdiv-arm", false); in getARMFeatures()
280 Features.AddFeature("hwdiv"); in getARMFeatures()
281 Features.AddFeature("hwdiv-arm"); in getARMFeatures()
286 return Features; in getARMFeatures()
290 SubtargetFeatures Features; in getRISCVFeatures() local
294 Features.AddFeature("c"); in getRISCVFeatures()
297 // Add features according to the ELF attribute section. in getRISCVFeatures()
298 // If there are any unrecognized features, ignore them. in getRISCVFeatures()
303 return Features; // Keep "c" feature if there is one in PlatformFlags. in getRISCVFeatures()
313 Features.AddFeature("64bit", false); in getRISCVFeatures()
315 Features.AddFeature("64bit"); in getRISCVFeatures()
320 break; // Ignore unexpected features. in getRISCVFeatures()
322 Features.AddFeature("e", false); in getRISCVFeatures()
325 Features.AddFeature("f"); // D-ext will imply F-ext. in getRISCVFeatures()
332 Features.AddFeature(Arch.take_front()); in getRISCVFeatures()
342 return Features; in getRISCVFeatures()
588 std::unique_ptr<const MCInstrInfo> MII(T->createMCInstrInfo()); in getPltAddresses()
590 T->createMCInstrAnalysis(MII.get())); in getPltAddresses()
611 Expected<StringRef> PltContents = Plt->getContents(); in getPltAddresses()
616 auto PltEntries = MIA->findPltEntries(Plt->getAddress(), in getPltAddresses()
618 GotPlt->getAddress(), Triple); in getPltAddresses()
626 for (const auto &Relocation : RelaPlt->relocations()) { in getPltAddresses()
633 Result.emplace_back(None, PltEntryIter->second); in getPltAddresses()
635 Result.emplace_back(Sym->getRawDataRefImpl(), PltEntryIter->second); in getPltAddresses()