/external/clang/include/clang/Frontend/ |
H A D | CompilerInvocation.h | 60 std::shared_ptr<TargetOptions> TargetOpts; member in class:clang::CompilerInvocationBase 79 TargetOptions &getTargetOpts() { return *TargetOpts.get(); } 81 return *TargetOpts.get();
|
H A D | ASTUnit.h | 94 std::shared_ptr<TargetOptions> TargetOpts; member in class:clang::ASTUnit
|
/external/clang/unittests/Lex/ |
H A D | PPConditionalDirectiveRecordTest.cpp | 38 TargetOpts(new TargetOptions) 40 TargetOpts->Triple = "x86_64-apple-darwin11.1.0"; 41 Target = TargetInfo::CreateTargetInfo(Diags, TargetOpts); 50 std::shared_ptr<TargetOptions> TargetOpts; member in class:__anon19547::PPConditionalDirectiveRecordTest
|
H A D | PPCallbacksTest.cpp | 122 SourceMgr(Diags, FileMgr), TargetOpts(new TargetOptions()) { 123 TargetOpts->Triple = "x86_64-apple-darwin11.1.0"; 124 Target = TargetInfo::CreateTargetInfo(Diags, TargetOpts); 134 std::shared_ptr<TargetOptions> TargetOpts; member in class:__anon19545::PPCallbacksTest
|
H A D | LexerTest.cpp | 57 TargetOpts(new TargetOptions) 59 TargetOpts->Triple = "x86_64-apple-darwin11.1.0"; 60 Target = TargetInfo::CreateTargetInfo(Diags, TargetOpts); 111 std::shared_ptr<TargetOptions> TargetOpts; member in class:__anon19544::LexerTest
|
/external/clang/lib/CodeGen/ |
H A D | CodeGenAction.cpp | 45 const TargetOptions &TargetOpts; member in class:clang::BackendConsumer 64 TargetOpts(targetopts), LangOpts(langopts), AsmOutStream(OS), 174 EmitBackendOutput(Diags, CodeGenOpts, TargetOpts, LangOpts, 673 const TargetOptions &TargetOpts = CI.getTargetOpts(); local 674 if (TheModule->getTargetTriple() != TargetOpts.Triple) { 679 CI.getDiagnostics().Report(SourceLocation(), DiagID) << TargetOpts.Triple; 680 TheModule->setTargetTriple(TargetOpts.Triple); 683 EmitBackendOutput(CI.getDiagnostics(), CI.getCodeGenOpts(), TargetOpts,
|
H A D | BackendUtil.cpp | 50 const clang::TargetOptions &TargetOpts; member in class:__anon17806::EmitAssemblyHelper 114 : Diags(_Diags), CodeGenOpts(CGOpts), TargetOpts(TOpts), LangOpts(LOpts), 392 if (TargetOpts.Features.size()) { 395 it = TargetOpts.Features.begin(), 396 ie = TargetOpts.Features.end(); it != ie; ++it) 481 TargetMachine *TM = TheTarget->createTargetMachine(Triple, TargetOpts.CPU,
|
/external/clang/lib/Frontend/ |
H A D | FrontendActions.cpp | 444 bool ReadTargetOptions(const TargetOptions &TargetOpts, 447 Out.indent(4) << " Triple: " << TargetOpts.Triple << "\n"; 448 Out.indent(4) << " CPU: " << TargetOpts.CPU << "\n"; 449 Out.indent(4) << " ABI: " << TargetOpts.ABI << "\n"; 451 if (!TargetOpts.FeaturesAsWritten.empty()) { 453 for (unsigned I = 0, N = TargetOpts.FeaturesAsWritten.size(); 455 Out.indent(6) << TargetOpts.FeaturesAsWritten[I] << "\n";
|
H A D | ASTUnit.cpp | 502 std::shared_ptr<TargetOptions> &TargetOpts; member in class:__anon17906::ASTInfoCollector 509 std::shared_ptr<TargetOptions> &TargetOpts, 511 : PP(PP), Context(Context), LangOpt(LangOpt), TargetOpts(TargetOpts), 526 bool ReadTargetOptions(const TargetOptions &TargetOpts, 532 this->TargetOpts = std::make_shared<TargetOptions>(TargetOpts); 534 TargetInfo::CreateTargetInfo(PP.getDiagnostics(), this->TargetOpts); 733 AST->TargetOpts, AST->Target, 1062 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); 508 ASTInfoCollector(Preprocessor &PP, ASTContext &Context, LangOptions &LangOpt, std::shared_ptr<TargetOptions> &TargetOpts, IntrusiveRefCntPtr<TargetInfo> &Target, unsigned &Counter) argument [all...] |
H A D | CompilerInvocation.cpp | 48 : LangOpts(new LangOptions()), TargetOpts(new TargetOptions()), 56 TargetOpts(new TargetOptions(X.getTargetOpts())), 331 const TargetOptions &TargetOpts) { 361 if (llvm::Triple(TargetOpts.Triple).isOSDarwin() || 362 llvm::Triple(TargetOpts.Triple).isOSFreeBSD()) 1919 code = hash_combine(code, TargetOpts->Triple, TargetOpts->CPU, 1920 TargetOpts->ABI); 1921 for (unsigned i = 0, n = TargetOpts->FeaturesAsWritten.size(); i != n; ++i) 1922 code = hash_combine(code, TargetOpts 329 ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK, DiagnosticsEngine &Diags, const TargetOptions &TargetOpts) argument [all...] |
H A D | ChainedIncludesSource.cpp | 151 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts));
|
H A D | CompilerInstance.cpp | 778 getInvocation().TargetOpts));
|
/external/clang/unittests/Basic/ |
H A D | SourceManagerTest.cpp | 39 TargetOpts(new TargetOptions) { 40 TargetOpts->Triple = "x86_64-apple-darwin11.1.0"; 41 Target = TargetInfo::CreateTargetInfo(Diags, TargetOpts); 50 std::shared_ptr<TargetOptions> TargetOpts; member in class:__anon19539::SourceManagerTest
|
/external/llvm/tools/gold/ |
H A D | gold-plugin.cpp | 76 static llvm::TargetOptions TargetOpts; variable 257 TargetOpts = InitTargetOptionsFromCodeGenFlags(); 258 CodeGen->setTargetOptions(TargetOpts); 298 LTOModule::createFromBuffer(view, file->filesize, TargetOpts, Error);
|
/external/clang/include/clang/Basic/ |
H A D | TargetInfo.h | 50 std::shared_ptr<TargetOptions> TargetOpts; member in class:clang::TargetInfo 105 assert(TargetOpts && "Missing target options"); 106 return *TargetOpts;
|
/external/clang/include/clang/Serialization/ |
H A D | ASTReader.h | 126 virtual bool ReadTargetOptions(const TargetOptions &TargetOpts, argument 212 bool ReadTargetOptions(const TargetOptions &TargetOpts, 245 bool ReadTargetOptions(const TargetOptions &TargetOpts, 1455 const TargetOptions &TargetOpts,
|
/external/clang/lib/Basic/ |
H A D | TargetInfo.cpp | 27 TargetInfo::TargetInfo(const llvm::Triple &T) : TargetOpts(), Triple(T) {
|
H A D | Targets.cpp | 6416 Target->TargetOpts = Opts;
|
/external/clang/lib/Serialization/ |
H A D | ASTReader.cpp | 89 ChainedASTReaderListener::ReadTargetOptions(const TargetOptions &TargetOpts, argument 91 return First->ReadTargetOptions(TargetOpts, Complain) || 92 Second->ReadTargetOptions(TargetOpts, Complain); 215 static bool checkTargetOptions(const TargetOptions &TargetOpts, argument 219 if (TargetOpts.Field != ExistingTargetOpts.Field) { \ 222 << Name << TargetOpts.Field << ExistingTargetOpts.Field; \ 235 SmallVector<StringRef, 4> ReadFeatures(TargetOpts.FeaturesAsWritten.begin(), 236 TargetOpts.FeaturesAsWritten.end()); 287 bool PCHValidator::ReadTargetOptions(const TargetOptions &TargetOpts, argument 290 return checkTargetOptions(TargetOpts, ExistingTargetOpt 4183 isAcceptableASTFile(StringRef Filename, FileManager &FileMgr, const LangOptions &LangOpts, const TargetOptions &TargetOpts, const PreprocessorOptions &PPOpts) argument 4586 TargetOptions TargetOpts; local [all...] |
H A D | ASTWriter.cpp | 1138 const TargetOptions &TargetOpts = Target.getTargetOpts(); local 1139 AddString(TargetOpts.Triple, Record); 1140 AddString(TargetOpts.CPU, Record); 1141 AddString(TargetOpts.ABI, Record); 1142 Record.push_back(TargetOpts.FeaturesAsWritten.size()); 1143 for (unsigned I = 0, N = TargetOpts.FeaturesAsWritten.size(); I != N; ++I) { 1144 AddString(TargetOpts.FeaturesAsWritten[I], Record); 1146 Record.push_back(TargetOpts.Features.size()); 1147 for (unsigned I = 0, N = TargetOpts.Features.size(); I != N; ++I) { 1148 AddString(TargetOpts [all...] |