/external/llvm-project/clang/lib/CodeGen/ |
D | BackendUtil.cpp | 102 const CodeGenOptions &CodeGenOpts; member in __anon9822fb3b0111::EmitAssemblyHelper 153 : Diags(_Diags), HSOpts(HeaderSearchOpts), CodeGenOpts(CGOpts), in EmitAssemblyHelper() 158 if (CodeGenOpts.DisableFree) in ~EmitAssemblyHelper() 368 const CodeGenOptions &CodeGenOpts) { in createTLII() argument 371 switch (CodeGenOpts.getVecLib()) { in createTLII() 408 static CodeGenOpt::Level getCGOptLevel(const CodeGenOptions &CodeGenOpts) { in getCGOptLevel() argument 409 switch (CodeGenOpts.OptimizationLevel) { in getCGOptLevel() 424 getCodeModel(const CodeGenOptions &CodeGenOpts) { in getCodeModel() argument 425 unsigned CodeModel = llvm::StringSwitch<unsigned>(CodeGenOpts.CodeModel) in getCodeModel() 452 const CodeGenOptions &CodeGenOpts, in initTargetOptions() argument [all …]
|
D | CodeGenAction.cpp | 58 : CodeGenOpts(CGOpts), BackendCon(BCon) {} in ClangDiagnosticHandler() 63 return (CodeGenOpts.OptimizationRemarkAnalysisPattern && in isAnalysisRemarkEnabled() 64 CodeGenOpts.OptimizationRemarkAnalysisPattern->match(PassName)); in isAnalysisRemarkEnabled() 67 return (CodeGenOpts.OptimizationRemarkMissedPattern && in isMissedOptRemarkEnabled() 68 CodeGenOpts.OptimizationRemarkMissedPattern->match(PassName)); in isMissedOptRemarkEnabled() 71 return (CodeGenOpts.OptimizationRemarkPattern && in isPassedOptRemarkEnabled() 72 CodeGenOpts.OptimizationRemarkPattern->match(PassName)); in isPassedOptRemarkEnabled() 76 return (CodeGenOpts.OptimizationRemarkAnalysisPattern || in isAnyRemarkEnabled() 77 CodeGenOpts.OptimizationRemarkMissedPattern || in isAnyRemarkEnabled() 78 CodeGenOpts.OptimizationRemarkPattern); in isAnyRemarkEnabled() [all …]
|
D | ObjectFilePCHContainerOperations.cpp | 50 CodeGenOptions CodeGenOpts; member in __anon506bdcce0111::PCHContainerGenerator 149 CodeGenOpts.CodeModel = "default"; in PCHContainerGenerator() 151 CodeGenOpts.DebugTypeExtRefs = true; in PCHContainerGenerator() 153 CodeGenOpts.MainFileName = in PCHContainerGenerator() 155 CodeGenOpts.setDebugInfo(codegenoptions::FullDebugInfo); in PCHContainerGenerator() 156 CodeGenOpts.setDebuggerTuning(CI.getCodeGenOpts().getDebuggerTuning()); in PCHContainerGenerator() 157 CodeGenOpts.DebugPrefixMap = in PCHContainerGenerator() 171 *Ctx, HeaderSearchOpts, PreprocessorOpts, CodeGenOpts, *M, Diags)); in Initialize() 297 Diags, HeaderSearchOpts, CodeGenOpts, TargetOpts, LangOpts, in HandleTranslationUnit() 305 clang::EmitBackendOutput(Diags, HeaderSearchOpts, CodeGenOpts, TargetOpts, in HandleTranslationUnit()
|
D | ModuleBuilder.cpp | 37 const CodeGenOptions CodeGenOpts; // Intentionally copied in. member in __anon35bbc6420111::CodeGeneratorImpl 82 PreprocessorOpts(PPO), CodeGenOpts(CGO), HandlingTopLevelDecls(0), in CodeGeneratorImpl() 132 M.reset(new llvm::Module(ExpandModuleName(ModuleName, CodeGenOpts), C)); in StartModule() 146 PreprocessorOpts, CodeGenOpts, in Initialize() 149 for (auto &&Lib : CodeGenOpts.DependentLibraries) in Initialize() 151 for (auto &&Opt : CodeGenOpts.LinkerOptions) in Initialize()
|
D | CodeGenTBAA.cpp | 35 : Context(Ctx), Module(M), CodeGenOpts(CGO), in CodeGenTBAA() 61 if (CodeGenOpts.NewStructPathTBAA) { in createScalarTypeNode() 193 if (CodeGenOpts.NewStructPathTBAA && Ty->isArrayType()) in getTypeInfoHelper() 227 if (CodeGenOpts.OptimizationLevel == 0 || CodeGenOpts.RelaxedAliasing) in getTypeInfo() 364 if (CodeGenOpts.NewStructPathTBAA) { in getBaseTypeInfoHelper() 405 if (!CodeGenOpts.StructPathTBAA) in getAccessTagInfo() 416 if (CodeGenOpts.NewStructPathTBAA) { in getAccessTagInfo()
|
D | CodeGenModule.cpp | 103 PreprocessorOpts(PPO), CodeGenOpts(CGO), TheModule(M), Diags(diags), in CodeGenModule() 148 (!CodeGenOpts.RelaxedAliasing && CodeGenOpts.OptimizationLevel > 0)) in CodeGenModule() 149 TBAA.reset(new CodeGenTBAA(Context, TheModule, CodeGenOpts, getLangOpts(), in CodeGenModule() 154 if (CodeGenOpts.getDebugInfo() != codegenoptions::NoDebugInfo || in CodeGenModule() 155 CodeGenOpts.EmitGcovArcs || CodeGenOpts.EmitGcovNotes) in CodeGenModule() 163 if (CodeGenOpts.hasProfileClangUse()) { in CodeGenModule() 165 CodeGenOpts.ProfileInstrumentUsePath, CodeGenOpts.ProfileRemappingFile); in CodeGenModule() 170 getDiags().Report(DiagID) << CodeGenOpts.ProfileInstrumentUsePath in CodeGenModule() 179 if (CodeGenOpts.CoverageMapping) in CodeGenModule() 488 if (CodeGenOpts.SanitizeCfiCrossDso) { in Release() [all …]
|
D | CGCall.cpp | 1724 if (CodeGenOpts.OptimizeSize) in getDefaultFunctionAttributes() 1726 if (CodeGenOpts.OptimizeSize == 2) in getDefaultFunctionAttributes() 1730 if (CodeGenOpts.DisableRedZone) in getDefaultFunctionAttributes() 1732 if (CodeGenOpts.IndirectTlsSegRefs) in getDefaultFunctionAttributes() 1734 if (CodeGenOpts.NoImplicitFloat) in getDefaultFunctionAttributes() 1739 if (!CodeGenOpts.SimplifyLibCalls || in getDefaultFunctionAttributes() 1740 CodeGenOpts.isNoBuiltinFunc(Name.data())) in getDefaultFunctionAttributes() 1742 if (!CodeGenOpts.TrapFuncName.empty()) in getDefaultFunctionAttributes() 1743 FuncAttrs.addAttribute("trap-func-name", CodeGenOpts.TrapFuncName); in getDefaultFunctionAttributes() 1746 switch (CodeGenOpts.getFramePointer()) { in getDefaultFunctionAttributes() [all …]
|
D | CodeGenModule.h | 304 const CodeGenOptions &CodeGenOpts; variable 563 const CodeGenOptions &CodeGenOpts, llvm::Module &M, 685 const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; } in getCodeGenOpts() 1549 void EmitBackendOptionsMetadata(const CodeGenOptions CodeGenOpts);
|
D | CodeGenTBAA.h | 120 const CodeGenOptions &CodeGenOpts; variable
|
D | CGVTables.cpp | 1025 assert((def || CodeGenOpts.OptimizationLevel > 0 || in getVTableLinkage() 1026 CodeGenOpts.getDebugInfo() != codegenoptions::NoDebugInfo) && in getVTableLinkage() 1029 if (!def && CodeGenOpts.OptimizationLevel > 0) in getVTableLinkage()
|
/external/clang/lib/CodeGen/ |
D | BackendUtil.cpp | 57 const CodeGenOptions &CodeGenOpts; member in __anonc6a4b0cd0111::EmitAssemblyHelper 127 : Diags(_Diags), CodeGenOpts(CGOpts), TargetOpts(TOpts), LangOpts(LOpts), in EmitAssemblyHelper() 136 if (CodeGenOpts.DisableFree) in ~EmitAssemblyHelper() 281 const CodeGenOptions &CodeGenOpts) { in createTLII() argument 283 if (!CodeGenOpts.SimplifyLibCalls) in createTLII() 288 for (auto &FuncName : CodeGenOpts.getNoBuiltinFuncs()) in createTLII() 293 switch (CodeGenOpts.getVecLib()) { in createTLII() 315 if (CodeGenOpts.DisableLLVMPasses) in CreatePasses() 318 unsigned OptLevel = CodeGenOpts.OptimizationLevel; in CreatePasses() 319 CodeGenOptions::InliningMethod Inlining = CodeGenOpts.getInlining(); in CreatePasses() [all …]
|
D | ObjectFilePCHContainerOperations.cpp | 52 CodeGenOptions CodeGenOpts; member in __anon109341a00111::PCHContainerGenerator 152 CodeGenOpts.CodeModel = "default"; in PCHContainerGenerator() 153 CodeGenOpts.ThreadModel = "single"; in PCHContainerGenerator() 154 CodeGenOpts.DebugTypeExtRefs = true; in PCHContainerGenerator() 155 CodeGenOpts.setDebugInfo(codegenoptions::FullDebugInfo); in PCHContainerGenerator() 156 CodeGenOpts.setDebuggerTuning(CI.getCodeGenOpts().getDebuggerTuning()); in PCHContainerGenerator() 169 *Ctx, HeaderSearchOpts, PreprocessorOpts, CodeGenOpts, *M, Diags)); in Initialize() 285 clang::EmitBackendOutput(Diags, CodeGenOpts, TargetOpts, LangOpts, in HandleTranslationUnit() 292 clang::EmitBackendOutput(Diags, CodeGenOpts, TargetOpts, LangOpts, in HandleTranslationUnit()
|
D | CodeGenAction.cpp | 46 const CodeGenOptions &CodeGenOpts; member in clang::BackendConsumer 67 const PreprocessorOptions &PPOpts, const CodeGenOptions &CodeGenOpts, in BackendConsumer() argument 73 : Diags(Diags), Action(Action), CodeGenOpts(CodeGenOpts), in BackendConsumer() 77 CodeGenOpts, C, CoverageInfo)) { in BackendConsumer() 176 EmbedBitcode(getModule(), CodeGenOpts, llvm::MemoryBufferRef()); in HandleTranslationUnit() 178 EmitBackendOutput(Diags, CodeGenOpts, TargetOpts, LangOpts, in HandleTranslationUnit() 516 if (CodeGenOpts.OptimizationRemarkPattern && in OptimizationRemarkHandler() 517 CodeGenOpts.OptimizationRemarkPattern->match(D.getPassName())) in OptimizationRemarkHandler() 526 if (CodeGenOpts.OptimizationRemarkMissedPattern && in OptimizationRemarkHandler() 527 CodeGenOpts.OptimizationRemarkMissedPattern->match(D.getPassName())) in OptimizationRemarkHandler() [all …]
|
D | ModuleBuilder.cpp | 38 const CodeGenOptions CodeGenOpts; // Intentionally copied in. member in __anon0b8128540111::CodeGeneratorImpl 76 PreprocessorOpts(PPO), CodeGenOpts(CGO), HandlingTopLevelDecls(0), in CodeGeneratorImpl() 124 PreprocessorOpts, CodeGenOpts, in Initialize() 127 for (auto &&Lib : CodeGenOpts.DependentLibraries) in Initialize() 129 for (auto &&Opt : CodeGenOpts.LinkerOptions) in Initialize()
|
D | CodeGenTBAA.cpp | 35 : Context(Ctx), CodeGenOpts(CGO), Features(Features), MContext(MContext), in CodeGenTBAA() 94 if (CodeGenOpts.OptimizationLevel == 0 || CodeGenOpts.RelaxedAliasing) in getTBAAInfo() 295 if (!CodeGenOpts.StructPathTBAA) in getTBAAStructTagInfo()
|
D | CodeGenModule.cpp | 88 PreprocessorOpts(PPO), CodeGenOpts(CGO), TheModule(M), Diags(diags), in CodeGenModule() 126 (!CodeGenOpts.RelaxedAliasing && CodeGenOpts.OptimizationLevel > 0)) in CodeGenModule() 127 TBAA.reset(new CodeGenTBAA(Context, VMContext, CodeGenOpts, getLangOpts(), in CodeGenModule() 132 if (CodeGenOpts.getDebugInfo() != codegenoptions::NoDebugInfo || in CodeGenModule() 133 CodeGenOpts.EmitGcovArcs || CodeGenOpts.EmitGcovNotes) in CodeGenModule() 141 if (CodeGenOpts.hasProfileClangUse()) { in CodeGenModule() 143 CodeGenOpts.ProfileInstrumentUsePath); in CodeGenModule() 148 getDiags().Report(DiagID) << CodeGenOpts.ProfileInstrumentUsePath in CodeGenModule() 157 if (CodeGenOpts.CoverageMapping) in CodeGenModule() 407 if (CodeGenOpts.SanitizeCfiCrossDso) in Release() [all …]
|
D | CGCall.cpp | 1683 if (CodeGenOpts.OptimizeSize) in ConstructAttributeList() 1685 if (CodeGenOpts.OptimizeSize == 2) in ConstructAttributeList() 1689 if (CodeGenOpts.DisableRedZone) in ConstructAttributeList() 1691 if (CodeGenOpts.NoImplicitFloat) in ConstructAttributeList() 1693 if (CodeGenOpts.EnableSegmentedStacks && in ConstructAttributeList() 1699 if (!CodeGenOpts.SimplifyLibCalls || in ConstructAttributeList() 1700 CodeGenOpts.isNoBuiltinFunc(Name.data())) in ConstructAttributeList() 1702 if (!CodeGenOpts.TrapFuncName.empty()) in ConstructAttributeList() 1703 FuncAttrs.addAttribute("trap-func-name", CodeGenOpts.TrapFuncName); in ConstructAttributeList() 1706 if (!CodeGenOpts.DisableFPElim) { in ConstructAttributeList() [all …]
|
D | CodeGenTBAA.h | 47 const CodeGenOptions &CodeGenOpts; variable
|
D | CodeGenModule.h | 269 const CodeGenOptions &CodeGenOpts; variable 496 const CodeGenOptions &CodeGenOpts, llvm::Module &M, 606 const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; } in getCodeGenOpts()
|
/external/clang/include/clang/Frontend/ |
D | CompilerInvocation.h | 110 CodeGenOptions CodeGenOpts; variable 181 CodeGenOptions &getCodeGenOpts() { return CodeGenOpts; } in getCodeGenOpts() 183 return CodeGenOpts; in getCodeGenOpts()
|
D | CompilerInstance.h | 627 const CodeGenOptions *CodeGenOpts = nullptr);
|
/external/llvm-project/clang/include/clang/Frontend/ |
D | CompilerInvocation.h | 127 CodeGenOptions CodeGenOpts; variable 210 CodeGenOptions &getCodeGenOpts() { return CodeGenOpts; } in getCodeGenOpts() 211 const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; } in getCodeGenOpts()
|
D | CompilerInstance.h | 637 const CodeGenOptions *CodeGenOpts = nullptr);
|
/external/clang/lib/Frontend/ |
D | CompilerInstance.cpp | 145 const CodeGenOptions *CodeGenOpts, in SetUpDiagnosticLog() argument 168 if (CodeGenOpts) in SetUpDiagnosticLog() 169 Logger->setDwarfDebugFlags(CodeGenOpts->DwarfDebugFlags); in SetUpDiagnosticLog() 200 const CodeGenOptions *CodeGenOpts) { in createDiagnostics() argument 218 SetUpDiagnosticLog(Opts, CodeGenOpts, *Diags); in createDiagnostics()
|
/external/llvm-project/clang/lib/Frontend/ |
D | CompilerInstance.cpp | 223 const CodeGenOptions *CodeGenOpts, in SetUpDiagnosticLog() argument 246 if (CodeGenOpts) in SetUpDiagnosticLog() 247 Logger->setDwarfDebugFlags(CodeGenOpts->DwarfDebugFlags); in SetUpDiagnosticLog() 282 const CodeGenOptions *CodeGenOpts) { in createDiagnostics() argument 300 SetUpDiagnosticLog(Opts, CodeGenOpts, *Diags); in createDiagnostics()
|