| /llvm-project-15.0.7/llvm/unittests/CodeGen/ |
| H A D | AsmPrinterDwarfTest.cpp | 29 void setupTestPrinter(const std::string &TripleStr, unsigned DwarfVersion, in setupTestPrinter() argument 32 TestAsmPrinter::create(TripleStr, DwarfVersion, DwarfFormat); in setupTestPrinter() 38 bool init(const std::string &TripleStr, unsigned DwarfVersion, in init() argument 40 setupTestPrinter(TripleStr, DwarfVersion, DwarfFormat); in init() 49 bool init(const std::string &TripleStr, unsigned DwarfVersion, in init() argument 51 if (!AsmPrinterFixtureBase::init(TripleStr, DwarfVersion, DwarfFormat)) in init() 137 bool init(const std::string &TripleStr, unsigned DwarfVersion, in init() argument 139 if (!AsmPrinterFixtureBase::init(TripleStr, DwarfVersion, DwarfFormat)) in init() 201 bool init(const std::string &TripleStr, unsigned DwarfVersion, in init() argument 327 bool init(const std::string &TripleStr, unsigned DwarfVersion, in init() argument [all …]
|
| H A D | TestAsmPrinter.cpp | 32 TestAsmPrinter::create(const std::string &TripleStr, uint16_t DwarfVersion, in create() argument 35 const Target *TheTarget = TargetRegistry::lookupTarget(TripleStr, ErrorStr); in create() 41 TestPrinter->init(TheTarget, TripleStr, DwarfVersion, DwarfFormat)) in create()
|
| H A D | TestAsmPrinter.h | 61 llvm::Error init(const Target *TheTarget, StringRef TripleStr, 69 create(const std::string &TripleStr, uint16_t DwarfVersion,
|
| /llvm-project-15.0.7/llvm/lib/LTO/ |
| H A D | LTOCodeGenerator.cpp | 314 TripleStr = MergedModule->getTargetTriple(); in determineTarget() 315 if (TripleStr.empty()) { in determineTarget() 316 TripleStr = sys::getDefaultTargetTriple(); in determineTarget() 317 MergedModule->setTargetTriple(TripleStr); in determineTarget() 319 llvm::Triple Triple(TripleStr); in determineTarget() 323 MArch = TargetRegistry::lookupTarget(TripleStr, ErrMsg); in determineTarget() 356 TripleStr, Config.CPU, FeatureStr, Config.Options, Config.RelocModel, in createTargetMachine()
|
| H A D | LTOModule.cpp | 203 std::string TripleStr = M->getTargetTriple(); in makeLTOModule() local 204 if (TripleStr.empty()) in makeLTOModule() 205 TripleStr = sys::getDefaultTargetTriple(); in makeLTOModule() 206 llvm::Triple Triple(TripleStr); in makeLTOModule() 210 const Target *march = TargetRegistry::lookupTarget(TripleStr, errMsg); in makeLTOModule() 233 march->createTargetMachine(TripleStr, CPU, FeatureStr, options, None); in makeLTOModule()
|
| H A D | ThinLTOCodeGenerator.cpp | 579 auto TripleStr = (*InputOrError)->getTargetTriple(); in addModule() local 580 Triple TheTriple(TripleStr); in addModule()
|
| /llvm-project-15.0.7/llvm/unittests/tools/llvm-mca/ |
| H A D | MCATestBase.h | 44 MCATestBase(StringRef TripleStr, StringRef CPUName, StringRef MAttr = "") 45 : TheTriple(TripleStr), CPUName(CPUName), MAttr(MAttr) {} in TheTriple() argument
|
| /llvm-project-15.0.7/clang/lib/Driver/ToolChains/ |
| H A D | CSKYToolChain.cpp | 101 StringRef TripleStr = GCCInstallation.getTriple().str(); in addLibStdCxxIncludePaths() local 104 TripleStr, Multilib.includeSuffix(), DriverArgs, in addLibStdCxxIncludePaths() 115 StringRef TripleStr = GCCInstallation.getTriple().str(); in computeSysRoot() local 116 llvm::sys::path::append(SysRootDir, LibDir, "..", TripleStr); in computeSysRoot()
|
| H A D | RISCVToolchain.cpp | 118 StringRef TripleStr = GCCInstallation.getTriple().str(); in addLibStdCxxIncludePaths() local 121 TripleStr, Multilib.includeSuffix(), DriverArgs, in addLibStdCxxIncludePaths() 132 StringRef TripleStr = GCCInstallation.getTriple().str(); in computeSysRoot() local 133 llvm::sys::path::append(SysRootDir, LibDir, "..", TripleStr); in computeSysRoot()
|
| H A D | Hurd.cpp | 196 StringRef TripleStr = GCCInstallation.getTriple().str(); in addLibStdCxxIncludePaths() local 199 : TripleStr; in addLibStdCxxIncludePaths()
|
| H A D | Flang.cpp | 66 const std::string &TripleStr = Triple.getTriple(); in ConstructJob() local 76 CmdArgs.push_back(Args.MakeArgString(TripleStr)); in ConstructJob()
|
| H A D | Linux.cpp | 387 const StringRef TripleStr = GCCInstallation.getTriple().str(); in computeSysRoot() local 391 (InstallDir + "/../../../../" + TripleStr + "/libc" + Multilib.osSuffix()) in computeSysRoot() 639 StringRef TripleStr = GCCInstallation.getTriple().str(); in addLibStdCxxIncludePaths() local 643 : TripleStr; in addLibStdCxxIncludePaths() 656 LibDir.str() + "/../" + TripleStr.str() + "/include/c++/" + Version.Text, in addLibStdCxxIncludePaths() 666 if (addLibStdCXXIncludePaths(IncludePath, TripleStr, in addLibStdCxxIncludePaths()
|
| H A D | Myriad.cpp | 259 StringRef TripleStr = GCCInstallation.getTriple().str(); in addLibStdCxxIncludePaths() local 262 LibDir.str() + "/../" + TripleStr.str() + "/include/c++/" + Version.Text, in addLibStdCxxIncludePaths() 263 TripleStr, Multilib.includeSuffix(), DriverArgs, CC1Args); in addLibStdCxxIncludePaths()
|
| H A D | Solaris.cpp | 304 StringRef TripleStr = GCCInstallation.getTriple().str(); in addLibStdCxxIncludePaths() local 310 TripleStr, Multilib.includeSuffix(), DriverArgs, in addLibStdCxxIncludePaths()
|
| H A D | Clang.cpp | 3299 << A->getAsString(Args) << TripleStr; in RenderSSPOptions() 3345 << A->getAsString(Args) << TripleStr; in RenderSSPOptions() 3364 << A->getAsString(Args) << TripleStr; in RenderSSPOptions() 5292 << A->getAsString(Args) << TripleStr; in ConstructJob() 5303 << A->getAsString(Args) << TripleStr; in ConstructJob() 5601 << A->getAsString(Args) << TripleStr; in ConstructJob() 5626 << A->getAsString(Args) << TripleStr; in ConstructJob() 6013 << A->getAsString(Args) << TripleStr; in ConstructJob() 6022 << A->getAsString(Args) << TripleStr; in ConstructJob() 6056 << A->getAsString(Args) << TripleStr; in ConstructJob() [all …]
|
| H A D | Gnu.cpp | 3091 StringRef TripleStr = GCCInstallation.getTriple().str(); in addGCCLibStdCxxIncludePaths() local 3097 LibDir.str() + "/../" + TripleStr + "/include/c++/" + Version.Text, in addGCCLibStdCxxIncludePaths() 3098 TripleStr, Multilib.includeSuffix(), DriverArgs, CC1Args)) in addGCCLibStdCxxIncludePaths() 3104 if (addLibStdCXXIncludePaths(LibDir.str() + "/gcc/" + TripleStr + "/" + in addGCCLibStdCxxIncludePaths() 3106 TripleStr, Multilib.includeSuffix(), DriverArgs, in addGCCLibStdCxxIncludePaths() 3118 TripleStr, Multilib.includeSuffix(), DriverArgs, in addGCCLibStdCxxIncludePaths() 3134 if (addLibStdCXXIncludePaths(IncludePath, TripleStr, in addGCCLibStdCxxIncludePaths()
|
| /llvm-project-15.0.7/llvm/lib/ToolDrivers/llvm-lib/ |
| H A D | LibDriver.cpp | 161 Expected<std::string> TripleStr = getBitcodeTargetTriple(MB); in getBitcodeFileMachine() local 162 if (!TripleStr) in getBitcodeFileMachine() 163 return TripleStr.takeError(); in getBitcodeFileMachine() 165 switch (Triple(*TripleStr).getArch()) { in getBitcodeFileMachine() 176 "unknown arch in target triple: " + *TripleStr); in getBitcodeFileMachine()
|
| /llvm-project-15.0.7/llvm/include/llvm/InterfaceStub/ |
| H A D | IFSHandler.h | 60 IFSTarget parseTriple(StringRef TripleStr);
|
| /llvm-project-15.0.7/llvm/lib/Target/ |
| H A D | TargetMachineC.cpp | 62 LLVMBool LLVMGetTargetFromTriple(const char* TripleStr, LLVMTargetRef *T, in LLVMGetTargetFromTriple() argument 66 *T = wrap(TargetRegistry::lookupTarget(TripleStr, Error)); in LLVMGetTargetFromTriple()
|
| /llvm-project-15.0.7/llvm/bindings/ocaml/target/ |
| H A D | target_ocaml.c | 148 value TripleStr = caml_copy_string(TripleCStr); in llvm_target_default_triple() local 151 return TripleStr; in llvm_target_default_triple()
|
| /llvm-project-15.0.7/llvm/lib/InterfaceStub/ |
| H A D | IFSHandler.cpp | 293 IFSTarget ifs::parseTriple(StringRef TripleStr) { in parseTriple() argument 294 Triple IFSTriple(TripleStr); in parseTriple()
|
| /llvm-project-15.0.7/llvm/include/llvm/LTO/legacy/ |
| H A D | LTOCodeGenerator.h | 235 std::string TripleStr; member
|
| /llvm-project-15.0.7/clang/include/clang/Driver/ |
| H A D | ToolChain.h | 748 static llvm::Triple getOpenMPTriple(StringRef TripleStr) { in getOpenMPTriple() argument 749 llvm::Triple TT(TripleStr); in getOpenMPTriple()
|