/external/clang/unittests/Lex/ |
D | PPConditionalDirectiveRecordTest.cpp | 38 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
|
D | PPCallbacksTest.cpp | 117 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
|
D | LexerTest.cpp | 56 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/ |
D | CompilerInvocation.h | 60 std::shared_ptr<TargetOptions> TargetOpts; variable 79 TargetOptions &getTargetOpts() { return *TargetOpts.get(); } in getTargetOpts() 81 return *TargetOpts.get(); in getTargetOpts()
|
D | ASTUnit.h | 96 std::shared_ptr<TargetOptions> TargetOpts; variable
|
/external/clang/lib/CodeGen/ |
D | CodeGenAction.cpp | 49 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()
|
D | BackendUtil.cpp | 54 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()
|
D | ObjectFilePCHContainerOperations.cpp | 50 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/ |
D | FrontendActions.cpp | 496 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()
|
D | ASTUnit.cpp | 494 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 …]
|
D | CompilerInvocation.cpp | 53 : 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()
|
D | ChainedIncludesSource.cpp | 155 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in createChainedIncludesSource()
|
D | CompilerInstance.cpp | 800 getInvocation().TargetOpts)); in ExecuteAction()
|
/external/clang/unittests/Basic/ |
D | SourceManagerTest.cpp | 39 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/ |
D | TargetInfo.h | 52 std::shared_ptr<TargetOptions> TargetOpts; variable 112 assert(TargetOpts && "Missing target options"); in getTargetOpts() 113 return *TargetOpts; in getTargetOpts()
|
/external/clang/include/clang/Serialization/ |
D | ASTReader.h | 131 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/ |
D | ASTReader.cpp | 95 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 …]
|
D | ASTWriter.cpp | 1331 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/ |
D | TargetInfo.cpp | 27 TargetInfo::TargetInfo(const llvm::Triple &T) : TargetOpts(), Triple(T) { in TargetInfo()
|
D | Targets.cpp | 7914 Target->TargetOpts = Opts; in CreateTargetInfo()
|
/external/llvm/tools/gold/ |
D | gold-plugin.cpp | 114 static llvm::TargetOptions TargetOpts; variable
|