/netbsd-current/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | BackendUtil.cpp | 104 const CodeGenOptions &CodeGenOpts; member in class:__anon408::EmitAssemblyHelper 155 : Diags(_Diags), HSOpts(HeaderSearchOpts), CodeGenOpts(CGOpts), 160 if (CodeGenOpts.DisableFree) 382 const CodeGenOptions &CodeGenOpts) { 385 switch (CodeGenOpts.getVecLib()) { 426 static CodeGenOpt::Level getCGOptLevel(const CodeGenOptions &CodeGenOpts) { argument 427 switch (CodeGenOpts.OptimizationLevel) { 442 getCodeModel(const CodeGenOptions &CodeGenOpts) { argument 443 unsigned CodeModel = llvm::StringSwitch<unsigned>(CodeGenOpts.CodeModel) 470 const CodeGenOptions &CodeGenOpts, 381 createTLII(llvm::Triple &TargetTriple, const CodeGenOptions &CodeGenOpts) argument 468 initTargetOptions(DiagnosticsEngine &Diags, llvm::TargetOptions &Options, const CodeGenOptions &CodeGenOpts, const clang::TargetOptions &TargetOpts, const LangOptions &LangOpts, const HeaderSearchOptions &HSOpts) argument 603 getGCOVOptions(const CodeGenOptions &CodeGenOpts, const LangOptions &LangOpts) argument 621 getInstrProfOptions(const CodeGenOptions &CodeGenOpts, const LangOptions &LangOpts) argument 861 setCommandLineOpts(const CodeGenOptions &CodeGenOpts) argument 1097 addSanitizers(const Triple &TargetTriple, const CodeGenOptions &CodeGenOpts, const LangOptions &LangOpts, PassBuilder &PB) argument [all...] |
H A D | CodeGenAction.cpp | 58 : CodeGenOpts(CGOpts), BackendCon(BCon) {} 63 return CodeGenOpts.OptimizationRemarkAnalysis.patternMatches(PassName); 66 return CodeGenOpts.OptimizationRemarkMissed.patternMatches(PassName); 69 return CodeGenOpts.OptimizationRemark.patternMatches(PassName); 73 return CodeGenOpts.OptimizationRemarkAnalysis.hasValidPattern() || 74 CodeGenOpts.OptimizationRemarkMissed.hasValidPattern() || 75 CodeGenOpts.OptimizationRemark.hasValidPattern(); 79 const CodeGenOptions &CodeGenOpts; member in class:clang::final 84 const CodeGenOptions CodeGenOpts) { 89 << CodeGenOpts 83 reportOptRecordError(Error E, DiagnosticsEngine &Diags, const CodeGenOptions CodeGenOpts) argument 108 const CodeGenOptions &CodeGenOpts; member in class:clang::BackendConsumer 133 BackendConsumer(BackendAction Action, DiagnosticsEngine &Diags, const HeaderSearchOptions &HeaderSearchOpts, const PreprocessorOptions &PPOpts, const CodeGenOptions &CodeGenOpts, const TargetOptions &TargetOpts, const LangOptions &LangOpts, const std::string &InFile, SmallVector<LinkModule, 4> LinkModules, std::unique_ptr<raw_pwrite_stream> OS, LLVMContext &C, CoverageSourceInfo *CoverageInfo = nullptr) argument 158 BackendConsumer(BackendAction Action, DiagnosticsEngine &Diags, const HeaderSearchOptions &HeaderSearchOpts, const PreprocessorOptions &PPOpts, const CodeGenOptions &CodeGenOpts, const TargetOptions &TargetOpts, const LangOptions &LangOpts, SmallVector<LinkModule, 4> LinkModules, LLVMContext &C, CoverageSourceInfo *CoverageInfo = nullptr) argument 317 reportOptRecordError(std::move(E), Diags, CodeGenOpts); variable 1049 auto &CodeGenOpts = CI.getCodeGenOpts(); local 1104 reportOptRecordError(std::move(E), Diagnostics, CodeGenOpts); local [all...] |
H A D | ObjectFilePCHContainerOperations.cpp | 50 CodeGenOptions CodeGenOpts; member in class:__anon570::PCHContainerGenerator 149 CodeGenOpts.CodeModel = "default"; 151 CodeGenOpts.DebugTypeExtRefs = true; 153 CodeGenOpts.MainFileName = 155 CodeGenOpts.setDebugInfo(codegenoptions::FullDebugInfo); 156 CodeGenOpts.setDebuggerTuning(CI.getCodeGenOpts().getDebuggerTuning()); 157 CodeGenOpts.DebugPrefixMap = 171 *Ctx, HeaderSearchOpts, PreprocessorOpts, CodeGenOpts, *M, Diags)); 297 Diags, HeaderSearchOpts, CodeGenOpts, TargetOpts, LangOpts, 305 clang::EmitBackendOutput(Diags, HeaderSearchOpts, CodeGenOpts, TargetOpt [all...] |
H A D | ModuleBuilder.cpp | 37 const CodeGenOptions CodeGenOpts; // Intentionally copied in. member in class:__anon569::CodeGeneratorImpl 82 PreprocessorOpts(PPO), CodeGenOpts(CGO), HandlingTopLevelDecls(0), 132 M.reset(new llvm::Module(ExpandModuleName(ModuleName, CodeGenOpts), C)); 146 PreprocessorOpts, CodeGenOpts, 149 for (auto &&Lib : CodeGenOpts.DependentLibraries) 151 for (auto &&Opt : CodeGenOpts.LinkerOptions)
|
H A D | CodeGenTBAA.cpp | 35 : Context(Ctx), Module(M), CodeGenOpts(CGO), 61 if (CodeGenOpts.NewStructPathTBAA) { 193 if (CodeGenOpts.NewStructPathTBAA && Ty->isArrayType()) 227 if (CodeGenOpts.OptimizationLevel == 0 || CodeGenOpts.RelaxedAliasing) 364 if (CodeGenOpts.NewStructPathTBAA) { 405 if (!CodeGenOpts.StructPathTBAA) 416 if (CodeGenOpts.NewStructPathTBAA) {
|
H A D | CodeGenModule.cpp | 103 PreprocessorOpts(PPO), CodeGenOpts(CGO), TheModule(M), Diags(diags), 150 (!CodeGenOpts.RelaxedAliasing && CodeGenOpts.OptimizationLevel > 0)) 151 TBAA.reset(new CodeGenTBAA(Context, TheModule, CodeGenOpts, getLangOpts(), 156 if (CodeGenOpts.getDebugInfo() != codegenoptions::NoDebugInfo || 157 CodeGenOpts.EmitGcovArcs || CodeGenOpts.EmitGcovNotes) 165 if (CodeGenOpts.hasProfileClangUse()) { 167 CodeGenOpts.ProfileInstrumentUsePath, CodeGenOpts 817 EmitBackendOptionsMetadata( const CodeGenOptions CodeGenOpts) argument [all...] |
H A D | CGCall.cpp | 1753 if (CodeGenOpts.OptimizeSize) 1755 if (CodeGenOpts.OptimizeSize == 2) 1759 if (CodeGenOpts.DisableRedZone) 1761 if (CodeGenOpts.IndirectTlsSegRefs) 1763 if (CodeGenOpts.NoImplicitFloat) 1768 if (!CodeGenOpts.SimplifyLibCalls || LangOpts.isNoBuiltinFunc(Name)) 1770 if (!CodeGenOpts.TrapFuncName.empty()) 1771 FuncAttrs.addAttribute("trap-func-name", CodeGenOpts.TrapFuncName); 1774 switch (CodeGenOpts.getFramePointer()) { 1787 if (CodeGenOpts [all...] |
H A D | CodeGenTBAA.h | 120 const CodeGenOptions &CodeGenOpts; member in class:clang::CodeGen::CodeGenTBAA
|
H A D | CodeGenModule.h | 307 const CodeGenOptions &CodeGenOpts; member in class:clang::CodeGen::CodeGenModule 584 const CodeGenOptions &CodeGenOpts, llvm::Module &M, 708 const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; } 1597 void EmitBackendOptionsMetadata(const CodeGenOptions CodeGenOpts);
|
H A D | CGVTables.cpp | 1011 assert((def || CodeGenOpts.OptimizationLevel > 0 || 1012 CodeGenOpts.getDebugInfo() != codegenoptions::NoDebugInfo) && 1015 if (!def && CodeGenOpts.OptimizationLevel > 0)
|
H A D | TargetInfo.cpp | 11056 else if (CodeGenOpts.FloatABI == "hard" || 11057 (CodeGenOpts.FloatABI != "soft" && 11071 CodeGenOpts.FloatABI == "soft" || getTarget().hasFeature("spe"); 11073 PPC32TargetCodeGenInfo::isStructReturnInRegABI(Triple, CodeGenOpts); 11078 bool IsSoftFloat = CodeGenOpts.FloatABI == "soft"; 11080 PPC32TargetCodeGenInfo::isStructReturnInRegABI(Triple, CodeGenOpts); 11092 bool IsSoftFloat = CodeGenOpts.FloatABI == "soft"; 11103 bool IsSoftFloat = CodeGenOpts.FloatABI == "soft"; 11129 bool SoftFloat = CodeGenOpts.FloatABI == "soft"; 11141 X86_32TargetCodeGenInfo::isStructReturnInRegABI(Triple, CodeGenOpts); [all...] |
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Frontend/ |
H A D | CompilerInvocation.h | 136 CodeGenOptions CodeGenOpts; member in class:clang::CompilerInvocationValueBase 154 CodeGenOptions &getCodeGenOpts() { return CodeGenOpts; } 155 const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; }
|
H A D | CompilerInstance.h | 623 /// \param CodeGenOpts If non-NULL, the code gen options in use, which may be 631 const CodeGenOptions *CodeGenOpts = nullptr);
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/Frontend/ |
H A D | CompilerInvocation.cpp | 448 CodeGenOptions &CodeGenOpts = Invocation.getCodeGenOpts(); 451 CodeGenOpts.XRayInstrumentFunctions = LangOpts.XRayInstrument; 452 CodeGenOpts.XRayAlwaysEmitCustomEvents = LangOpts.XRayAlwaysEmitCustomEvents; 453 CodeGenOpts.XRayAlwaysEmitTypedEvents = LangOpts.XRayAlwaysEmitTypedEvents; 454 CodeGenOpts.DisableFree = FrontendOpts.DisableFree; 457 LangOpts.ForceEmitVTables = CodeGenOpts.ForceEmitVTables; 458 LangOpts.SpeculativeLoadHardening = CodeGenOpts.SpeculativeLoadHardening; 464 CodeGenOpts.CodeModel = TargetOpts.CodeModel; 525 if (!CodeGenOpts.ProfileRemappingFile.empty() && CodeGenOpts [all...] |
H A D | CompilerInstance.cpp | 279 const CodeGenOptions *CodeGenOpts, 302 if (CodeGenOpts) 303 Logger->setDwarfDebugFlags(CodeGenOpts->DwarfDebugFlags); 338 const CodeGenOptions *CodeGenOpts) { 356 SetUpDiagnosticLog(Opts, CodeGenOpts, *Diags); 278 SetUpDiagnosticLog(DiagnosticOptions *DiagOpts, const CodeGenOptions *CodeGenOpts, DiagnosticsEngine &Diags) argument 335 createDiagnostics(DiagnosticOptions *Opts, DiagnosticConsumer *Client, bool ShouldOwnClient, const CodeGenOptions *CodeGenOpts) argument
|