Home
last modified time | relevance | path

Searched refs:Arch (Results 1 – 25 of 107) sorted by relevance

12345

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TextAPI/MachO/
DArchitecture.cpp21 #define ARCHINFO(Arch, Type, Subtype) \ in getArchitectureFromCpuType() argument
24 return AK_##Arch; in getArchitectureFromCpuType()
33 #define ARCHINFO(Arch, Type, Subtype) .Case(#Arch, AK_##Arch) in getArchitectureFromName() argument
39 StringRef getArchitectureName(Architecture Arch) { in getArchitectureName() argument
40 switch (Arch) { in getArchitectureName()
41 #define ARCHINFO(Arch, Type, Subtype) \ in getArchitectureName() argument
42 case AK_##Arch: \ in getArchitectureName()
43 return #Arch; in getArchitectureName()
55 std::pair<uint32_t, uint32_t> getCPUTypeFromArchitecture(Architecture Arch) { in getCPUTypeFromArchitecture() argument
56 switch (Arch) { in getCPUTypeFromArchitecture()
[all …]
DArchitectureSet.cpp20 for (auto Arch : Archs) { in ArchitectureSet() local
21 if (Arch == AK_unknown) in ArchitectureSet()
23 set(Arch); in ArchitectureSet()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TextAPI/MachO/
DTarget.h27 Target(Architecture Arch, PlatformKind Platform) in Target() argument
28 : Arch(Arch), Platform(Platform) {} in Target()
30 : Arch(mapToArchitecture(Triple)), Platform(mapToPlatformKind(Triple)) {} in Target()
36 Architecture Arch; variable
41 return std::tie(LHS.Arch, LHS.Platform) == std::tie(RHS.Arch, RHS.Platform);
45 return std::tie(LHS.Arch, LHS.Platform) != std::tie(RHS.Arch, RHS.Platform);
49 return std::tie(LHS.Arch, LHS.Platform) < std::tie(RHS.Arch, RHS.Platform);
53 return LHS.Arch == RHS;
57 return LHS.Arch != RHS;
DArchitectureSet.h37 ArchitectureSet(Architecture Arch) : ArchitectureSet() { set(Arch); } in ArchitectureSet() argument
40 void set(Architecture Arch) { in set() argument
41 if (Arch == AK_unknown) in set()
43 ArchSet |= 1U << static_cast<int>(Arch); in set()
46 void clear(Architecture Arch) { ArchSet &= ~(1U << static_cast<int>(Arch)); } in clear() argument
48 bool has(Architecture Arch) const { in has() argument
49 return ArchSet & (1U << static_cast<int>(Arch)); in has()
124 ArchitectureSet &operator|=(const Architecture &Arch) {
125 set(Arch);
DArchitecture.h25 #define ARCHINFO(Arch, Type, SubType) AK_##Arch, argument
38 StringRef getArchitectureName(Architecture Arch);
41 std::pair<uint32_t, uint32_t> getCPUTypeFromArchitecture(Architecture Arch);
46 raw_ostream &operator<<(raw_ostream &OS, Architecture Arch);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DARMTargetParser.cpp27 ARM::ArchKind ARM::parseArch(StringRef Arch) { in parseArch() argument
28 Arch = getCanonicalArchName(Arch); in parseArch()
29 StringRef Syn = getArchSynonym(Arch); in parseArch()
38 unsigned ARM::parseArchVersion(StringRef Arch) { in parseArchVersion() argument
39 Arch = getCanonicalArchName(Arch); in parseArchVersion()
40 switch (parseArch(Arch)) { in parseArchVersion()
89 ARM::ProfileKind ARM::parseArchProfile(StringRef Arch) { in parseArchProfile() argument
90 Arch = getCanonicalArchName(Arch); in parseArchProfile()
91 switch (parseArch(Arch)) { in parseArchProfile()
135 StringRef ARM::getArchSynonym(StringRef Arch) { in getArchSynonym() argument
[all …]
DAArch64TargetParser.cpp21 static unsigned checkArchVersion(llvm::StringRef Arch) { in checkArchVersion() argument
22 if (Arch.size() >= 2 && Arch[0] == 'v' && std::isdigit(Arch[1])) in checkArchVersion()
23 return (Arch[1] - 48); in checkArchVersion()
161 StringRef AArch64::getDefaultCPU(StringRef Arch) { in getDefaultCPU() argument
162 ArchKind AK = parseArch(Arch); in getDefaultCPU()
176 for (const auto &Arch : AArch64CPUNames) { in fillValidCPUArchList() local
177 if (Arch.ArchID != ArchKind::INVALID) in fillValidCPUArchList()
178 Values.push_back(Arch.getName()); in fillValidCPUArchList()
188 AArch64::ArchKind AArch64::parseArch(StringRef Arch) { in parseArch() argument
189 Arch = ARM::getCanonicalArchName(Arch); in parseArch()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldELF.h64 if (Arch == Triple::aarch64 || Arch == Triple::aarch64_be) in getMaxStubSize()
66 if (Arch == Triple::arm || Arch == Triple::thumb) in getMaxStubSize()
72 else if (Arch == Triple::ppc64 || Arch == Triple::ppc64le) in getMaxStubSize()
74 else if (Arch == Triple::x86_64) in getMaxStubSize()
76 else if (Arch == Triple::systemz) in getMaxStubSize()
83 if (Arch == Triple::systemz) in getStubAlignment()
169 create(Triple::ArchType Arch, RuntimeDyld::MemoryManager &MemMgr,
DRuntimeDyld.cpp184 Arch = (Triple::ArchType)Obj.getArch(); in loadObjectImpl()
933 if (Arch == Triple::aarch64 || Arch == Triple::aarch64_be || in createStubFunction()
934 Arch == Triple::aarch64_32) { in createStubFunction()
946 } else if (Arch == Triple::arm || Arch == Triple::armeb) { in createStubFunction()
993 } else if (Arch == Triple::ppc64 || Arch == Triple::ppc64le) { in createStubFunction()
1020 } else if (Arch == Triple::systemz) { in createStubFunction()
1027 } else if (Arch == Triple::x86_64) { in createStubFunction()
1031 } else if (Arch == Triple::x86) { in createStubFunction()
1273 Triple::ArchType Arch, RuntimeDyld::MemoryManager &MM, in createRuntimeDyldCOFF() argument
1277 RuntimeDyldCOFF::create(Arch, MM, Resolver); in createRuntimeDyldCOFF()
[all …]
DRuntimeDyldELF.cpp240 llvm::RuntimeDyldELF::create(Triple::ArchType Arch, in create() argument
243 switch (Arch) { in create()
374 bool isBE = Arch == Triple::aarch64_be; in resolveAArch64Relocation()
545 if (Arch == Triple::UnknownArch || in setMipsABI()
546 !StringRef(Triple::getArchTypePrefix(Arch)).equals("mips")) { in setMipsABI()
882 bool isBE = Arch == Triple::bpfeb; in resolveBPFRelocation()
938 switch (Arch) { in resolveRelocation()
1205 if ((Arch == Triple::aarch64 || Arch == Triple::aarch64_be)) { in processRelocationRef()
1222 } else if (Arch == Triple::arm) { in processRelocationRef()
1444 } else if (Arch == Triple::ppc64 || Arch == Triple::ppc64le) { in processRelocationRef()
[all …]
DRuntimeDyldCOFF.cpp48 llvm::RuntimeDyldCOFF::create(Triple::ArchType Arch, in create() argument
51 switch (Arch) { in create()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDebugFrame.h63 Triple::ArchType Arch) in CFIProgram() argument
66 Arch(Arch) {} in CFIProgram()
81 Triple::ArchType Arch; variable
136 int64_t DataAlign, Triple::ArchType Arch) in FrameEntry() argument
138 CFIs(CodeAlign, DataAlign, Arch) {} in FrameEntry()
175 Optional<uint32_t> PersonalityEnc, Triple::ArchType Arch) in CIE() argument
177 DataAlignmentFactor, Arch), in CIE()
231 Optional<uint64_t> LSDAAddress, Triple::ArchType Arch) in FDE() argument
235 Arch), in FDE()
264 const Triple::ArchType Arch; variable
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DARMTargetParser.h245 StringRef getDefaultCPU(StringRef Arch);
246 StringRef getCanonicalArchName(StringRef Arch);
248 StringRef getArchSynonym(StringRef Arch);
253 ArchKind parseArch(StringRef Arch);
256 ISAKind parseArchISA(StringRef Arch);
257 EndianKind parseArchEndian(StringRef Arch);
258 ProfileKind parseArchProfile(StringRef Arch);
259 unsigned parseArchVersion(StringRef Arch);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TextAPI/ELF/
DELFStub.cpp16 Arch = Stub.Arch; in ELFStub()
24 Arch = std::move(Stub.Arch); in ELFStub()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DMachOEmitter.cpp520 FatArchType constructFatArch(MachOYAML::FatArch &Arch) { in constructFatArch() argument
522 FatArch.cputype = Arch.cputype; in constructFatArch()
523 FatArch.cpusubtype = Arch.cpusubtype; in constructFatArch()
524 FatArch.offset = Arch.offset; in constructFatArch()
525 FatArch.size = Arch.size; in constructFatArch()
526 FatArch.align = Arch.align; in constructFatArch()
534 void writeFatArch<MachO::fat_arch>(MachOYAML::FatArch &Arch, raw_ostream &OS) { in writeFatArch() argument
535 auto FatArch = constructFatArch<MachO::fat_arch>(Arch); in writeFatArch()
542 void writeFatArch<MachO::fat_arch_64>(MachOYAML::FatArch &Arch, in writeFatArch() argument
544 auto FatArch = constructFatArch<MachO::fat_arch_64>(Arch); in writeFatArch()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/BinaryFormat/
DDwarf.cpp503 Triple::ArchType Arch) { in CallFrameString() argument
504 assert(Arch != llvm::Triple::ArchType::UnknownArch); in CallFrameString()
505 #define SELECT_AARCH64 (Arch == llvm::Triple::aarch64_be || Arch == llvm::Triple::aarch64) in CallFrameString()
506 #define SELECT_MIPS64 Arch == llvm::Triple::mips64 in CallFrameString()
507 #define SELECT_SPARC (Arch == llvm::Triple::sparc || Arch == llvm::Triple::sparcv9) in CallFrameString()
508 #define SELECT_X86 (Arch == llvm::Triple::x86 || Arch == llvm::Triple::x86_64) in CallFrameString()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DObjectFile.cpp101 auto Arch = getArch(); in makeTriple() local
102 TheTriple.setArch(Triple::ArchType(Arch)); in makeTriple()
107 if (Arch == Triple::arm || Arch == Triple::armeb) in makeTriple()
DTapiFile.cpp42 Architecture Arch) in TapiFile() argument
45 if (!Symbol->getArchitectures().has(Arch)) in TapiFile()
54 Arch == AK_i386) { in TapiFile()
DTapiUniversal.cpp34 for (auto Arch : Archs) in TapiUniversal() local
35 Architectures.emplace_back(Arch); in TapiUniversal()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceELFObjectWriter.cpp45 const TargetArch Arch = Flags.getTargetArch(); in isELF64() local
46 if (Arch >= TargetArch_NUM) { in isELF64()
51 return ELFTargetInfo[Arch].IsELF64; in isELF64()
54 uint16_t getELFMachine(TargetArch Arch) { in getELFMachine() argument
55 if (Arch < TargetArch_NUM) in getELFMachine()
56 return ELFTargetInfo[Arch].ELFMachine; in getELFMachine()
61 uint32_t getELFFlags(TargetArch Arch) { in getELFFlags() argument
62 if (Arch < TargetArch_NUM) in getELFFlags()
63 return ELFTargetInfo[Arch].ELFFlags; in getELFFlags()
486 const TargetArch Arch = getFlags().getTargetArch(); in writeELFHeaderInternal() local
[all …]
DIceTypes.h56 const char *targetArchString(TargetArch Arch);
58 inline Ostream &operator<<(Ostream &Stream, TargetArch Arch) {
59 return Stream << targetArchString(Arch);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMELFStreamer.cpp95 void emitArch(ARM::ArchKind Arch) override;
97 void emitObjectArch(ARM::ArchKind Arch) override;
221 void ARMTargetAsmStreamer::emitArch(ARM::ArchKind Arch) { in emitArch() argument
222 OS << "\t.arch\t" << ARM::getArchName(Arch) << "\n"; in emitArch()
229 void ARMTargetAsmStreamer::emitObjectArch(ARM::ArchKind Arch) { in emitObjectArch() argument
230 OS << "\t.object_arch\t" << ARM::getArchName(Arch) << '\n'; in emitObjectArch()
306 ARM::ArchKind Arch = ARM::ArchKind::INVALID; member in __anon65e2e86b0111::ARMTargetELFStreamer
407 void emitArch(ARM::ArchKind Arch) override;
408 void emitObjectArch(ARM::ArchKind Arch) override;
791 Arch = Value; in emitArch()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DTriple.h236 ArchType Arch; variable
260 : Data(), Arch(), SubArch(), Vendor(), OS(), Environment(), in Triple()
269 return Arch == Other.Arch && SubArch == Other.SubArch &&
297 ArchType getArch() const { return Arch; } in getArch()
840 StringRef getARMCPUForArch(StringRef Arch = StringRef()) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFDebugFrame.cpp227 auto OpcodeName = CallFrameString(Opcode, Arch); in printOperand()
281 OS << CallFrameString(Opcode, Arch) << ":"; in dump()
327 DWARFDebugFrame::DWARFDebugFrame(Triple::ArchType Arch, in DWARFDebugFrame() argument
329 : Arch(Arch), IsEH(IsEH), EHFrameAddress(EHFrameAddress) {} in DWARFDebugFrame()
468 LSDAPointerEncoding, Personality, PersonalityEncoding, Arch); in parse()
520 Cie, LSDAAddress, Arch)); in parse()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCSectionELF.cpp107 Triple::ArchType Arch = T.getArch(); in PrintSwitchToSection() local
108 if (Arch == Triple::xcore) { in PrintSwitchToSection()
116 } else if (Arch == Triple::hexagon) { in PrintSwitchToSection()

12345