Home
last modified time | relevance | path

Searched refs:TargetOpts (Results 1 – 22 of 22) sorted by relevance

/external/clang/unittests/Lex/
DPPConditionalDirectiveRecordTest.cpp37 TargetOpts(new TargetOptions) in PPConditionalDirectiveRecordTest()
39 TargetOpts->Triple = "x86_64-apple-darwin11.1.0"; in PPConditionalDirectiveRecordTest()
40 Target = TargetInfo::CreateTargetInfo(Diags, TargetOpts); in PPConditionalDirectiveRecordTest()
49 std::shared_ptr<TargetOptions> TargetOpts; member in __anon18520ecb0111::PPConditionalDirectiveRecordTest
DPPCallbacksTest.cpp117 SourceMgr(Diags, FileMgr), TargetOpts(new TargetOptions()) { in PPCallbacksTest()
118 TargetOpts->Triple = "x86_64-apple-darwin11.1.0"; in PPCallbacksTest()
119 Target = TargetInfo::CreateTargetInfo(Diags, TargetOpts); in PPCallbacksTest()
129 std::shared_ptr<TargetOptions> TargetOpts; member in __anonf86715790111::PPCallbacksTest
DLexerTest.cpp55 TargetOpts(new TargetOptions) in LexerTest()
57 TargetOpts->Triple = "x86_64-apple-darwin11.1.0"; in LexerTest()
58 Target = TargetInfo::CreateTargetInfo(Diags, TargetOpts); in LexerTest()
115 std::shared_ptr<TargetOptions> TargetOpts; member in __anon5fadadf90111::LexerTest
/external/clang/include/clang/Frontend/
DCompilerInvocation.h61 std::shared_ptr<TargetOptions> TargetOpts; variable
80 TargetOptions &getTargetOpts() { return *TargetOpts.get(); } in getTargetOpts()
82 return *TargetOpts.get(); in getTargetOpts()
DASTUnit.h96 std::shared_ptr<TargetOptions> TargetOpts; variable
/external/clang/lib/CodeGen/
DCodeGenAction.cpp47 const TargetOptions &TargetOpts; member in clang::BackendConsumer
68 const TargetOptions &TargetOpts, const LangOptions &LangOpts, in BackendConsumer() argument
74 TargetOpts(TargetOpts), LangOpts(LangOpts), AsmOutStream(OS), in BackendConsumer()
178 EmitBackendOutput(Diags, CodeGenOpts, TargetOpts, LangOpts, in HandleTranslationUnit()
829 const TargetOptions &TargetOpts = CI.getTargetOpts(); in ExecuteAction() local
830 if (TheModule->getTargetTriple() != TargetOpts.Triple) { in ExecuteAction()
833 << TargetOpts.Triple; in ExecuteAction()
834 TheModule->setTargetTriple(TargetOpts.Triple); in ExecuteAction()
844 EmitBackendOutput(CI.getDiagnostics(), CI.getCodeGenOpts(), TargetOpts, in ExecuteAction()
DBackendUtil.cpp58 const clang::TargetOptions &TargetOpts; member in __anon1dda7daf0111::EmitAssemblyHelper
127 : Diags(_Diags), CodeGenOpts(CGOpts), TargetOpts(TOpts), LangOpts(LOpts), in EmitAssemblyHelper()
548 llvm::join(TargetOpts.Features.begin(), TargetOpts.Features.end(), ","); in CreateTargetMachine()
571 if (!TargetOpts.Reciprocals.empty()) in CreateTargetMachine()
572 Options.Reciprocals = TargetRecip(TargetOpts.Reciprocals); in CreateTargetMachine()
609 Options.EABIVersion = llvm::StringSwitch<llvm::EABI>(TargetOpts.EABIVersion) in CreateTargetMachine()
638 Options.MCOptions.ABIName = TargetOpts.ABI; in CreateTargetMachine()
640 TargetMachine *TM = TheTarget->createTargetMachine(Triple, TargetOpts.CPU, in CreateTargetMachine()
DObjectFilePCHContainerOperations.cpp53 const TargetOptions TargetOpts; member in __anonc27a6fc20111::PCHContainerGenerator
148 TargetOpts(CI.getTargetOpts()), LangOpts(CI.getLangOpts()), OS(OS), in PCHContainerGenerator()
285 clang::EmitBackendOutput(Diags, CodeGenOpts, TargetOpts, LangOpts, in HandleTranslationUnit()
292 clang::EmitBackendOutput(Diags, CodeGenOpts, TargetOpts, LangOpts, in HandleTranslationUnit()
/external/clang/lib/Frontend/
DFrontendActions.cpp498 bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain, in ReadTargetOptions() argument
501 Out.indent(4) << " Triple: " << TargetOpts.Triple << "\n"; in ReadTargetOptions()
502 Out.indent(4) << " CPU: " << TargetOpts.CPU << "\n"; in ReadTargetOptions()
503 Out.indent(4) << " ABI: " << TargetOpts.ABI << "\n"; in ReadTargetOptions()
505 if (!TargetOpts.FeaturesAsWritten.empty()) { in ReadTargetOptions()
507 for (unsigned I = 0, N = TargetOpts.FeaturesAsWritten.size(); in ReadTargetOptions()
509 Out.indent(6) << TargetOpts.FeaturesAsWritten[I] << "\n"; in ReadTargetOptions()
DASTUnit.cpp494 std::shared_ptr<TargetOptions> &TargetOpts; member in __anondc183abc0211::ASTInfoCollector
501 std::shared_ptr<TargetOptions> &TargetOpts, in ASTInfoCollector() argument
503 : PP(PP), Context(Context), LangOpt(LangOpt), TargetOpts(TargetOpts), in ASTInfoCollector()
518 bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain, in ReadTargetOptions() argument
524 this->TargetOpts = std::make_shared<TargetOptions>(TargetOpts); in ReadTargetOptions()
526 TargetInfo::CreateTargetInfo(PP.getDiagnostics(), this->TargetOpts); in ReadTargetOptions()
718 *AST->PP, Context, AST->ASTFileLangOpts, AST->TargetOpts, AST->Target, in LoadFromASTFile()
1061 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in Parse()
1531 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in getMainBufferWithPrecompiledPreamble()
1794 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in LoadFromCompilerInvocationAction()
[all …]
DCompilerInvocation.cpp56 : LangOpts(new LangOptions()), TargetOpts(new TargetOptions()), in CompilerInvocationBase()
64 TargetOpts(new TargetOptions(X.getTargetOpts())), in CompilerInvocationBase()
422 const TargetOptions &TargetOpts) { in ParseCodeGenArgs() argument
425 llvm::Triple Triple = llvm::Triple(TargetOpts.Triple); in ParseCodeGenArgs()
1607 const TargetOptions &TargetOpts, in ParseLangArgs() argument
1682 llvm::Triple T(TargetOpts.Triple); in ParseLangArgs()
2025 llvm::Triple T(TargetOpts.Triple); in ParseLangArgs()
2045 llvm::Triple T(TargetOpts.Triple); in ParseLangArgs()
2076 << TargetOpts.Triple; in ParseLangArgs()
2425 code = hash_combine(code, TargetOpts->Triple, TargetOpts->CPU, in getModuleHash()
[all …]
DChainedIncludesSource.cpp155 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in createChainedIncludesSource()
DCompilerInstance.cpp835 getInvocation().TargetOpts)); in ExecuteAction()
/external/clang/unittests/Basic/
DSourceManagerTest.cpp38 TargetOpts(new TargetOptions) { in SourceManagerTest()
39 TargetOpts->Triple = "x86_64-apple-darwin11.1.0"; in SourceManagerTest()
40 Target = TargetInfo::CreateTargetInfo(Diags, TargetOpts); in SourceManagerTest()
49 std::shared_ptr<TargetOptions> TargetOpts; member in __anon6f5b52de0111::SourceManagerTest
/external/clang/include/clang/Basic/
DTargetInfo.h53 std::shared_ptr<TargetOptions> TargetOpts; variable
119 assert(TargetOpts && "Missing target options"); in getTargetOpts()
120 return *TargetOpts; in getTargetOpts()
/external/clang/include/clang/Serialization/
DASTReader.h132 virtual bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain, in ReadTargetOptions() argument
236 bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain,
273 bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain,
1507 const TargetOptions &TargetOpts,
/external/mesa3d/src/gallium/state_trackers/clover/llvm/
Dinvocation.cpp138 c->getDiagnostics(), c->getInvocation().TargetOpts)); in create_compiler_instance()
/external/clang/lib/Serialization/
DASTReader.cpp96 const TargetOptions &TargetOpts, bool Complain, in ReadTargetOptions() argument
98 return First->ReadTargetOptions(TargetOpts, Complain, in ReadTargetOptions()
100 Second->ReadTargetOptions(TargetOpts, Complain, in ReadTargetOptions()
259 static bool checkTargetOptions(const TargetOptions &TargetOpts, in checkTargetOptions() argument
264 if (TargetOpts.Field != ExistingTargetOpts.Field) { \ in checkTargetOptions()
267 << Name << TargetOpts.Field << ExistingTargetOpts.Field; \ in checkTargetOptions()
287 SmallVector<StringRef, 4> ReadFeatures(TargetOpts.FeaturesAsWritten.begin(), in checkTargetOptions()
288 TargetOpts.FeaturesAsWritten.end()); in checkTargetOptions()
329 bool PCHValidator::ReadTargetOptions(const TargetOptions &TargetOpts, in ReadTargetOptions() argument
333 return checkTargetOptions(TargetOpts, ExistingTargetOpts, in ReadTargetOptions()
[all …]
DASTWriter.cpp1388 const TargetOptions &TargetOpts = Target.getTargetOpts(); in WriteControlBlock() local
1389 AddString(TargetOpts.Triple, Record); in WriteControlBlock()
1390 AddString(TargetOpts.CPU, Record); in WriteControlBlock()
1391 AddString(TargetOpts.ABI, Record); in WriteControlBlock()
1392 Record.push_back(TargetOpts.FeaturesAsWritten.size()); in WriteControlBlock()
1393 for (unsigned I = 0, N = TargetOpts.FeaturesAsWritten.size(); I != N; ++I) { in WriteControlBlock()
1394 AddString(TargetOpts.FeaturesAsWritten[I], Record); in WriteControlBlock()
1396 Record.push_back(TargetOpts.Features.size()); in WriteControlBlock()
1397 for (unsigned I = 0, N = TargetOpts.Features.size(); I != N; ++I) { in WriteControlBlock()
1398 AddString(TargetOpts.Features[I], Record); in WriteControlBlock()
/external/clang/lib/Basic/
DTargetInfo.cpp27 TargetInfo::TargetInfo(const llvm::Triple &T) : TargetOpts(), Triple(T) { in TargetInfo()
DTargets.cpp8567 Target->TargetOpts = Opts; in CreateTargetInfo()
/external/llvm/tools/gold/
Dgold-plugin.cpp154 static llvm::TargetOptions TargetOpts; variable