Home
last modified time | relevance | path

Searched refs:CGOpts (Results 1 – 13 of 13) sorted by relevance

/external/llvm-project/clang/lib/CodeGen/
DBackendUtil.cpp150 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 …]
DCGLoopInfo.h209 const clang::CodeGenOptions &CGOpts,
DCGLoopInfo.cpp575 const clang::CodeGenOptions &CGOpts, in push() argument
757 if (CGOpts.OptimizationLevel > 0) in push()
760 if (!CGOpts.UnrollLoops && in push()
DCodeGenAction.cpp57 ClangDiagnosticHandler(const CodeGenOptions &CGOpts, BackendConsumer *BCon) in ClangDiagnosticHandler() argument
58 : CodeGenOpts(CGOpts), BackendCon(BCon) {} in ClangDiagnosticHandler()
DCGDebugInfo.cpp614 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()
DCodeGenFunction.cpp53 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()
DCodeGenModule.cpp954 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/
DBackendUtil.cpp124 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 …]
DCGDecl.cpp912 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/
DBackendUtil.h37 void EmitBackendOutput(DiagnosticsEngine &Diags, const CodeGenOptions &CGOpts,
42 void EmbedBitcode(llvm::Module *M, const CodeGenOptions &CGOpts,
/external/llvm-project/clang/include/clang/CodeGen/
DBackendUtil.h40 const CodeGenOptions &CGOpts,
46 void EmbedBitcode(llvm::Module *M, const CodeGenOptions &CGOpts,
/external/llvm-project/clang/unittests/CodeGen/
DTBAAMetadataTest.cpp28 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/
DTargetInfo.h1131 virtual void adjustTargetOptions(const CodeGenOptions &CGOpts, in adjustTargetOptions() argument