Home
last modified time | relevance | path

Searched refs:TripleStr (Results 1 – 17 of 17) sorted by relevance

/external/bcc/src/cc/
Dbcc_debug.cc117 string TripleStr(mod_->getTargetTriple()); in dump() local
118 Triple TheTriple(TripleStr); in dump()
119 const Target *T = TargetRegistry::lookupTarget(TripleStr, Error); in dump()
125 std::unique_ptr<MCRegisterInfo> MRI(T->createMCRegInfo(TripleStr)); in dump()
132 std::unique_ptr<MCAsmInfo> MAI(T->createMCAsmInfo(*MRI, TripleStr, MCOptions)); in dump()
134 std::unique_ptr<MCAsmInfo> MAI(T->createMCAsmInfo(*MRI, TripleStr)); in dump()
142 T->createMCSubtargetInfo(TripleStr, "", "")); in dump()
/external/llvm/lib/LTO/
DLTOCodeGenerator.cpp320 TripleStr = MergedModule->getTargetTriple(); in determineTarget()
321 if (TripleStr.empty()) { in determineTarget()
322 TripleStr = sys::getDefaultTargetTriple(); in determineTarget()
323 MergedModule->setTargetTriple(TripleStr); in determineTarget()
325 llvm::Triple Triple(TripleStr); in determineTarget()
329 MArch = TargetRegistry::lookupTarget(TripleStr, ErrMsg); in determineTarget()
356 MArch->createTargetMachine(TripleStr, MCpu, FeatureStr, Options, in createTargetMachine()
DLTOModule.cpp207 std::string TripleStr = M->getTargetTriple(); in makeLTOModule() local
208 if (TripleStr.empty()) in makeLTOModule()
209 TripleStr = sys::getDefaultTargetTriple(); in makeLTOModule()
210 llvm::Triple Triple(TripleStr); in makeLTOModule()
214 const Target *march = TargetRegistry::lookupTarget(TripleStr, errMsg); in makeLTOModule()
234 march->createTargetMachine(TripleStr, CPU, FeatureStr, options, None); in makeLTOModule()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DLTOCodeGenerator.cpp342 TripleStr = MergedModule->getTargetTriple(); in determineTarget()
343 if (TripleStr.empty()) { in determineTarget()
344 TripleStr = sys::getDefaultTargetTriple(); in determineTarget()
345 MergedModule->setTargetTriple(TripleStr); in determineTarget()
347 llvm::Triple Triple(TripleStr); in determineTarget()
351 MArch = TargetRegistry::lookupTarget(TripleStr, ErrMsg); in determineTarget()
379 TripleStr, MCpu, FeatureStr, Options, RelocModel, None, CGOptLevel)); in createTargetMachine()
DLTOModule.cpp201 std::string TripleStr = M->getTargetTriple(); in makeLTOModule() local
202 if (TripleStr.empty()) in makeLTOModule()
203 TripleStr = sys::getDefaultTargetTriple(); in makeLTOModule()
204 llvm::Triple Triple(TripleStr); in makeLTOModule()
208 const Target *march = TargetRegistry::lookupTarget(TripleStr, errMsg); in makeLTOModule()
229 march->createTargetMachine(TripleStr, CPU, FeatureStr, options, None); in makeLTOModule()
DThinLTOCodeGenerator.cpp517 auto TripleStr = (*InputOrError)->getTargetTriple(); in addModule() local
518 Triple TheTriple(TripleStr); in addModule()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ToolDrivers/llvm-lib/
DLibDriver.cpp168 Expected<std::string> TripleStr = getBitcodeTargetTriple(MB); in getBitcodeFileMachine() local
169 if (!TripleStr) { in getBitcodeFileMachine()
175 switch (Triple(*TripleStr).getArch()) { in getBitcodeFileMachine()
186 << ": unknown arch in target triple " << *TripleStr << '\n'; in getBitcodeFileMachine()
/external/clang/examples/clang-interpreter/
Dmain.cpp91 std::string TripleStr = llvm::sys::getProcessTriple(); in main() local
92 llvm::Triple T(TripleStr); in main()
/external/llvm/lib/Target/
DTargetMachineC.cpp68 LLVMBool LLVMGetTargetFromTriple(const char* TripleStr, LLVMTargetRef *T, in LLVMGetTargetFromTriple() argument
72 *T = wrap(TargetRegistry::lookupTarget(TripleStr, Error)); in LLVMGetTargetFromTriple()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/
DTargetMachineC.cpp66 LLVMBool LLVMGetTargetFromTriple(const char* TripleStr, LLVMTargetRef *T, in LLVMGetTargetFromTriple() argument
70 *T = wrap(TargetRegistry::lookupTarget(TripleStr, Error)); in LLVMGetTargetFromTriple()
/external/llvm/bindings/ocaml/target/
Dtarget_ocaml.c160 value TripleStr = caml_copy_string(TripleCStr); in llvm_target_default_triple() local
163 return TripleStr; in llvm_target_default_triple()
/external/llvm/include/llvm/LTO/legacy/
DLTOCodeGenerator.h226 std::string TripleStr; member
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/legacy/
DLTOCodeGenerator.h236 std::string TripleStr; member
/external/clang/lib/Driver/
DMSVCToolChain.cpp669 std::string TripleStr = in ComputeEffectiveClangTriple() local
671 llvm::Triple Triple(TripleStr); in ComputeEffectiveClangTriple()
676 return TripleStr; in ComputeEffectiveClangTriple()
DToolChains.cpp4241 const StringRef TripleStr = GCCInstallation.getTriple().str(); in computeSysRoot() local
4245 (InstallDir + "/../../../../" + TripleStr + "/libc" + Multilib.osSuffix()) in computeSysRoot()
4601 StringRef TripleStr = GCCInstallation.getTriple().str(); in AddClangCXXStdlibIncludeArgs() local
4611 "/c++/" + Version.Text, TripleStr, in AddClangCXXStdlibIncludeArgs()
4626 LibDir.str() + "/../" + TripleStr.str() + "/include/c++/" + Version.Text, in AddClangCXXStdlibIncludeArgs()
4633 if (addLibStdCXXIncludePaths(IncludePath, /*Suffix*/ "", TripleStr, in AddClangCXXStdlibIncludeArgs()
4964 StringRef TripleStr = GCCInstallation.getTriple().str(); in AddClangCXXStdlibIncludeArgs() local
4968 LibDir.str() + "/../" + TripleStr.str() + "/include/c++/" + Version.Text, in AddClangCXXStdlibIncludeArgs()
4969 "", TripleStr, "", "", Multilib.includeSuffix(), DriverArgs, CC1Args); in AddClangCXXStdlibIncludeArgs()
DTools.cpp1148 std::string TripleStr = getToolChain().ComputeEffectiveClangTriple(Args); in AddAArch64TargetArgs() local
1149 llvm::Triple Triple(TripleStr); in AddAArch64TargetArgs()
3781 std::string TripleStr = getToolChain().ComputeEffectiveClangTriple(Args); in ConstructJob() local
3782 const llvm::Triple Triple(TripleStr); in ConstructJob()
3816 CmdArgs.push_back(Args.MakeArgString(TripleStr)); in ConstructJob()
3842 << TripleStr; in ConstructJob()
6435 std::string TripleStr = in ConstructJob() local
6437 const llvm::Triple Triple(TripleStr); in ConstructJob()
6453 CmdArgs.push_back(Args.MakeArgString(TripleStr)); in ConstructJob()
8974 std::string TripleStr = getToolChain().ComputeEffectiveClangTriple(Args); in ConstructJob() local
[all …]
/external/llvm/tools/gold/
Dgold-plugin.cpp916 std::string TripleStr; member in __anon56cd05e80211::CodeGen
960 TripleStr = M->getTargetTriple(); in initTargetMachine()
961 Triple TheTriple(TripleStr); in initTargetMachine()
964 TheTarget = TargetRegistry::lookupTarget(TripleStr, ErrMsg); in initTargetMachine()
983 TripleStr, options::mcpu, FeaturesString, Options, RelocationModel, in createTargetMachine()