Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDBackendUtil.cpp51 const CodeGenOptions &CodeGenOpts; member in __anonb2d6b1fd0111::EmitAssemblyHelper
120 : Diags(_Diags), CodeGenOpts(CGOpts), TargetOpts(TOpts), LangOpts(LOpts), in EmitAssemblyHelper()
129 if (CodeGenOpts.DisableFree) in ~EmitAssemblyHelper()
248 const CodeGenOptions &CodeGenOpts) { in createTLII() argument
250 if (!CodeGenOpts.SimplifyLibCalls) in createTLII()
253 switch (CodeGenOpts.getVecLib()) { in createTLII()
275 unsigned OptLevel = CodeGenOpts.OptimizationLevel; in CreatePasses()
276 CodeGenOptions::InliningMethod Inlining = CodeGenOpts.getInlining(); in CreatePasses()
280 if (CodeGenOpts.DisableLLVMOpts) { in CreatePasses()
282 Inlining = CodeGenOpts.NoInlining; in CreatePasses()
[all …]
HDObjectFilePCHContainerOperations.cpp44 CodeGenOptions CodeGenOpts; member in __anon3c9de0d00111::PCHContainerGenerator
65 CodeGenOpts.CodeModel = "default"; in PCHContainerGenerator()
66 CodeGenOpts.ThreadModel = "single"; in PCHContainerGenerator()
67 CodeGenOpts.setDebugInfo(CodeGenOptions::FullDebugInfo); in PCHContainerGenerator()
68 CodeGenOpts.SplitDwarfFile = OutputFileName; in PCHContainerGenerator()
79 PreprocessorOpts, CodeGenOpts, *M, in Initialize()
135 clang::EmitBackendOutput(Diags, CodeGenOpts, TargetOpts, LangOpts, in HandleTranslationUnit()
143 clang::EmitBackendOutput(Diags, CodeGenOpts, TargetOpts, LangOpts, in HandleTranslationUnit()
HDModuleBuilder.cpp37 const CodeGenOptions CodeGenOpts; // Intentionally copied in. member in __anoncc3835840111::CodeGeneratorImpl
67 PreprocessorOpts(PPO), CodeGenOpts(CGO), HandlingTopLevelDecls(0), in CodeGeneratorImpl()
108 CodeGenOpts, *M, *TD, in Initialize()
111 for (size_t i = 0, e = CodeGenOpts.DependentLibraries.size(); i < e; ++i) in Initialize()
112 HandleDependentLibrary(CodeGenOpts.DependentLibraries[i]); in Initialize()
HDCodeGenAction.cpp46 const CodeGenOptions &CodeGenOpts; member in clang::BackendConsumer
62 const CodeGenOptions &CodeGenOpts, in BackendConsumer() argument
68 : Diags(Diags), Action(Action), CodeGenOpts(CodeGenOpts), in BackendConsumer()
72 CodeGenOpts, C, CoverageInfo)), in BackendConsumer()
182 EmitBackendOutput(Diags, CodeGenOpts, TargetOpts, LangOpts, in HandleTranslationUnit()
477 if (CodeGenOpts.OptimizationRemarkPattern && in OptimizationRemarkHandler()
478 CodeGenOpts.OptimizationRemarkPattern->match(D.getPassName())) in OptimizationRemarkHandler()
487 if (CodeGenOpts.OptimizationRemarkMissedPattern && in OptimizationRemarkHandler()
488 CodeGenOpts.OptimizationRemarkMissedPattern->match(D.getPassName())) in OptimizationRemarkHandler()
498 if (CodeGenOpts.OptimizationRemarkAnalysisPattern && in OptimizationRemarkHandler()
[all …]
HDCodeGenTBAA.cpp35 : Context(Ctx), CodeGenOpts(CGO), Features(Features), MContext(MContext), in CodeGenTBAA()
90 if (CodeGenOpts.OptimizationLevel == 0 || CodeGenOpts.RelaxedAliasing) in getTBAAInfo()
293 if (!CodeGenOpts.StructPathTBAA) in getTBAAStructTagInfo()
HDCodeGenModule.cpp84 PreprocessorOpts(PPO), CodeGenOpts(CGO), TheModule(M), Diags(diags), in CodeGenModule()
129 (!CodeGenOpts.RelaxedAliasing && CodeGenOpts.OptimizationLevel > 0)) in CodeGenModule()
130 TBAA = new CodeGenTBAA(Context, VMContext, CodeGenOpts, getLangOpts(), in CodeGenModule()
135 if (CodeGenOpts.getDebugInfo() != CodeGenOptions::NoDebugInfo || in CodeGenModule()
136 CodeGenOpts.EmitGcovArcs || in CodeGenModule()
137 CodeGenOpts.EmitGcovNotes) in CodeGenModule()
146 if (!CodeGenOpts.InstrProfileInput.empty()) { in CodeGenModule()
148 llvm::IndexedInstrProfReader::create(CodeGenOpts.InstrProfileInput); in CodeGenModule()
152 getDiags().Report(DiagID) << CodeGenOpts.InstrProfileInput in CodeGenModule()
160 if (CodeGenOpts.CoverageMapping) in CodeGenModule()
[all …]
HDCGCall.cpp1437 if (CodeGenOpts.OptimizeSize) in ConstructAttributeList()
1439 if (CodeGenOpts.OptimizeSize == 2) in ConstructAttributeList()
1443 if (CodeGenOpts.DisableRedZone) in ConstructAttributeList()
1445 if (CodeGenOpts.NoImplicitFloat) in ConstructAttributeList()
1447 if (CodeGenOpts.EnableSegmentedStacks && in ConstructAttributeList()
1453 if (!CodeGenOpts.SimplifyLibCalls) in ConstructAttributeList()
1455 if (!CodeGenOpts.TrapFuncName.empty()) in ConstructAttributeList()
1456 FuncAttrs.addAttribute("trap-func-name", CodeGenOpts.TrapFuncName); in ConstructAttributeList()
1459 if (!CodeGenOpts.DisableFPElim) { in ConstructAttributeList()
1461 } else if (CodeGenOpts.OmitLeafFramePointer) { in ConstructAttributeList()
[all …]
HDCodeGenTBAA.h50 const CodeGenOptions &CodeGenOpts; variable
HDCodeGenModule.h285 const CodeGenOptions &CodeGenOpts; variable
498 const CodeGenOptions &CodeGenOpts,
614 const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; } in getCodeGenOpts()
HDTargetInfo.cpp7155 else if (CodeGenOpts.FloatABI == "hard" || in getTargetCodeGenInfo()
7156 (CodeGenOpts.FloatABI != "soft" && in getTargetCodeGenInfo()
7206 X86_32TargetCodeGenInfo::isStructReturnInRegABI(Triple, CodeGenOpts); in getTargetCodeGenInfo()
7212 IsWin32FloatStructABI, CodeGenOpts.NumRegisterParameters)); in getTargetCodeGenInfo()
7216 IsWin32FloatStructABI, CodeGenOpts.NumRegisterParameters)); in getTargetCodeGenInfo()
/NextBSD/contrib/llvm/tools/clang/include/clang/Frontend/
HDCompilerInvocation.h109 CodeGenOptions CodeGenOpts; variable
177 CodeGenOptions &getCodeGenOpts() { return CodeGenOpts; } in getCodeGenOpts()
179 return CodeGenOpts; in getCodeGenOpts()
HDCompilerInstance.h622 const CodeGenOptions *CodeGenOpts = nullptr);
/NextBSD/contrib/llvm/tools/clang/lib/Frontend/
HDCompilerInstance.cpp136 const CodeGenOptions *CodeGenOpts, in SetUpDiagnosticLog() argument
160 if (CodeGenOpts) in SetUpDiagnosticLog()
161 Logger->setDwarfDebugFlags(CodeGenOpts->DwarfDebugFlags); in SetUpDiagnosticLog()
192 const CodeGenOptions *CodeGenOpts) { in createDiagnostics() argument
210 SetUpDiagnosticLog(Opts, CodeGenOpts, *Diags); in createDiagnostics()