/external/llvm-project/clang/lib/CodeGen/ |
D | BackendUtil.cpp | 150 const CodeGenOptions &CGOpts, in EmitAssemblyHelper() argument 153 : Diags(_Diags), HSOpts(HeaderSearchOpts), CodeGenOpts(CGOpts), in EmitAssemblyHelper() 176 const CodeGenOptions &CGOpts, in PassManagerBuilderWrapper() argument 178 : PassManagerBuilder(), TargetTriple(TargetTriple), CGOpts(CGOpts), in PassManagerBuilderWrapper() 181 const CodeGenOptions &getCGOpts() const { return CGOpts; } in getCGOpts() 186 const CodeGenOptions &CGOpts; member in __anon38e4a6340111::PassManagerBuilderWrapper 217 getSancovOptsFromCGOpts(const CodeGenOptions &CGOpts) { in getSancovOptsFromCGOpts() argument 220 static_cast<SanitizerCoverageOptions::Type>(CGOpts.SanitizeCoverageType); in getSancovOptsFromCGOpts() 221 Opts.IndirectCalls = CGOpts.SanitizeCoverageIndirectCalls; in getSancovOptsFromCGOpts() 222 Opts.TraceBB = CGOpts.SanitizeCoverageTraceBB; in getSancovOptsFromCGOpts() [all …]
|
D | CGLoopInfo.h | 209 const clang::CodeGenOptions &CGOpts,
|
D | CGLoopInfo.cpp | 575 const clang::CodeGenOptions &CGOpts, in push() argument 757 if (CGOpts.OptimizationLevel > 0) in push() 760 if (!CGOpts.UnrollLoops && in push()
|
D | CodeGenAction.cpp | 57 ClangDiagnosticHandler(const CodeGenOptions &CGOpts, BackendConsumer *BCon) in ClangDiagnosticHandler() argument 58 : CodeGenOpts(CGOpts), BackendCon(BCon) {} in ClangDiagnosticHandler()
|
D | CGDebugInfo.cpp | 614 auto &CGOpts = CGM.getCodeGenOpts(); in CreateCompileUnit() local 637 LangTag, CUFile, CGOpts.EmitVersionIdentMetadata ? Producer : "", in CreateCompileUnit() 638 LO.Optimize || CGOpts.PrepareForLTO || CGOpts.PrepareForThinLTO, in CreateCompileUnit() 639 CGOpts.DwarfDebugFlags, RuntimeVers, CGOpts.SplitDwarfFile, EmissionKind, in CreateCompileUnit() 640 DwoId, CGOpts.SplitDwarfInlining, CGOpts.DebugInfoForProfiling, in CreateCompileUnit() 644 CGOpts.DebugNameTable), in CreateCompileUnit() 645 CGOpts.DebugRangesBaseAddress, remapDIPath(Sysroot), SDK); in CreateCompileUnit()
|
D | CodeGenFunction.cpp | 53 static bool shouldEmitLifetimeMarkers(const CodeGenOptions &CGOpts, in shouldEmitLifetimeMarkers() argument 55 if (CGOpts.DisableLifetimeMarkers) in shouldEmitLifetimeMarkers() 59 if (CGOpts.SanitizeAddressUseAfterScope || in shouldEmitLifetimeMarkers() 65 return CGOpts.OptimizationLevel != 0; in shouldEmitLifetimeMarkers()
|
D | CodeGenModule.cpp | 954 const auto &CGOpts = CGM.getCodeGenOpts(); in shouldAssumeDSOLocal() local 955 llvm::Reloc::Model RM = CGOpts.RelocationModel; in shouldAssumeDSOLocal() 977 (RM == llvm::Reloc::Static || CGOpts.PIECopyRelocations)) in shouldAssumeDSOLocal() 983 if (isa<llvm::Function>(GV) && !CGOpts.NoPLT && RM == llvm::Reloc::Static) in shouldAssumeDSOLocal()
|
/external/clang/lib/CodeGen/ |
D | BackendUtil.cpp | 124 EmitAssemblyHelper(DiagnosticsEngine &_Diags, const CodeGenOptions &CGOpts, in EmitAssemblyHelper() argument 127 : Diags(_Diags), CodeGenOpts(CGOpts), TargetOpts(TOpts), LangOpts(LOpts), in EmitAssemblyHelper() 149 PassManagerBuilderWrapper(const CodeGenOptions &CGOpts, in PassManagerBuilderWrapper() argument 151 : PassManagerBuilder(), CGOpts(CGOpts), LangOpts(LangOpts) {} in PassManagerBuilderWrapper() 152 const CodeGenOptions &getCGOpts() const { return CGOpts; } in getCGOpts() 155 const CodeGenOptions &CGOpts; member in __anona74313260111::PassManagerBuilderWrapper 201 const CodeGenOptions &CGOpts = BuilderWrapper.getCGOpts(); in addSanitizerCoveragePass() local 204 static_cast<SanitizerCoverageOptions::Type>(CGOpts.SanitizeCoverageType); in addSanitizerCoveragePass() 205 Opts.IndirectCalls = CGOpts.SanitizeCoverageIndirectCalls; in addSanitizerCoveragePass() 206 Opts.TraceBB = CGOpts.SanitizeCoverageTraceBB; in addSanitizerCoveragePass() [all …]
|
D | CGDecl.cpp | 912 static bool shouldEmitLifetimeMarkers(const CodeGenOptions &CGOpts, in shouldEmitLifetimeMarkers() argument 915 if (CGOpts.SanitizeAddressUseAfterScope) in shouldEmitLifetimeMarkers() 924 return CGOpts.OptimizationLevel != 0; in shouldEmitLifetimeMarkers()
|
/external/clang/include/clang/CodeGen/ |
D | BackendUtil.h | 37 void EmitBackendOutput(DiagnosticsEngine &Diags, const CodeGenOptions &CGOpts, 42 void EmbedBitcode(llvm::Module *M, const CodeGenOptions &CGOpts,
|
/external/llvm-project/clang/include/clang/CodeGen/ |
D | BackendUtil.h | 40 const CodeGenOptions &CGOpts, 46 void EmbedBitcode(llvm::Module *M, const CodeGenOptions &CGOpts,
|
/external/llvm-project/clang/unittests/CodeGen/ |
D | TBAAMetadataTest.cpp | 28 clang::CodeGenOptions CGOpts; in getCommonCodeGenOpts() local 29 CGOpts.StructPathTBAA = 1; in getCommonCodeGenOpts() 30 CGOpts.OptimizationLevel = 1; in getCommonCodeGenOpts() 31 return CGOpts; in getCommonCodeGenOpts()
|
/external/llvm-project/clang/include/clang/Basic/ |
D | TargetInfo.h | 1131 virtual void adjustTargetOptions(const CodeGenOptions &CGOpts, in adjustTargetOptions() argument
|