Home
last modified time | relevance | path

Searched refs:CodeGenOptions (Results 1 – 25 of 64) sorted by relevance

123

/llvm-project/clang/lib/Basic/
H A DProfileList.cpp74 static StringRef getSectionName(CodeGenOptions::ProfileInstrKind Kind) { in getSectionName()
76 case CodeGenOptions::ProfileNone: in getSectionName()
78 case CodeGenOptions::ProfileClangInstr: in getSectionName()
80 case CodeGenOptions::ProfileIRInstr: in getSectionName()
82 case CodeGenOptions::ProfileCSIRInstr: in getSectionName()
89 ProfileList::getDefault(CodeGenOptions::ProfileInstrKind Kind) const { in getDefault()
120 CodeGenOptions::ProfileInstrKind Kind) const { in isFunctionExcluded()
134 CodeGenOptions::ProfileInstrKind Kind) const { in isLocationExcluded()
140 CodeGenOptions::ProfileInstrKind Kind) const { in isFileExcluded()
H A DCodeGenOptions.cpp1 //===--- CodeGenOptions.cpp -----------------------------------------------===//
9 #include "clang/Basic/CodeGenOptions.h"
14 CodeGenOptions::CodeGenOptions() { in CodeGenOptions() function in clang::CodeGenOptions
17 #include "clang/Basic/CodeGenOptions.def" in CodeGenOptions()
22 void CodeGenOptions::resetNonModularOptions(StringRef ModuleFormat) {
31 #include "clang/Basic/CodeGenOptions.def" in resetNonModularOptions()
/llvm-project/clang/include/clang/Basic/
H A DProfileList.h52 ExclusionType getDefault(CodeGenOptions::ProfileInstrKind Kind) const;
56 CodeGenOptions::ProfileInstrKind Kind) const;
59 CodeGenOptions::ProfileInstrKind Kind) const;
62 CodeGenOptions::ProfileInstrKind Kind) const;
/llvm-project/clang/include/clang/CodeGen/
H A DBackendUtil.h30 class CodeGenOptions; variable
42 void emitBackendOutput(CompilerInstance &CI, CodeGenOptions &CGOpts,
48 void EmbedBitcode(llvm::Module *M, const CodeGenOptions &CGOpts,
51 void EmbedObject(llvm::Module *M, const CodeGenOptions &CGOpts,
H A DModuleBuilder.h35 class CodeGenOptions; variable
113 const CodeGenOptions &CGO,
/llvm-project/clang/lib/CodeGen/
H A DBackendUtil.cpp12 #include "clang/Basic/CodeGenOptions.h"
29 #include "llvm/Frontend/Driver/CodeGenOptions.h"
139 const CodeGenOptions &CodeGenOpts;
209 EmitAssemblyHelper(CompilerInstance &CI, CodeGenOptions &CGOpts, in EmitAssemblyHelper()
231 getSancovOptsFromCGOpts(const CodeGenOptions &CGOpts) {
255 getSanitizerBinaryMetadataOptions(const CodeGenOptions &CGOpts) { in getSancovOptsFromCGOpts()
267 static bool asanUseGlobalsGC(const Triple &T, const CodeGenOptions &CGOpts) {
290 getCodeModel(const CodeGenOptions &CodeGenOpts) { in asanUseGlobalsGC()
471 case CodeGenOptions::SwiftAsyncFramePointerKind::Auto: in initTargetOptions()
476 case CodeGenOptions in initTargetOptions()
[all...]
H A DBackendConsumer.h33 const CodeGenOptions &CodeGenOpts;
H A DModuleBuilder.cpp39 const CodeGenOptions &CodeGenOpts;
71 const CodeGenOptions &CGO) { in ExpandModuleName()
81 const PreprocessorOptions &PPO, const CodeGenOptions &CGO, in CodeGeneratorImpl()
368 const CodeGenOptions &CGO, llvm::LLVMContext &C, in CreateLLVMCodeGen()
H A DCodeGenTBAA.h25 class CodeGenOptions; variable
121 const CodeGenOptions &CodeGenOpts;
177 const CodeGenOptions &CGO, const LangOptions &Features);
H A DABIInfo.h28 class CodeGenOptions;
66 const CodeGenOptions &getCodeGenOpts() const;
27 class CodeGenOptions; global() variable
H A DCGLoopInfo.h32 class CodeGenOptions; variable
219 const clang::CodeGenOptions &CGOpts,
H A DCodeGenTypes.h35 class CodeGenOptions; variable
107 const CodeGenOptions &getCodeGenOpts() const; in getCGM()
H A DCodeGenAction.cpp64 ClangDiagnosticHandler(const CodeGenOptions &CGOpts, BackendConsumer *BCon)
86 const CodeGenOptions &CodeGenOpts; in isAnyRemarkEnabled()
91 const CodeGenOptions &CodeGenOpts) {
276 CodeGenOpts.getProfileUse() != CodeGenOptions::ProfileNone) in HandleTranslationUnit()
881 for (const CodeGenOptions::BitcodeFileToLink &F : in DiagnosticHandlerImpl()
/llvm-project/clang/include/clang/Frontend/
H A DCompilerInvocation.h100 std::shared_ptr<CodeGenOptions> CodeGenOpts;
139 const CodeGenOptions &getCodeGenOpts() const { return *CodeGenOpts; } in getCodeGenOpts()
196 static void GenerateCodeGenArgs(const CodeGenOptions &Opts,
257 CodeGenOptions &getCodeGenOpts() { return *CodeGenOpts; } in getCodeGenOpts()
352 static bool ParseCodeGenArgs(CodeGenOptions &Opts, llvm::opt::ArgList &Args,
394 CodeGenOptions &getMutCodeGenOpts();
H A DUtils.h46 class CodeGenOptions; variable
53 const CodeGenOptions &CodeGenOpts);
/llvm-project/flang/lib/Frontend/
H A DCodeGenOptions.cpp19 CodeGenOptions::CodeGenOptions() { in CodeGenOptions() function in Fortran::frontend::CodeGenOptions
H A DCompilerInvocation.cpp17 #include "flang/Frontend/CodeGenOptions.h"
127 static bool parseDebugArgs(Fortran::frontend::CodeGenOptions &opts, in parseDebugArgs()
160 static bool parseVectorLibArg(Fortran::frontend::CodeGenOptions &opts, in parseVectorLibArg()
190 static CodeGenOptions::OptRemark in parseOptimizationRemark()
197 CodeGenOptions::OptRemark result; in parseOptimizationRemark()
204 result.Kind = CodeGenOptions::RemarkKind::RK_Enabled; in parseOptimizationRemark()
211 result.Kind = CodeGenOptions::RemarkKind::RK_Disabled; in parseOptimizationRemark()
217 result.Kind = CodeGenOptions::RemarkKind::RK_WithPattern; in parseOptimizationRemark()
225 return CodeGenOptions::OptRemark(); in parseOptimizationRemark()
232 static void parseCodeGenArgs(Fortran::frontend::CodeGenOptions in parseCodeGenArgs()
[all...]
H A DCMakeLists.txt7 CodeGenOptions.cpp
/llvm-project/flang/include/flang/Frontend/
H A DCompilerInvocation.h17 #include "flang/Frontend/CodeGenOptions.h"
85 Fortran::frontend::CodeGenOptions codeGenOpts;
163 CodeGenOptions &getCodeGenOpts() { return codeGenOpts; } in getLoweringOpts()
164 const CodeGenOptions &getCodeGenOpts() const { return codeGenOpts; } in getLoweringOpts()
H A DCodeGenOptions.h1 //===--- CodeGenOptions.h ---------------------------------------*- C++ -*-===//
9 // This file defines the CodeGenOptions interface, which holds the
19 #include "llvm/Frontend/Driver/CodeGenOptions.h"
32 /// Bitfields of CodeGenOptions, split out from CodeGenOptions to ensure
39 #include "flang/Frontend/CodeGenOptions.def"
44 #include "flang/Frontend/CodeGenOptions.def"
49 class CodeGenOptions : public CodeGenOptionsBase {
151 #include "flang/Frontend/CodeGenOptions.def"
153 CodeGenOptions();
[all...]
/llvm-project/clang/lib/Frontend/
H A DCompilerInvocation.cpp13 #include "clang/Basic/CodeGenOptions.h"
148 CodeGenOpts(std::make_shared<CodeGenOptions>()), in CompilerInvocationBase()
253 CodeGenOptions &CowCompilerInvocation::getMutCodeGenOpts() { in getMutCodeGenOpts()
598 CodeGenOptions &CodeGenOpts = Invocation.getCodeGenOpts(); in FixupInvocation()
1351 const CodeGenOptions::OptRemark &Remark) { in ParseOptimizationRemark()
1354 } else if (Remark.Kind == CodeGenOptions::RK_Enabled) { in ParseOptimizationRemark()
1356 } else if (Remark.Kind == CodeGenOptions::RK_Disabled) { in ParseOptimizationRemark()
1364 static CodeGenOptions::OptRemark
1367 CodeGenOptions::OptRemark Result; in parseDiagnosticLevelMask()
1389 Result.Kind = CodeGenOptions in parseSanitizerKinds()
[all...]
/llvm-project/clang/unittests/CodeGen/
H A DTestCompiler.h36 clang::CodeGenOptions CGO = clang::CodeGenOptions()) {
/llvm-project/llvm/lib/Frontend/Driver/
H A DCMakeLists.txt2 CodeGenOptions.cpp
/llvm-project/llvm/utils/gn/secondary/llvm/lib/Frontend/Driver/
H A DBUILD.gn9 sources = [ "CodeGenOptions.cpp" ]
/llvm-project/clang/lib/Driver/ToolChains/
H A DFlang.cpp13 #include "clang/Basic/CodeGenOptions.h"
894 CodeGenOptions::FramePointerKind FPKeepKind =
899 case CodeGenOptions::FramePointerKind::None:
902 case CodeGenOptions::FramePointerKind::Reserved:
905 case CodeGenOptions::FramePointerKind::NonLeaf:
908 case CodeGenOptions::FramePointerKind::All:

123