/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 | 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 __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 | 94 std::shared_ptr<TargetOptions> TargetOpts; variable
|
/external/clang/lib/CodeGen/ |
D | CodeGenAction.cpp | 47 const TargetOptions &TargetOpts; member in clang::BackendConsumer 67 TargetOpts(targetopts), LangOpts(langopts), AsmOutStream(OS), in BackendConsumer() 174 EmitBackendOutput(Diags, CodeGenOpts, TargetOpts, LangOpts, in HandleTranslationUnit() 715 const TargetOptions &TargetOpts = CI.getTargetOpts(); in ExecuteAction() local 716 if (TheModule->getTargetTriple() != TargetOpts.Triple) { in ExecuteAction() 719 << TargetOpts.Triple; in ExecuteAction() 720 TheModule->setTargetTriple(TargetOpts.Triple); in ExecuteAction() 725 EmitBackendOutput(CI.getDiagnostics(), CI.getCodeGenOpts(), TargetOpts, in ExecuteAction()
|
D | BackendUtil.cpp | 52 const clang::TargetOptions &TargetOpts; member in __anona74313260111::EmitAssemblyHelper 120 : Diags(_Diags), CodeGenOpts(CGOpts), TargetOpts(TOpts), LangOpts(LOpts), in EmitAssemblyHelper() 444 if (!TargetOpts.Features.empty()) { in CreateTargetMachine() 447 it = TargetOpts.Features.begin(), in CreateTargetMachine() 448 ie = TargetOpts.Features.end(); it != ie; ++it) in CreateTargetMachine() 539 Options.MCOptions.ABIName = TargetOpts.ABI; in CreateTargetMachine() 541 TargetMachine *TM = TheTarget->createTargetMachine(Triple, TargetOpts.CPU, in CreateTargetMachine()
|
/external/clang/lib/Frontend/ |
D | FrontendActions.cpp | 465 bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain, in ReadTargetOptions() argument 468 Out.indent(4) << " Triple: " << TargetOpts.Triple << "\n"; in ReadTargetOptions() 469 Out.indent(4) << " CPU: " << TargetOpts.CPU << "\n"; in ReadTargetOptions() 470 Out.indent(4) << " ABI: " << TargetOpts.ABI << "\n"; in ReadTargetOptions() 472 if (!TargetOpts.FeaturesAsWritten.empty()) { in ReadTargetOptions() 474 for (unsigned I = 0, N = TargetOpts.FeaturesAsWritten.size(); in ReadTargetOptions() 476 Out.indent(6) << TargetOpts.FeaturesAsWritten[I] << "\n"; in ReadTargetOptions()
|
D | ASTUnit.cpp | 492 std::shared_ptr<TargetOptions> &TargetOpts; member in __anon5a88eb930211::ASTInfoCollector 499 std::shared_ptr<TargetOptions> &TargetOpts, in ASTInfoCollector() argument 501 : PP(PP), Context(Context), LangOpt(LangOpt), TargetOpts(TargetOpts), in ASTInfoCollector() 516 bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain, in ReadTargetOptions() argument 522 this->TargetOpts = std::make_shared<TargetOptions>(TargetOpts); in ReadTargetOptions() 524 TargetInfo::CreateTargetInfo(PP.getDiagnostics(), this->TargetOpts); in ReadTargetOptions() 714 *AST->PP, Context, AST->ASTFileLangOpts, AST->TargetOpts, AST->Target, in LoadFromASTFile() 1043 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in Parse() 1504 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in getMainBufferWithPrecompiledPreamble() 1764 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in LoadFromCompilerInvocationAction() [all …]
|
D | CompilerInvocation.cpp | 49 : LangOpts(new LangOptions()), TargetOpts(new TargetOptions()), in CompilerInvocationBase() 57 TargetOpts(new TargetOptions(X.getTargetOpts())), in CompilerInvocationBase() 345 const TargetOptions &TargetOpts) { in ParseCodeGenArgs() argument 387 if (llvm::Triple(TargetOpts.Triple).isOSDarwin() || in ParseCodeGenArgs() 388 llvm::Triple(TargetOpts.Triple).isOSFreeBSD()) in ParseCodeGenArgs() 1967 code = hash_combine(code, TargetOpts->Triple, TargetOpts->CPU, in getModuleHash() 1968 TargetOpts->ABI); in getModuleHash() 1969 for (unsigned i = 0, n = TargetOpts->FeaturesAsWritten.size(); i != n; ++i) in getModuleHash() 1970 code = hash_combine(code, TargetOpts->FeaturesAsWritten[i]); in getModuleHash()
|
D | ChainedIncludesSource.cpp | 152 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in createChainedIncludesSource()
|
D | CompilerInstance.cpp | 781 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 | 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 | 127 virtual bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain, in ReadTargetOptions() argument 226 bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain, 260 bool ReadTargetOptions(const TargetOptions &TargetOpts, bool Complain, 1506 const TargetOptions &TargetOpts,
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 93 const TargetOptions &TargetOpts, bool Complain, in ReadTargetOptions() argument 95 return First->ReadTargetOptions(TargetOpts, Complain, in ReadTargetOptions() 97 Second->ReadTargetOptions(TargetOpts, Complain, in ReadTargetOptions() 235 static bool checkTargetOptions(const TargetOptions &TargetOpts, in checkTargetOptions() argument 240 if (TargetOpts.Field != ExistingTargetOpts.Field) { \ in checkTargetOptions() 243 << Name << TargetOpts.Field << ExistingTargetOpts.Field; \ in checkTargetOptions() 263 SmallVector<StringRef, 4> ReadFeatures(TargetOpts.FeaturesAsWritten.begin(), in checkTargetOptions() 264 TargetOpts.FeaturesAsWritten.end()); in checkTargetOptions() 305 bool PCHValidator::ReadTargetOptions(const TargetOptions &TargetOpts, in ReadTargetOptions() argument 309 return checkTargetOptions(TargetOpts, ExistingTargetOpts, in ReadTargetOptions() [all …]
|
D | ASTWriter.cpp | 1287 const TargetOptions &TargetOpts = Target.getTargetOpts(); in WriteControlBlock() local 1288 AddString(TargetOpts.Triple, Record); in WriteControlBlock() 1289 AddString(TargetOpts.CPU, Record); in WriteControlBlock() 1290 AddString(TargetOpts.ABI, Record); in WriteControlBlock() 1291 Record.push_back(TargetOpts.FeaturesAsWritten.size()); in WriteControlBlock() 1292 for (unsigned I = 0, N = TargetOpts.FeaturesAsWritten.size(); I != N; ++I) { in WriteControlBlock() 1293 AddString(TargetOpts.FeaturesAsWritten[I], Record); in WriteControlBlock() 1295 Record.push_back(TargetOpts.Features.size()); in WriteControlBlock() 1296 for (unsigned I = 0, N = TargetOpts.Features.size(); I != N; ++I) { in WriteControlBlock() 1297 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 | 7098 Target->TargetOpts = Opts; in CreateTargetInfo()
|
/external/llvm/tools/gold/ |
D | gold-plugin.cpp | 83 static llvm::TargetOptions TargetOpts; variable
|