/external/clang/lib/CodeGen/ |
D | BackendUtil.cpp | 57 const CodeGenOptions &CodeGenOpts; member in __anon1dda7daf0111::EmitAssemblyHelper 127 : Diags(_Diags), CodeGenOpts(CGOpts), TargetOpts(TOpts), LangOpts(LOpts), in EmitAssemblyHelper() 136 if (CodeGenOpts.DisableFree) in ~EmitAssemblyHelper() 281 const CodeGenOptions &CodeGenOpts) { in createTLII() argument 283 if (!CodeGenOpts.SimplifyLibCalls) in createTLII() 288 for (auto &FuncName : CodeGenOpts.getNoBuiltinFuncs()) in createTLII() 293 switch (CodeGenOpts.getVecLib()) { in createTLII() 315 if (CodeGenOpts.DisableLLVMPasses) in CreatePasses() 318 unsigned OptLevel = CodeGenOpts.OptimizationLevel; in CreatePasses() 319 CodeGenOptions::InliningMethod Inlining = CodeGenOpts.getInlining(); in CreatePasses() [all …]
|
D | ObjectFilePCHContainerOperations.cpp | 52 CodeGenOptions CodeGenOpts; member in __anonc27a6fc20111::PCHContainerGenerator 152 CodeGenOpts.CodeModel = "default"; in PCHContainerGenerator() 153 CodeGenOpts.ThreadModel = "single"; in PCHContainerGenerator() 154 CodeGenOpts.DebugTypeExtRefs = true; in PCHContainerGenerator() 155 CodeGenOpts.setDebugInfo(codegenoptions::FullDebugInfo); in PCHContainerGenerator() 156 CodeGenOpts.setDebuggerTuning(CI.getCodeGenOpts().getDebuggerTuning()); in PCHContainerGenerator() 169 *Ctx, HeaderSearchOpts, PreprocessorOpts, CodeGenOpts, *M, Diags)); in Initialize() 285 clang::EmitBackendOutput(Diags, CodeGenOpts, TargetOpts, LangOpts, in HandleTranslationUnit() 292 clang::EmitBackendOutput(Diags, CodeGenOpts, TargetOpts, LangOpts, in HandleTranslationUnit()
|
D | CodeGenAction.cpp | 46 const CodeGenOptions &CodeGenOpts; member in clang::BackendConsumer 67 const PreprocessorOptions &PPOpts, const CodeGenOptions &CodeGenOpts, in BackendConsumer() argument 73 : Diags(Diags), Action(Action), CodeGenOpts(CodeGenOpts), in BackendConsumer() 77 CodeGenOpts, C, CoverageInfo)) { in BackendConsumer() 176 EmbedBitcode(getModule(), CodeGenOpts, llvm::MemoryBufferRef()); in HandleTranslationUnit() 178 EmitBackendOutput(Diags, CodeGenOpts, TargetOpts, LangOpts, in HandleTranslationUnit() 516 if (CodeGenOpts.OptimizationRemarkPattern && in OptimizationRemarkHandler() 517 CodeGenOpts.OptimizationRemarkPattern->match(D.getPassName())) in OptimizationRemarkHandler() 526 if (CodeGenOpts.OptimizationRemarkMissedPattern && in OptimizationRemarkHandler() 527 CodeGenOpts.OptimizationRemarkMissedPattern->match(D.getPassName())) in OptimizationRemarkHandler() [all …]
|
D | ModuleBuilder.cpp | 38 const CodeGenOptions CodeGenOpts; // Intentionally copied in. member in __anon075db5b60111::CodeGeneratorImpl 76 PreprocessorOpts(PPO), CodeGenOpts(CGO), HandlingTopLevelDecls(0), in CodeGeneratorImpl() 124 PreprocessorOpts, CodeGenOpts, in Initialize() 127 for (auto &&Lib : CodeGenOpts.DependentLibraries) in Initialize() 129 for (auto &&Opt : CodeGenOpts.LinkerOptions) in Initialize()
|
D | CodeGenTBAA.cpp | 35 : Context(Ctx), CodeGenOpts(CGO), Features(Features), MContext(MContext), in CodeGenTBAA() 94 if (CodeGenOpts.OptimizationLevel == 0 || CodeGenOpts.RelaxedAliasing) in getTBAAInfo() 295 if (!CodeGenOpts.StructPathTBAA) in getTBAAStructTagInfo()
|
D | CodeGenModule.cpp | 88 PreprocessorOpts(PPO), CodeGenOpts(CGO), TheModule(M), Diags(diags), in CodeGenModule() 126 (!CodeGenOpts.RelaxedAliasing && CodeGenOpts.OptimizationLevel > 0)) in CodeGenModule() 127 TBAA.reset(new CodeGenTBAA(Context, VMContext, CodeGenOpts, getLangOpts(), in CodeGenModule() 132 if (CodeGenOpts.getDebugInfo() != codegenoptions::NoDebugInfo || in CodeGenModule() 133 CodeGenOpts.EmitGcovArcs || CodeGenOpts.EmitGcovNotes) in CodeGenModule() 141 if (CodeGenOpts.hasProfileClangUse()) { in CodeGenModule() 143 CodeGenOpts.ProfileInstrumentUsePath); in CodeGenModule() 148 getDiags().Report(DiagID) << CodeGenOpts.ProfileInstrumentUsePath in CodeGenModule() 157 if (CodeGenOpts.CoverageMapping) in CodeGenModule() 407 if (CodeGenOpts.SanitizeCfiCrossDso) in Release() [all …]
|
D | CGCall.cpp | 1683 if (CodeGenOpts.OptimizeSize) in ConstructAttributeList() 1685 if (CodeGenOpts.OptimizeSize == 2) in ConstructAttributeList() 1689 if (CodeGenOpts.DisableRedZone) in ConstructAttributeList() 1691 if (CodeGenOpts.NoImplicitFloat) in ConstructAttributeList() 1693 if (CodeGenOpts.EnableSegmentedStacks && in ConstructAttributeList() 1699 if (!CodeGenOpts.SimplifyLibCalls || in ConstructAttributeList() 1700 CodeGenOpts.isNoBuiltinFunc(Name.data())) in ConstructAttributeList() 1702 if (!CodeGenOpts.TrapFuncName.empty()) in ConstructAttributeList() 1703 FuncAttrs.addAttribute("trap-func-name", CodeGenOpts.TrapFuncName); in ConstructAttributeList() 1706 if (!CodeGenOpts.DisableFPElim) { in ConstructAttributeList() [all …]
|
D | CodeGenTBAA.h | 47 const CodeGenOptions &CodeGenOpts; variable
|
D | CodeGenModule.h | 269 const CodeGenOptions &CodeGenOpts; variable 496 const CodeGenOptions &CodeGenOpts, llvm::Module &M, 606 const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; } in getCodeGenOpts()
|
D | CGVTables.cpp | 744 assert((def || CodeGenOpts.OptimizationLevel > 0) && in getVTableLinkage() 747 if (!def && CodeGenOpts.OptimizationLevel > 0) in getVTableLinkage()
|
D | CodeGenFunction.cpp | 715 const CodeGenOptions& CodeGenOpts = CGM.getCodeGenOpts(); in StartFunction() local 716 if (!CodeGenOpts.NoInline) { in StartFunction() 722 if (CodeGenOpts.getInlining() == CodeGenOptions::OnlyHintInlining && in StartFunction()
|
D | TargetInfo.cpp | 7997 else if (CodeGenOpts.FloatABI == "hard" || in getTargetCodeGenInfo() 7998 (CodeGenOpts.FloatABI != "soft" && in getTargetCodeGenInfo() 8009 new PPC32TargetCodeGenInfo(Types, CodeGenOpts.FloatABI == "soft")); in getTargetCodeGenInfo() 8048 X86_32TargetCodeGenInfo::isStructReturnInRegABI(Triple, CodeGenOpts); in getTargetCodeGenInfo() 8054 IsWin32FloatStructABI, CodeGenOpts.NumRegisterParameters)); in getTargetCodeGenInfo() 8058 IsWin32FloatStructABI, CodeGenOpts.NumRegisterParameters, in getTargetCodeGenInfo() 8059 CodeGenOpts.FloatABI == "soft")); in getTargetCodeGenInfo()
|
/external/clang/include/clang/Frontend/ |
D | CompilerInvocation.h | 110 CodeGenOptions CodeGenOpts; variable 181 CodeGenOptions &getCodeGenOpts() { return CodeGenOpts; } in getCodeGenOpts() 183 return CodeGenOpts; in getCodeGenOpts()
|
D | CompilerInstance.h | 627 const CodeGenOptions *CodeGenOpts = nullptr);
|
/external/clang/lib/Frontend/ |
D | CompilerInstance.cpp | 145 const CodeGenOptions *CodeGenOpts, in SetUpDiagnosticLog() argument 168 if (CodeGenOpts) in SetUpDiagnosticLog() 169 Logger->setDwarfDebugFlags(CodeGenOpts->DwarfDebugFlags); in SetUpDiagnosticLog() 200 const CodeGenOptions *CodeGenOpts) { in createDiagnostics() argument 218 SetUpDiagnosticLog(Opts, CodeGenOpts, *Diags); in createDiagnostics()
|