Home
last modified time | relevance | path

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

/external/clang/unittests/Lex/
DPPConditionalDirectiveRecordTest.cpp38 TargetOpts(new TargetOptions) in PPConditionalDirectiveRecordTest()
40 TargetOpts->Triple = "x86_64-apple-darwin11.1.0"; in PPConditionalDirectiveRecordTest()
41 Target = TargetInfo::CreateTargetInfo(Diags, TargetOpts); in PPConditionalDirectiveRecordTest()
50 std::shared_ptr<TargetOptions> TargetOpts; member in __anondd7146620111::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 __anon5d7da8300111::PPCallbacksTest
DLexerTest.cpp56 TargetOpts(new TargetOptions) in LexerTest()
58 TargetOpts->Triple = "x86_64-apple-darwin11.1.0"; in LexerTest()
59 Target = TargetInfo::CreateTargetInfo(Diags, TargetOpts); in LexerTest()
110 std::shared_ptr<TargetOptions> TargetOpts; member in __anone91643700111::LexerTest
/external/clang/include/clang/Frontend/
DCompilerInvocation.h60 std::shared_ptr<TargetOptions> TargetOpts; variable
79 TargetOptions &getTargetOpts() { return *TargetOpts.get(); } in getTargetOpts()
81 return *TargetOpts.get(); in getTargetOpts()
DASTUnit.h96 std::shared_ptr<TargetOptions> TargetOpts; variable
/external/clang/lib/CodeGen/
DCodeGenAction.cpp49 const TargetOptions &TargetOpts; member in clang::BackendConsumer
71 const TargetOptions &TargetOpts, const LangOptions &LangOpts, in BackendConsumer() argument
77 TargetOpts(TargetOpts), LangOpts(LangOpts), AsmOutStream(OS), in BackendConsumer()
191 EmitBackendOutput(Diags, CodeGenOpts, TargetOpts, LangOpts, in HandleTranslationUnit()
776 const TargetOptions &TargetOpts = CI.getTargetOpts(); in ExecuteAction() local
777 if (TheModule->getTargetTriple() != TargetOpts.Triple) { in ExecuteAction()
780 << TargetOpts.Triple; in ExecuteAction()
781 TheModule->setTargetTriple(TargetOpts.Triple); in ExecuteAction()
818 EmitBackendOutput(CI.getDiagnostics(), CI.getCodeGenOpts(), TargetOpts, in ExecuteAction()
DBackendUtil.cpp54 const clang::TargetOptions &TargetOpts; member in __anona74313260111::EmitAssemblyHelper
122 : Diags(_Diags), CodeGenOpts(CGOpts), TargetOpts(TOpts), LangOpts(LOpts), in EmitAssemblyHelper()
479 llvm::join(TargetOpts.Features.begin(), TargetOpts.Features.end(), ","); in CreateTargetMachine()
502 if (!TargetOpts.Reciprocals.empty()) in CreateTargetMachine()
503 Options.Reciprocals = TargetRecip(TargetOpts.Reciprocals); in CreateTargetMachine()
578 Options.MCOptions.ABIName = TargetOpts.ABI; in CreateTargetMachine()
580 TargetMachine *TM = TheTarget->createTargetMachine(Triple, TargetOpts.CPU, in CreateTargetMachine()
DObjectFilePCHContainerOperations.cpp50 const TargetOptions TargetOpts; member in __anond268d5990111::PCHContainerGenerator
137 TargetOpts(CI.getTargetOpts()), LangOpts(CI.getLangOpts()), OS(OS), in PCHContainerGenerator()
246 clang::EmitBackendOutput(Diags, CodeGenOpts, TargetOpts, LangOpts, in HandleTranslationUnit()
253 clang::EmitBackendOutput(Diags, CodeGenOpts, TargetOpts, LangOpts, in HandleTranslationUnit()
/external/clang/lib/Frontend/
DFrontendActions.cpp496 bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain, in ReadTargetOptions() argument
499 Out.indent(4) << " Triple: " << TargetOpts.Triple << "\n"; in ReadTargetOptions()
500 Out.indent(4) << " CPU: " << TargetOpts.CPU << "\n"; in ReadTargetOptions()
501 Out.indent(4) << " ABI: " << TargetOpts.ABI << "\n"; in ReadTargetOptions()
503 if (!TargetOpts.FeaturesAsWritten.empty()) { in ReadTargetOptions()
505 for (unsigned I = 0, N = TargetOpts.FeaturesAsWritten.size(); in ReadTargetOptions()
507 Out.indent(6) << TargetOpts.FeaturesAsWritten[I] << "\n"; in ReadTargetOptions()
DASTUnit.cpp494 std::shared_ptr<TargetOptions> &TargetOpts; member in __anon5a88eb930211::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()
1523 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in getMainBufferWithPrecompiledPreamble()
1786 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in LoadFromCompilerInvocationAction()
[all …]
DCompilerInvocation.cpp53 : LangOpts(new LangOptions()), TargetOpts(new TargetOptions()), in CompilerInvocationBase()
61 TargetOpts(new TargetOptions(X.getTargetOpts())), in CompilerInvocationBase()
365 const TargetOptions &TargetOpts) { in ParseCodeGenArgs() argument
368 llvm::Triple Triple = llvm::Triple(TargetOpts.Triple); in ParseCodeGenArgs()
2126 code = hash_combine(code, TargetOpts->Triple, TargetOpts->CPU, in getModuleHash()
2127 TargetOpts->ABI); in getModuleHash()
2128 for (unsigned i = 0, n = TargetOpts->FeaturesAsWritten.size(); i != n; ++i) in getModuleHash()
2129 code = hash_combine(code, TargetOpts->FeaturesAsWritten[i]); in getModuleHash()
DChainedIncludesSource.cpp155 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in createChainedIncludesSource()
DCompilerInstance.cpp800 getInvocation().TargetOpts)); in ExecuteAction()
/external/clang/unittests/Basic/
DSourceManagerTest.cpp39 TargetOpts(new TargetOptions) { in SourceManagerTest()
40 TargetOpts->Triple = "x86_64-apple-darwin11.1.0"; in SourceManagerTest()
41 Target = TargetInfo::CreateTargetInfo(Diags, TargetOpts); in SourceManagerTest()
50 std::shared_ptr<TargetOptions> TargetOpts; member in __anonce5a69150111::SourceManagerTest
/external/clang/include/clang/Basic/
DTargetInfo.h52 std::shared_ptr<TargetOptions> TargetOpts; variable
112 assert(TargetOpts && "Missing target options"); in getTargetOpts()
113 return *TargetOpts; in getTargetOpts()
/external/clang/include/clang/Serialization/
DASTReader.h131 virtual bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain, in ReadTargetOptions() argument
235 bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain,
272 bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain,
1505 const TargetOptions &TargetOpts,
/external/clang/lib/Serialization/
DASTReader.cpp95 const TargetOptions &TargetOpts, bool Complain, in ReadTargetOptions() argument
97 return First->ReadTargetOptions(TargetOpts, Complain, in ReadTargetOptions()
99 Second->ReadTargetOptions(TargetOpts, Complain, in ReadTargetOptions()
253 static bool checkTargetOptions(const TargetOptions &TargetOpts, in checkTargetOptions() argument
258 if (TargetOpts.Field != ExistingTargetOpts.Field) { \ in checkTargetOptions()
261 << Name << TargetOpts.Field << ExistingTargetOpts.Field; \ in checkTargetOptions()
281 SmallVector<StringRef, 4> ReadFeatures(TargetOpts.FeaturesAsWritten.begin(), in checkTargetOptions()
282 TargetOpts.FeaturesAsWritten.end()); in checkTargetOptions()
323 bool PCHValidator::ReadTargetOptions(const TargetOptions &TargetOpts, in ReadTargetOptions() argument
327 return checkTargetOptions(TargetOpts, ExistingTargetOpts, in ReadTargetOptions()
[all …]
DASTWriter.cpp1331 const TargetOptions &TargetOpts = Target.getTargetOpts(); in WriteControlBlock() local
1332 AddString(TargetOpts.Triple, Record); in WriteControlBlock()
1333 AddString(TargetOpts.CPU, Record); in WriteControlBlock()
1334 AddString(TargetOpts.ABI, Record); in WriteControlBlock()
1335 Record.push_back(TargetOpts.FeaturesAsWritten.size()); in WriteControlBlock()
1336 for (unsigned I = 0, N = TargetOpts.FeaturesAsWritten.size(); I != N; ++I) { in WriteControlBlock()
1337 AddString(TargetOpts.FeaturesAsWritten[I], Record); in WriteControlBlock()
1339 Record.push_back(TargetOpts.Features.size()); in WriteControlBlock()
1340 for (unsigned I = 0, N = TargetOpts.Features.size(); I != N; ++I) { in WriteControlBlock()
1341 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.cpp7914 Target->TargetOpts = Opts; in CreateTargetInfo()
/external/llvm/tools/gold/
Dgold-plugin.cpp114 static llvm::TargetOptions TargetOpts; variable