/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/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/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-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/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/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/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()
|
D | MSVCToolChain.cpp | 379 StringRef ArchName = getWindowsSDKArch(getArch()); in getUniversalCRTLibraryPath() local 380 if (ArchName.empty()) in getUniversalCRTLibraryPath() 384 llvm::sys::path::append(LibPath, "Lib", UCRTVersion, "ucrt", ArchName); in getUniversalCRTLibraryPath()
|
D | Action.cpp | 52 : Action(BindArchClass, Input), ArchName(_ArchName) {} in BindArchAction()
|
D | Driver.cpp | 325 StringRef ArchName = A->getValue(); in computeTargetTriple() local 326 tools::darwin::setTripleTypeForMachOArchName(Target, ArchName); in computeTargetTriple() 683 StringRef ArchName = A->getValue(); in generateCompilationDiagnostics() local 684 ArchNames.insert(ArchName); in generateCompilationDiagnostics() 2035 const char *ArchName = BAA->getArchName(); in BuildJobsForActionNoCache() local 2037 if (ArchName) in BuildJobsForActionNoCache() 2040 C.getArgs(), ArchName)); in BuildJobsForActionNoCache() 2044 return BuildJobsForAction(C, *BAA->input_begin(), TC, ArchName, AtTopLevel, in BuildJobsForActionNoCache()
|
D | Tools.cpp | 712 llvm::StringRef ArchName, in checkARMArchName() argument 715 std::pair<StringRef, StringRef> Split = ArchName.split("+"); in checkARMArchName() 717 std::string MArch = arm::getARMArch(ArchName, Triple); in checkARMArchName() 725 llvm::StringRef CPUName, llvm::StringRef ArchName, in checkARMCPUName() argument 730 std::string CPU = arm::getARMTargetCPU(CPUName, ArchName, Triple); in checkARMCPUName() 731 if (arm::getLLVMArchSuffixForARM(CPU, ArchName, Triple).empty() || in checkARMCPUName() 900 StringRef ArchName; in getARMTargetFeatures() local 905 ArchName = StringRef(WaArch->getValue()).substr(7); in getARMTargetFeatures() 906 checkARMArchName(D, WaArch, Args, ArchName, Features, Triple); in getARMTargetFeatures() 910 ArchName = ArchArg->getValue(); in getARMTargetFeatures() [all …]
|
/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/llvm/tools/dsymutil/ |
D | MachODebugMapParser.cpp | 297 SmallString<16> ArchName = Arch; in shouldLinkArch() local 299 ArchName = ("arm" + Arch.substr(5)).str(); in shouldLinkArch() 301 return std::find(Archs.begin(), Archs.end(), ArchName) != Archs.end(); in shouldLinkArch()
|
/external/abi-compliance-checker/modules/Internals/ |
D | SysCheck.pm | 77 my $ArchName = get_filename($SPath1); 78 if($ArchName ne get_filename($SPath2)) { 98 my $SYS_REPORT_PATH = "sys_compat_reports/".$SystemName1_P."_to_".$SystemName2_P."/$ArchName"; 235 $SYS_REPORT_PATH."/".$ListPath, $LName, $FV, $ArchName); 273 $SYS_REPORT_PATH."/".$ListPath, $LName, $FV, $ArchName); 630 $SYS_REPORT .= " on <span style='color:Blue;'>".showArch($ArchName)."</span>\n"; 903 …ription = "API compatibility report between $SystemName1 and $SystemName2 on ".showArch($ArchName);
|
/external/llvm/include/llvm/Object/ |
D | MachOUniversal.h | 154 getObjectForArch(StringRef ArchName) const;
|
/external/llvm/tools/llvm-objdump/ |
D | llvm-objdump.h | 30 extern cl::opt<std::string> ArchName;
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | Triple.h | 129 static ArchType ParseArch(StringRef ArchName);
|
/external/llvm/tools/llvm-mc/ |
D | llvm-mc.cpp | 116 ArchName("arch", cl::desc("Target arch to assemble for, " variable 204 const Target *TheTarget = TargetRegistry::lookupTarget(ArchName, TheTriple, in GetTarget()
|