/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 __anon1d22d0a60111::PPConditionalDirectiveRecordTest
|
D | PPCallbacksTest.cpp | 122 SourceMgr(Diags, FileMgr), TargetOpts(new TargetOptions()) { in PPCallbacksTest() 123 TargetOpts->Triple = "x86_64-apple-darwin11.1.0"; in PPCallbacksTest() 124 Target = TargetInfo::CreateTargetInfo(Diags, TargetOpts); in PPCallbacksTest() 134 std::shared_ptr<TargetOptions> TargetOpts; member in __anonac01f1f40111::PPCallbacksTest
|
D | LexerTest.cpp | 57 TargetOpts(new TargetOptions) in LexerTest() 59 TargetOpts->Triple = "x86_64-apple-darwin11.1.0"; in LexerTest() 60 Target = TargetInfo::CreateTargetInfo(Diags, TargetOpts); in LexerTest() 111 std::shared_ptr<TargetOptions> TargetOpts; member in __anonb2a78a340111::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 | 94 std::shared_ptr<TargetOptions> TargetOpts; variable
|
/external/clang/lib/CodeGen/ |
D | CodeGenAction.cpp | 45 const TargetOptions &TargetOpts; member in clang::BackendConsumer 64 TargetOpts(targetopts), LangOpts(langopts), AsmOutStream(OS), in BackendConsumer() 174 EmitBackendOutput(Diags, CodeGenOpts, TargetOpts, LangOpts, in HandleTranslationUnit() 673 const TargetOptions &TargetOpts = CI.getTargetOpts(); in ExecuteAction() local 674 if (TheModule->getTargetTriple() != TargetOpts.Triple) { in ExecuteAction() 679 CI.getDiagnostics().Report(SourceLocation(), DiagID) << TargetOpts.Triple; in ExecuteAction() 680 TheModule->setTargetTriple(TargetOpts.Triple); in ExecuteAction() 683 EmitBackendOutput(CI.getDiagnostics(), CI.getCodeGenOpts(), TargetOpts, in ExecuteAction()
|
D | BackendUtil.cpp | 50 const clang::TargetOptions &TargetOpts; member in __anon70d459ea0111::EmitAssemblyHelper 114 : Diags(_Diags), CodeGenOpts(CGOpts), TargetOpts(TOpts), LangOpts(LOpts), in EmitAssemblyHelper() 392 if (TargetOpts.Features.size()) { in CreateTargetMachine() 395 it = TargetOpts.Features.begin(), in CreateTargetMachine() 396 ie = TargetOpts.Features.end(); it != ie; ++it) in CreateTargetMachine() 481 TargetMachine *TM = TheTarget->createTargetMachine(Triple, TargetOpts.CPU, in CreateTargetMachine()
|
/external/clang/lib/Frontend/ |
D | FrontendActions.cpp | 444 bool ReadTargetOptions(const TargetOptions &TargetOpts, in ReadTargetOptions() argument 447 Out.indent(4) << " Triple: " << TargetOpts.Triple << "\n"; in ReadTargetOptions() 448 Out.indent(4) << " CPU: " << TargetOpts.CPU << "\n"; in ReadTargetOptions() 449 Out.indent(4) << " ABI: " << TargetOpts.ABI << "\n"; in ReadTargetOptions() 451 if (!TargetOpts.FeaturesAsWritten.empty()) { in ReadTargetOptions() 453 for (unsigned I = 0, N = TargetOpts.FeaturesAsWritten.size(); in ReadTargetOptions() 455 Out.indent(6) << TargetOpts.FeaturesAsWritten[I] << "\n"; in ReadTargetOptions()
|
D | ASTUnit.cpp | 502 std::shared_ptr<TargetOptions> &TargetOpts; member in __anonfa2e08d70211::ASTInfoCollector 509 std::shared_ptr<TargetOptions> &TargetOpts, in ASTInfoCollector() argument 511 : PP(PP), Context(Context), LangOpt(LangOpt), TargetOpts(TargetOpts), in ASTInfoCollector() 526 bool ReadTargetOptions(const TargetOptions &TargetOpts, in ReadTargetOptions() argument 532 this->TargetOpts = std::make_shared<TargetOptions>(TargetOpts); in ReadTargetOptions() 534 TargetInfo::CreateTargetInfo(PP.getDiagnostics(), this->TargetOpts); in ReadTargetOptions() 733 AST->TargetOpts, AST->Target, in LoadFromASTFile() 1062 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in Parse() 1551 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in getMainBufferWithPrecompiledPreamble() 1814 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in LoadFromCompilerInvocationAction() [all …]
|
D | CompilerInvocation.cpp | 48 : LangOpts(new LangOptions()), TargetOpts(new TargetOptions()), in CompilerInvocationBase() 56 TargetOpts(new TargetOptions(X.getTargetOpts())), in CompilerInvocationBase() 331 const TargetOptions &TargetOpts) { in ParseCodeGenArgs() argument 361 if (llvm::Triple(TargetOpts.Triple).isOSDarwin() || in ParseCodeGenArgs() 362 llvm::Triple(TargetOpts.Triple).isOSFreeBSD()) in ParseCodeGenArgs() 1919 code = hash_combine(code, TargetOpts->Triple, TargetOpts->CPU, in getModuleHash() 1920 TargetOpts->ABI); in getModuleHash() 1921 for (unsigned i = 0, n = TargetOpts->FeaturesAsWritten.size(); i != n; ++i) in getModuleHash() 1922 code = hash_combine(code, TargetOpts->FeaturesAsWritten[i]); in getModuleHash()
|
D | ChainedIncludesSource.cpp | 151 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in createChainedIncludesSource()
|
D | CompilerInstance.cpp | 778 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 __anonf5b5f4d90111::SourceManagerTest
|
/external/llvm/tools/gold/ |
D | gold-plugin.cpp | 76 static llvm::TargetOptions TargetOpts; variable 257 TargetOpts = InitTargetOptionsFromCodeGenFlags(); in onload() 258 CodeGen->setTargetOptions(TargetOpts); in onload() 298 LTOModule::createFromBuffer(view, file->filesize, TargetOpts, Error); in claim_file_hook()
|
/external/clang/include/clang/Basic/ |
D | TargetInfo.h | 50 std::shared_ptr<TargetOptions> TargetOpts; variable 105 assert(TargetOpts && "Missing target options"); in getTargetOpts() 106 return *TargetOpts; in getTargetOpts()
|
/external/clang/include/clang/Serialization/ |
D | ASTReader.h | 126 virtual bool ReadTargetOptions(const TargetOptions &TargetOpts, in ReadTargetOptions() argument 212 bool ReadTargetOptions(const TargetOptions &TargetOpts, 245 bool ReadTargetOptions(const TargetOptions &TargetOpts, 1455 const TargetOptions &TargetOpts,
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 89 ChainedASTReaderListener::ReadTargetOptions(const TargetOptions &TargetOpts, in ReadTargetOptions() argument 91 return First->ReadTargetOptions(TargetOpts, Complain) || in ReadTargetOptions() 92 Second->ReadTargetOptions(TargetOpts, Complain); in ReadTargetOptions() 215 static bool checkTargetOptions(const TargetOptions &TargetOpts, in checkTargetOptions() argument 219 if (TargetOpts.Field != ExistingTargetOpts.Field) { \ in checkTargetOptions() 222 << Name << TargetOpts.Field << ExistingTargetOpts.Field; \ in checkTargetOptions() 235 SmallVector<StringRef, 4> ReadFeatures(TargetOpts.FeaturesAsWritten.begin(), in checkTargetOptions() 236 TargetOpts.FeaturesAsWritten.end()); in checkTargetOptions() 287 bool PCHValidator::ReadTargetOptions(const TargetOptions &TargetOpts, in ReadTargetOptions() argument 290 return checkTargetOptions(TargetOpts, ExistingTargetOpts, in ReadTargetOptions() [all …]
|
D | ASTWriter.cpp | 1138 const TargetOptions &TargetOpts = Target.getTargetOpts(); in WriteControlBlock() local 1139 AddString(TargetOpts.Triple, Record); in WriteControlBlock() 1140 AddString(TargetOpts.CPU, Record); in WriteControlBlock() 1141 AddString(TargetOpts.ABI, Record); in WriteControlBlock() 1142 Record.push_back(TargetOpts.FeaturesAsWritten.size()); in WriteControlBlock() 1143 for (unsigned I = 0, N = TargetOpts.FeaturesAsWritten.size(); I != N; ++I) { in WriteControlBlock() 1144 AddString(TargetOpts.FeaturesAsWritten[I], Record); in WriteControlBlock() 1146 Record.push_back(TargetOpts.Features.size()); in WriteControlBlock() 1147 for (unsigned I = 0, N = TargetOpts.Features.size(); I != N; ++I) { in WriteControlBlock() 1148 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 | 6416 Target->TargetOpts = Opts; in CreateTargetInfo()
|