reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/Basic/TargetInfo.h
   45 class CodeGenOptions;
tools/clang/include/clang/CodeGen/BackendUtil.h
   26   class CodeGenOptions;
tools/clang/include/clang/CodeGen/CodeGenABITypes.h
   42 class CodeGenOptions;
tools/clang/include/clang/CodeGen/ModuleBuilder.h
   26   class CodeGenOptions;
tools/clang/include/clang/Frontend/ASTConsumers.h
   23 class CodeGenOptions;
tools/clang/include/clang/Serialization/PCHContainerOperations.h
   25 class CodeGenOptions;
tools/clang/lib/CodeGen/ABIInfo.h
   26   class CodeGenOptions;
tools/clang/lib/CodeGen/CodeGenModule.h
   72 class CodeGenOptions;
tools/clang/lib/CodeGen/CodeGenTBAA.h
   25   class CodeGenOptions;
tools/clang/lib/CodeGen/CodeGenTypes.h
   36 class CodeGenOptions;
tools/lldb/include/lldb/Core/ClangForward.h
   29 class CodeGenOptions;

References

tools/clang/include/clang/Basic/TargetInfo.h
 1045   virtual void adjustTargetOptions(const CodeGenOptions &CGOpts,
tools/clang/include/clang/CodeGen/BackendUtil.h
   40                          const CodeGenOptions &CGOpts,
   46   void EmbedBitcode(llvm::Module *M, const CodeGenOptions &CGOpts,
tools/clang/include/clang/CodeGen/ModuleBuilder.h
   99                                  const CodeGenOptions &CGO,
tools/clang/include/clang/Frontend/CompilerInstance.h
  261   CodeGenOptions &getCodeGenOpts() {
  264   const CodeGenOptions &getCodeGenOpts() const {
  643                     const CodeGenOptions *CodeGenOpts = nullptr);
tools/clang/include/clang/Frontend/CompilerInvocation.h
  128   CodeGenOptions CodeGenOpts;
  196   CodeGenOptions &getCodeGenOpts() { return CodeGenOpts; }
  197   const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; }
tools/clang/lib/Basic/Targets/AMDGPU.cpp
  228 void AMDGPUTargetInfo::adjustTargetOptions(const CodeGenOptions &CGOpts,
tools/clang/lib/Basic/Targets/AMDGPU.h
  211   void adjustTargetOptions(const CodeGenOptions &CGOpts,
tools/clang/lib/CodeGen/ABIInfo.h
   68     const CodeGenOptions &getCodeGenOpts() const;
tools/clang/lib/CodeGen/BackendUtil.cpp
   86   const CodeGenOptions &CodeGenOpts;
  134                      const CodeGenOptions &CGOpts,
  160                             const CodeGenOptions &CGOpts,
  165   const CodeGenOptions &getCGOpts() const { return CGOpts; }
  170   const CodeGenOptions &CGOpts;
  201 getSancovOptsFromCGOpts(const CodeGenOptions &CGOpts) {
  224   const CodeGenOptions &CGOpts = BuilderWrapper.getCGOpts();
  233 static bool asanUseGlobalsGC(const Triple &T, const CodeGenOptions &CGOpts) {
  256   const CodeGenOptions &CGOpts = BuilderWrapper.getCGOpts();
  280   const CodeGenOptions &CGOpts = BuilderWrapper.getCGOpts();
  297   const CodeGenOptions &CGOpts = BuilderWrapper.getCGOpts();
  340                                          const CodeGenOptions &CodeGenOpts) {
  353   case CodeGenOptions::Accelerate:
  356   case CodeGenOptions::MASSV:
  359   case CodeGenOptions::SVML:
  368 static void addSymbolRewriterPass(const CodeGenOptions &Opts,
  379 static CodeGenOpt::Level getCGOptLevel(const CodeGenOptions &CodeGenOpts) {
  395 getCodeModel(const CodeGenOptions &CodeGenOpts) {
  422                               const CodeGenOptions &CodeGenOpts,
  510 static Optional<GCOVOptions> getGCOVOptions(const CodeGenOptions &CodeGenOpts) {
  531 getInstrProfOptions(const CodeGenOptions &CodeGenOpts,
  739 static void setCommandLineOpts(const CodeGenOptions &CodeGenOpts) {
  925 static PassBuilder::OptimizationLevel mapToLevel(const CodeGenOptions &Opts) {
  956                               const CodeGenOptions &CodeGenOpts) {
 1364                               const CodeGenOptions &CGOpts,
 1494                               const CodeGenOptions &CGOpts,
 1594 void clang::EmbedBitcode(llvm::Module *M, const CodeGenOptions &CGOpts,
 1596   if (CGOpts.getEmbedBitcode() == CodeGenOptions::Embed_Off)
 1620   if (CGOpts.getEmbedBitcode() != CodeGenOptions::Embed_Marker) {
 1653   if (CGOpts.getEmbedBitcode() != CodeGenOptions::Embed_Bitcode) {
tools/clang/lib/CodeGen/CGCall.cpp
 1718     case CodeGenOptions::FramePointerKind::None:
 1721     case CodeGenOptions::FramePointerKind::NonLeaf:
 1724     case CodeGenOptions::FramePointerKind::All:
tools/clang/lib/CodeGen/CGDeclCXX.cpp
  394   if (RASignKind != CodeGenOptions::SignReturnAddressScope::None) {
  396                   RASignKind == CodeGenOptions::SignReturnAddressScope::All
  401                   RASignKey == CodeGenOptions::SignReturnAddressKeyValue::AKey
tools/clang/lib/CodeGen/CGObjCGNU.cpp
 2693     case CodeGenOptions::Legacy:
 2696     case CodeGenOptions::Mixed:
 2697     case CodeGenOptions::NonLegacy:
tools/clang/lib/CodeGen/CGObjCMac.cpp
 6131   case CodeGenOptions::Legacy:
 6133   case CodeGenOptions::NonLegacy:
 6135   case CodeGenOptions::Mixed:
tools/clang/lib/CodeGen/CodeGenAction.cpp
   56     ClangDiagnosticHandler(const CodeGenOptions &CGOpts, BackendConsumer *BCon)
   81     const CodeGenOptions &CodeGenOpts;
   92     const CodeGenOptions &CodeGenOpts;
  118                     const CodeGenOptions &CodeGenOpts,
  298           CodeGenOpts.getProfileUse() != CodeGenOptions::ProfileNone)
  902     for (const CodeGenOptions::BitcodeFileToLink &F :
tools/clang/lib/CodeGen/CodeGenFunction.cpp
   45 static bool shouldEmitLifetimeMarkers(const CodeGenOptions &CGOpts,
tools/clang/lib/CodeGen/CodeGenModule.cpp
   93                              const CodeGenOptions &CGO, llvm::Module &M,
  816   const auto &CGOpts = CGM.getCodeGenOpts();
  907     CodeGenOptions::TLSModel M) {
  909   case CodeGenOptions::GeneralDynamicTLSModel:
  911   case CodeGenOptions::LocalDynamicTLSModel:
  913   case CodeGenOptions::InitialExecTLSModel:
  915   case CodeGenOptions::LocalExecTLSModel:
 1504         CodeGenOpts.getInlining() == CodeGenOptions::OnlyAlwaysInlining)
 1548   } else if (CodeGenOpts.getInlining() == CodeGenOptions::OnlyAlwaysInlining) {
 1572                      CodeGenOptions::OnlyHintInlining &&
tools/clang/lib/CodeGen/CodeGenModule.h
  300   const CodeGenOptions &CodeGenOpts;
  553                 const CodeGenOptions &CodeGenOpts, llvm::Module &M,
  673   const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; }
tools/clang/lib/CodeGen/CodeGenTBAA.cpp
   33                          const CodeGenOptions &CGO,
tools/clang/lib/CodeGen/CodeGenTBAA.h
  120   const CodeGenOptions &CodeGenOpts;
  171   CodeGenTBAA(ASTContext &Ctx, llvm::Module &M, const CodeGenOptions &CGO,
tools/clang/lib/CodeGen/CodeGenTypes.cpp
   46 const CodeGenOptions &CodeGenTypes::getCodeGenOpts() const {
tools/clang/lib/CodeGen/CodeGenTypes.h
  121   const CodeGenOptions &getCodeGenOpts() const;
tools/clang/lib/CodeGen/ModuleBuilder.cpp
   37     const CodeGenOptions CodeGenOpts;  // Intentionally copied in.
   69                                             const CodeGenOptions &CGO) {
   78                       const PreprocessorOptions &PPO, const CodeGenOptions &CGO,
  338     const PreprocessorOptions &PreprocessorOpts, const CodeGenOptions &CGO,
tools/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
   50   CodeGenOptions CodeGenOpts;
tools/clang/lib/CodeGen/TargetInfo.cpp
  205 const CodeGenOptions &ABIInfo::getCodeGenOpts() const {
 1111       const llvm::Triple &Triple, const CodeGenOptions &Opts);
 1954     const llvm::Triple &Triple, const CodeGenOptions &Opts) {
 1958   case CodeGenOptions::SRCK_Default:
 1960   case CodeGenOptions::SRCK_OnStack:  // -fpcc-struct-return
 1962   case CodeGenOptions::SRCK_InRegs:  // -freg-struct-return
 5061     if (Kind != CodeGenOptions::SignReturnAddressScope::None) {
 5063                     Kind == CodeGenOptions::SignReturnAddressScope::All
 5069                     Key == CodeGenOptions::SignReturnAddressKeyValue::AKey
tools/clang/lib/Driver/ToolChains/Clang.cpp
  492 static CodeGenOptions::FramePointerKind
  515       return CodeGenOptions::FramePointerKind::NonLeaf;
  516     return CodeGenOptions::FramePointerKind::All;
  518   return CodeGenOptions::FramePointerKind::None;
 3946   CodeGenOptions::FramePointerKind FPKeepKind =
 3950   case CodeGenOptions::FramePointerKind::None:
 3953   case CodeGenOptions::FramePointerKind::NonLeaf:
 3956   case CodeGenOptions::FramePointerKind::All:
 5561     if (FPKeepKind == CodeGenOptions::FramePointerKind::None)
tools/clang/lib/Frontend/CompilerInstance.cpp
  219                                const CodeGenOptions *CodeGenOpts,
  278                                     const CodeGenOptions *CodeGenOpts) {
tools/clang/lib/Frontend/CompilerInvocation.cpp
  625 static void setPGOInstrumentor(CodeGenOptions &Opts, ArgList &Args,
  632                    .Case("none", CodeGenOptions::ProfileNone)
  633                    .Case("clang", CodeGenOptions::ProfileClangInstr)
  634                    .Case("llvm", CodeGenOptions::ProfileIRInstr)
  635                    .Case("csllvm", CodeGenOptions::ProfileCSIRInstr)
  647 static void setPGOUseInstrumentor(CodeGenOptions &Opts,
  653     Opts.setProfileUse(CodeGenOptions::ProfileClangInstr);
  660       Opts.setProfileUse(CodeGenOptions::ProfileCSIRInstr);
  662       Opts.setProfileUse(CodeGenOptions::ProfileIRInstr);
  664     Opts.setProfileUse(CodeGenOptions::ProfileClangInstr);
  667 static bool ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK,
  689                        ? CodeGenOptions::OnlyAlwaysInlining
  690                        : CodeGenOptions::NormalInlining);
  699         Opts.setInlining(CodeGenOptions::NormalInlining);
  701         Opts.setInlining(CodeGenOptions::OnlyHintInlining);
  703         Opts.setInlining(CodeGenOptions::OnlyAlwaysInlining);
  718       Opts.setVecLib(CodeGenOptions::Accelerate);
  720       Opts.setVecLib(CodeGenOptions::MASSV);
  722       Opts.setVecLib(CodeGenOptions::SVML);
  724       Opts.setVecLib(CodeGenOptions::NoLibrary);
  864     CodeGenOptions::FramePointerKind FP;
  868       FP = CodeGenOptions::FramePointerKind::None;
  870       FP = CodeGenOptions::FramePointerKind::NonLeaf;
  872       FP = CodeGenOptions::FramePointerKind::All;
  885     Opts.setFramePointer(CodeGenOptions::FramePointerKind::All);
 1039         .Case("off", CodeGenOptions::Embed_Off)
 1040         .Case("all", CodeGenOptions::Embed_All)
 1041         .Case("bitcode", CodeGenOptions::Embed_Bitcode)
 1042         .Case("marker", CodeGenOptions::Embed_Marker)
 1054   if (Opts.getEmbedBitcode() == CodeGenOptions::Embed_All) {
 1138     CodeGenOptions::BitcodeFileToLink F;
 1222       .Case("legacy", CodeGenOptions::Legacy)
 1223       .Case("non-legacy", CodeGenOptions::NonLegacy)
 1224       .Case("mixed", CodeGenOptions::Mixed)
 1249         .Case("global-dynamic", CodeGenOptions::GeneralDynamicTLSModel)
 1250         .Case("local-dynamic", CodeGenOptions::LocalDynamicTLSModel)
 1251         .Case("initial-exec", CodeGenOptions::InitialExecTLSModel)
 1252         .Case("local-exec", CodeGenOptions::LocalExecTLSModel)
 1276       Opts.setStructReturnConvention(CodeGenOptions::SRCK_OnStack);
 1279       Opts.setStructReturnConvention(CodeGenOptions::SRCK_InRegs);
 1323       (Opts.getProfileUse() != CodeGenOptions::ProfileNone);
 1375       Opts.setSignReturnAddress(CodeGenOptions::SignReturnAddressScope::None);
 1377       Opts.setSignReturnAddress(CodeGenOptions::SignReturnAddressScope::All);
 1380           CodeGenOptions::SignReturnAddressScope::NonLeaf);
 1390               CodeGenOptions::SignReturnAddressKeyValue::AKey);
 1393               CodeGenOptions::SignReturnAddressKeyValue::BKey);
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
  551                                     CodeGenOptions::FramePointerKind::All);
usr/include/c++/7.4.0/bits/move.h
   72     constexpr _Tp&&
   83     constexpr _Tp&&
usr/include/c++/7.4.0/bits/unique_ptr.h
  824     make_unique(_Args&&... __args)