/external/swiftshader/third_party/LLVM/lib/Support/ |
D | Triple.cpp | 277 Triple::ArchType Triple::ParseArch(StringRef ArchName) { in ParseArch() argument 278 if (ArchName.size() == 4 && ArchName[0] == 'i' && in ParseArch() 279 ArchName[2] == '8' && ArchName[3] == '6' && in ParseArch() 280 ArchName[1] - '3' < 6) // i[3-9]86 in ParseArch() 282 else if (ArchName == "amd64" || ArchName == "x86_64") in ParseArch() 284 else if (ArchName == "bfin") in ParseArch() 286 else if (ArchName == "powerpc") in ParseArch() 288 else if ((ArchName == "powerpc64") || (ArchName == "ppu")) in ParseArch() 290 else if (ArchName == "mblaze") in ParseArch() 292 else if (ArchName == "arm" || in ParseArch() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/Symbolize/ |
D | Symbolize.cpp | 251 const MachOObjectFile *MachExeObj, const std::string &ArchName) { in lookUpDsymFile() argument 261 auto DbgObjOrErr = getOrCreateObject(Path, ArchName); in lookUpDsymFile() 281 const std::string &ArchName) { in lookUpDebuglinkObject() argument 289 auto DbgObjOrErr = getOrCreateObject(DebugBinaryPath, ArchName); in lookUpDebuglinkObject() 300 const std::string &ArchName) { in getOrCreateObjectPair() argument 301 const auto &I = ObjectPairForPathArch.find(std::make_pair(Path, ArchName)); in getOrCreateObjectPair() 306 auto ObjOrErr = getOrCreateObject(Path, ArchName); in getOrCreateObjectPair() 308 ObjectPairForPathArch.insert(std::make_pair(std::make_pair(Path, ArchName), in getOrCreateObjectPair() 318 DbgObj = lookUpDsymFile(Path, MachObj, ArchName); in getOrCreateObjectPair() 320 DbgObj = lookUpDebuglinkObject(Path, Obj, ArchName); in getOrCreateObjectPair() [all …]
|
/external/llvm/lib/DebugInfo/Symbolize/ |
D | Symbolize.cpp | 243 const MachOObjectFile *MachExeObj, const std::string &ArchName) { in lookUpDsymFile() argument 253 auto DbgObjOrErr = getOrCreateObject(Path, ArchName); in lookUpDsymFile() 273 const std::string &ArchName) { in lookUpDebuglinkObject() argument 281 auto DbgObjOrErr = getOrCreateObject(DebugBinaryPath, ArchName); in lookUpDebuglinkObject() 292 const std::string &ArchName) { in getOrCreateObjectPair() argument 293 const auto &I = ObjectPairForPathArch.find(std::make_pair(Path, ArchName)); in getOrCreateObjectPair() 298 auto ObjOrErr = getOrCreateObject(Path, ArchName); in getOrCreateObjectPair() 300 ObjectPairForPathArch.insert(std::make_pair(std::make_pair(Path, ArchName), in getOrCreateObjectPair() 310 DbgObj = lookUpDsymFile(Path, MachObj, ArchName); in getOrCreateObjectPair() 312 DbgObj = lookUpDebuglinkObject(Path, Obj, ArchName); in getOrCreateObjectPair() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | TargetRegistry.cpp | 25 const Target *TargetRegistry::lookupTarget(const std::string &ArchName, in lookupTarget() argument 32 if (!ArchName.empty()) { in lookupTarget() 34 [&](const Target &T) { return ArchName == T.getName(); }); in lookupTarget() 37 Error = "error: invalid target '" + ArchName + "'.\n"; in lookupTarget() 45 Triple::ArchType Type = Triple::getArchTypeForLLVMName(ArchName); in lookupTarget()
|
D | Triple.cpp | 243 static Triple::ArchType parseBPFArch(StringRef ArchName) { in parseBPFArch() argument 244 if (ArchName.equals("bpf")) { in parseBPFArch() 249 } else if (ArchName.equals("bpf_be") || ArchName.equals("bpfeb")) { in parseBPFArch() 251 } else if (ArchName.equals("bpf_le") || ArchName.equals("bpfel")) { in parseBPFArch() 315 static Triple::ArchType parseARMArch(StringRef ArchName) { in parseARMArch() argument 316 ARM::ISAKind ISA = ARM::parseArchISA(ArchName); in parseARMArch() 317 ARM::EndianKind ENDIAN = ARM::parseArchEndian(ArchName); in parseARMArch() 358 ArchName = ARM::getCanonicalArchName(ArchName); in parseARMArch() 359 if (ArchName.empty()) in parseARMArch() 364 (ArchName.startswith("v2") || ArchName.startswith("v3"))) in parseARMArch() [all …]
|
/external/llvm/lib/Support/ |
D | TargetRegistry.cpp | 25 const Target *TargetRegistry::lookupTarget(const std::string &ArchName, in lookupTarget() argument 32 if (!ArchName.empty()) { in lookupTarget() 35 [&](const Target &T) { return ArchName == T.getName(); }); in lookupTarget() 38 Error = "error: invalid target '" + ArchName + "'.\n"; in lookupTarget() 46 Triple::ArchType Type = Triple::getArchTypeForLLVMName(ArchName); in lookupTarget()
|
D | Triple.cpp | 224 static Triple::ArchType parseBPFArch(StringRef ArchName) { in parseBPFArch() argument 225 if (ArchName.equals("bpf")) { in parseBPFArch() 230 } else if (ArchName.equals("bpf_be") || ArchName.equals("bpfeb")) { in parseBPFArch() 232 } else if (ArchName.equals("bpf_le") || ArchName.equals("bpfel")) { in parseBPFArch() 291 static Triple::ArchType parseARMArch(StringRef ArchName) { in parseARMArch() argument 292 unsigned ISA = ARM::parseArchISA(ArchName); in parseARMArch() 293 unsigned ENDIAN = ARM::parseArchEndian(ArchName); in parseARMArch() 327 ArchName = ARM::getCanonicalArchName(ArchName); in parseARMArch() 328 if (ArchName.empty()) in parseARMArch() 333 (ArchName.startswith("v2") || ArchName.startswith("v3"))) in parseARMArch() [all …]
|
/external/llvm/include/llvm/DebugInfo/Symbolize/ |
D | Symbolize.h | 76 const std::string &ArchName); 79 const std::string &ArchName); 83 const std::string &ArchName); 89 const std::string &ArchName);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/Symbolize/ |
D | Symbolize.h | 88 const std::string &ArchName); 91 const std::string &ArchName); 95 const std::string &ArchName); 101 const std::string &ArchName);
|
/external/llvm/lib/Object/ |
D | MachOUniversal.cpp | 149 MachOUniversalBinary::getObjectForArch(StringRef ArchName) const { in getObjectForArch() 150 if (Triple(ArchName).getArch() == Triple::ArchType::UnknownArch) in getObjectForArch() 153 ArchName, in getObjectForArch() 157 if (I->getArchTypeName() == ArchName) in getObjectForArch() 162 ArchName, in getObjectForArch()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | Triple.cpp | 234 static Triple::ArchType parseBPFArch(StringRef ArchName) { in parseBPFArch() argument 235 if (ArchName.equals("bpf")) { in parseBPFArch() 240 } else if (ArchName.equals("bpf_be") || ArchName.equals("bpfeb")) { in parseBPFArch() 242 } else if (ArchName.equals("bpf_le") || ArchName.equals("bpfel")) { in parseBPFArch() 304 static Triple::ArchType parseARMArch(StringRef ArchName) { in parseARMArch() argument 305 unsigned ISA = ARM::parseArchISA(ArchName); in parseARMArch() 306 unsigned ENDIAN = ARM::parseArchEndian(ArchName); in parseARMArch() 340 ArchName = ARM::getCanonicalArchName(ArchName); in parseARMArch() 341 if (ArchName.empty()) in parseARMArch() 346 (ArchName.startswith("v2") || ArchName.startswith("v3"))) in parseARMArch() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/ |
D | MipsSubtarget.cpp | 177 StringRef ArchName = hasMips64() ? "MIPS64" : "MIPS32"; in MipsSubtarget() local 180 errs() << "warning: the 'msa' ASE requires " << ArchName in MipsSubtarget() 185 errs() << "warning: the 'virt' ASE requires " << ArchName in MipsSubtarget() 190 errs() << "warning: the 'crc' ASE requires " << ArchName in MipsSubtarget() 195 errs() << "warning: the 'ginv' ASE requires " << ArchName in MipsSubtarget()
|
/external/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
D | AMDGPUTargetStreamer.h | 30 StringRef ArchName) = 0; 50 StringRef ArchName) override; 86 StringRef ArchName) override;
|
D | AMDGPUTargetStreamer.cpp | 50 StringRef ArchName) { in EmitDirectiveHSACodeObjectISA() argument 53 ",\"" << VendorName << "\",\"" << ArchName << "\"\n"; in EmitDirectiveHSACodeObjectISA() 280 StringRef ArchName) { in EmitDirectiveHSACodeObjectISA() argument 286 uint16_t ArchNameSize = ArchName.size() + 1; in EmitDirectiveHSACodeObjectISA() 304 OS.EmitBytes(ArchName); in EmitDirectiveHSACodeObjectISA()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/ |
D | MachOUniversal.cpp | 214 MachOUniversalBinary::getObjectForArch(StringRef ArchName) const { in getObjectForArch() 215 if (Triple(ArchName).getArch() == Triple::ArchType::UnknownArch) in getObjectForArch() 218 ArchName, in getObjectForArch() 222 if (Obj.getArchFlagName() == ArchName) in getObjectForArch() 226 ArchName, in getObjectForArch()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
D | AMDGPUTargetStreamer.h | 51 StringRef ArchName) = 0; 88 StringRef ArchName) override; 128 StringRef ArchName) override;
|
D | AMDGPUTargetStreamer.cpp | 151 StringRef ArchName) { in EmitDirectiveHSACodeObjectISA() argument 154 ",\"" << VendorName << "\",\"" << ArchName << "\"\n"; in EmitDirectiveHSACodeObjectISA() 399 StringRef ArchName) { in EmitDirectiveHSACodeObjectISA() argument 401 uint16_t ArchNameSize = ArchName.size() + 1; in EmitDirectiveHSACodeObjectISA() 418 OS.EmitBytes(ArchName); in EmitDirectiveHSACodeObjectISA()
|
/external/llvm/lib/Target/ARM/ |
D | ARMSubtarget.cpp | 119 StringRef ArchName = TargetTriple.getArchName(); in initSubtargetFeatures() local 120 if (ArchName.endswith("v7s")) in initSubtargetFeatures() 123 else if (ArchName.endswith("v7k")) in initSubtargetFeatures()
|
/external/swiftshader/third_party/LLVM/tools/llvm-mc/ |
D | llvm-mc.cpp | 98 ArchName("arch", cl::desc("Target arch to assemble for, " variable 182 if (!ArchName.empty()) { in GetTarget() 185 if (ArchName == it->getName()) { in GetTarget() 192 errs() << ProgName << ": error: invalid target '" << ArchName << "'.\n"; in GetTarget() 198 Triple::ArchType Type = Triple::getArchTypeForLLVMName(ArchName); in GetTarget()
|
/external/clang/lib/Driver/ |
D | ToolChain.cpp | 484 std::string ArchName; in ComputeLLVMTriple() local 486 ArchName = "armeb"; in ComputeLLVMTriple() 488 ArchName = "arm"; in ComputeLLVMTriple() 494 ArchName = "thumbeb"; in ComputeLLVMTriple() 496 ArchName = "thumb"; in ComputeLLVMTriple() 498 Triple.setArchName(ArchName + Suffix.str()); in ComputeLLVMTriple()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mc-assemble-fuzzer/ |
D | llvm-mc-assemble-fuzzer.cpp | 147 static std::string ArchName; in AssembleOneInput() local 149 const Target *TheTarget = TargetRegistry::lookupTarget(ArchName, TheTriple, in AssembleOneInput() 153 << "/" << ArchName << "', was not found: '" << Error << "'\n"; in AssembleOneInput()
|
/external/clang/include/clang/Driver/ |
D | Action.h | 147 const char *ArchName; variable 150 BindArchAction(Action *Input, const char *ArchName); 152 const char *getArchName() const { return ArchName; } in getArchName()
|
/external/swiftshader/third_party/LLVM/tools/llvm-objdump/ |
D | llvm-objdump.h | 21 extern cl::opt<std::string> ArchName;
|
D | llvm-objdump.cpp | 73 llvm::ArchName("arch", cl::desc("Target arch to disassemble for, " member in llvm 105 if (!ArchName.empty()) in GetTarget() 106 TT.setArchName(ArchName); in GetTarget()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMSubtarget.cpp | 162 StringRef ArchName = TargetTriple.getArchName(); in initSubtargetFeatures() local 163 ARM::ArchKind AK = ARM::parseArch(ArchName); in initSubtargetFeatures()
|