Home
last modified time | relevance | path

Searched refs:getTargetOpts (Results 1 – 25 of 38) sorted by relevance

12

/llvm-project-15.0.7/clang/unittests/Frontend/
H A DFrontendActionTest.cpp90 invocation->getTargetOpts().Triple = "i386-unknown-linux-gnu"; in TEST()
110 invocation->getTargetOpts().Triple = "i386-unknown-linux-gnu"; in TEST()
137 invocation->getTargetOpts().Triple = "i386-unknown-linux-gnu"; in TEST()
183 Invocation->getTargetOpts().Triple = "i386-unknown-linux-gnu"; in TEST()
244 Invocation->getTargetOpts().Triple = "i386-unknown-linux-gnu"; in TEST()
277 Invocation->getTargetOpts().Triple = "x86_64-apple-darwin19.0.0"; in TEST()
H A DCodeGenActionTest.cpp52 Invocation->getTargetOpts().Triple = "i386-unknown-linux-gnu"; in TEST()
70 Invocation->getTargetOpts().Triple = "i386-unknown-linux-gnu"; in TEST()
96 Invocation->getTargetOpts().Triple = "x86_64-unknown-linux-gnu"; in TEST()
H A DOutputStreamTest.cpp31 Invocation->getTargetOpts().Triple = "i386-unknown-linux-gnu"; in TEST()
55 Invocation->getTargetOpts().Triple = "i386-unknown-linux-gnu"; in TEST()
84 Invocation->getTargetOpts().Triple = "i386-unknown-linux-gnu"; in TEST()
H A DPCHPreambleTest.cpp90 CI->getTargetOpts().Triple = "i386-unknown-linux-gnu"; in ParseAST()
H A DCompilerInvocationTest.cpp946 ASSERT_EQ(Invocation.getTargetOpts().SDKVersion, llvm::VersionTuple(1, 2, 3)); in TEST_F()
947 ASSERT_EQ(Invocation.getTargetOpts().EABIVersion, EABI::EABI4); in TEST_F()
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionParser.cpp441 m_compiler->getTargetOpts().Triple = triple; in ClangExpressionParser()
443 m_compiler->getTargetOpts().Triple.c_str()); in ClangExpressionParser()
453 m_compiler->getTargetOpts().Triple.c_str()); in ClangExpressionParser()
458 m_compiler->getTargetOpts().Triple.find("arm") != std::string::npos && in ClangExpressionParser()
460 m_compiler->getTargetOpts().ABI = "apcs-gnu"; in ClangExpressionParser()
465 m_compiler->getTargetOpts().Features.push_back("+sse"); in ClangExpressionParser()
466 m_compiler->getTargetOpts().Features.push_back("+sse2"); in ClangExpressionParser()
472 m_compiler->getTargetOpts().CPU = target_arch.GetClangTargetCPU(); in ClangExpressionParser()
477 m_compiler->getTargetOpts().ABI = abi; in ClangExpressionParser()
496 auto opts = m_compiler->getTargetOpts(); in ClangExpressionParser()
[all …]
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DTargetInfo.h266 TargetOptions &getTargetOpts() const { in getTargetOpts() function
588 return (getPointerWidth(0) >= 64) || getTargetOpts().ForceEnableInt128; in hasInt128Type()
1568 setFeatureEnabled(getTargetOpts().OpenCLFeaturesMap, #Ext, V);
1574 for (const auto &Ext : getTargetOpts().OpenCLExtensionsAsWritten) { in setCommandLineOpenCLOpts()
1584 getTargetOpts().OpenCLFeaturesMap[Name] = V; in setCommandLineOpenCLOpts()
1590 return getTargetOpts().OpenCLFeaturesMap; in getSupportedOpenCLOpts()
1595 return getTargetOpts().OpenCLFeaturesMap; in getSupportedOpenCLOpts()
1619 return getTargetOpts().SDKVersion; in getSDKVersion()
1647 return !getTargetOpts().DarwinTargetVariantSDKVersion.empty() in getDarwinTargetVariantSDKVersion()
1648 ? getTargetOpts().DarwinTargetVariantSDKVersion in getDarwinTargetVariantSDKVersion()
/llvm-project-15.0.7/clang/unittests/CodeGen/
H A DTestCompiler.h45 compiler.getTargetOpts().Triple = Tr.getTriple();
48 std::make_shared<clang::TargetOptions>(compiler.getTargetOpts())));
/llvm-project-15.0.7/flang/include/flang/Frontend/
H A DCompilerInvocation.h133 TargetOptions &getTargetOpts() { return targetOpts; } in getTargetOpts() function
134 const TargetOptions &getTargetOpts() const { return targetOpts; } in getTargetOpts() function
/llvm-project-15.0.7/clang/include/clang/Frontend/
H A DCompilerInstance.h320 TargetOptions &getTargetOpts() { in getTargetOpts() function
321 return Invocation->getTargetOpts(); in getTargetOpts()
323 const TargetOptions &getTargetOpts() const { in getTargetOpts() function
324 return Invocation->getTargetOpts(); in getTargetOpts()
H A DCompilerInvocation.h107 TargetOptions &getTargetOpts() { return *TargetOpts.get(); } in getTargetOpts() function
108 const TargetOptions &getTargetOpts() const { return *TargetOpts.get(); } in getTargetOpts() function
/llvm-project-15.0.7/flang/unittests/Frontend/
H A DFrontendActionTest.cpp178 compInst.getInvocation().getTargetOpts().triple = in TEST_F()
208 compInst.getInvocation().getTargetOpts().triple = in TEST_F()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGHLSLRuntime.cpp48 auto &TargetOpts = CGM.getTarget().getTargetOpts(); in finishCodeGen()
H A DCodeGenAction.cpp1059 CI.getTargetOpts(), CI.getLangOpts(), std::string(InFile), in CreateASTConsumer()
1106 M->setTargetTriple(CI.getTargetOpts().Triple); in loadModule()
1168 const TargetOptions &TargetOpts = CI.getTargetOpts(); in ExecuteAction()
1192 CI.getCodeGenOpts(), CI.getTargetOpts(), in ExecuteAction()
H A DObjectFilePCHContainerOperations.cpp151 TargetOpts(CI.getTargetOpts()), LangOpts(CI.getLangOpts()), in PCHContainerGenerator()
/llvm-project-15.0.7/polly/lib/External/isl/interface/
H A Dextract_interface.cc332 TargetOptions &TO = Clang->getTargetOpts(); in create_target_info()
342 TargetOptions &TO = Clang->getTargetOpts(); in create_target_info()
429 TargetOptions &TO = Clang->getTargetOpts(); in set_lang_defaults()
/llvm-project-15.0.7/clang/lib/Interpreter/
H A DIncrementalExecutor.cpp39 JTMB.addFeatures(TI.getTargetOpts().Features); in IncrementalExecutor()
/llvm-project-15.0.7/clang/tools/driver/
H A Dcc1_main.cpp223 return PrintSupportedCPUs(Clang->getTargetOpts().Triple); in cc1_main()
/llvm-project-15.0.7/clang/lib/Basic/Targets/
H A DMips.h403 return (ABI == "n32" || ABI == "n64") || getTargetOpts().ForceEnableInt128; in hasInt128Type()
H A DRISCV.cpp126 StringRef CodeModel = getTargetOpts().CodeModel; in getTargetDefines()
H A DAArch64.cpp272 std::string CodeModel = getTargetOpts().CodeModel; in getTargetDefines()
/llvm-project-15.0.7/flang/lib/Frontend/
H A DFrontendActions.cpp150 ci.getParsing().allCooked(), ci.getInvocation().getTargetOpts().triple, in beginSourceFileAction()
559 const std::string &theTriple = ci.getInvocation().getTargetOpts().triple; in setUpTargetMachine()
H A DCompilerInvocation.cpp618 res.getTargetOpts().triple = in createFromArgs()
648 parseTargetArgs(res.getTargetOpts(), args); in createFromArgs()
/llvm-project-15.0.7/clang/tools/clang-import-test/
H A Dclang-import-test.cpp204 Inv->getTargetOpts().Triple = llvm::sys::getDefaultTargetTriple(); in BuildCompilerInstance()
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DARCMT.cpp153 llvm::Triple triple(origCI.getTargetOpts().Triple); in HasARCRuntime()

12