/external/clang/lib/CodeGen/ |
D | BackendUtil.cpp | 53 const CodeGenOptions &CodeGenOpts; member in __anona74313260111::EmitAssemblyHelper 122 : Diags(_Diags), CodeGenOpts(CGOpts), TargetOpts(TOpts), LangOpts(LOpts), in EmitAssemblyHelper() 131 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 if (CodeGenOpts.DisableLLVMPasses) in CreatePasses() 278 unsigned OptLevel = CodeGenOpts.OptimizationLevel; in CreatePasses() 279 CodeGenOptions::InliningMethod Inlining = CodeGenOpts.getInlining(); in CreatePasses() 283 if (CodeGenOpts.DisableLLVMOpts) { in CreatePasses() [all …]
|
D | ObjectFilePCHContainerOperations.cpp | 49 CodeGenOptions CodeGenOpts; member in __anond268d5990111::PCHContainerGenerator 141 CodeGenOpts.CodeModel = "default"; in PCHContainerGenerator() 142 CodeGenOpts.ThreadModel = "single"; in PCHContainerGenerator() 143 CodeGenOpts.DebugTypeExtRefs = true; in PCHContainerGenerator() 144 CodeGenOpts.setDebugInfo(CodeGenOptions::FullDebugInfo); in PCHContainerGenerator() 157 *Ctx, HeaderSearchOpts, PreprocessorOpts, CodeGenOpts, *M, Diags)); in Initialize() 246 clang::EmitBackendOutput(Diags, CodeGenOpts, TargetOpts, LangOpts, in HandleTranslationUnit() 253 clang::EmitBackendOutput(Diags, CodeGenOpts, TargetOpts, LangOpts, in HandleTranslationUnit()
|
D | CodeGenAction.cpp | 48 const CodeGenOptions &CodeGenOpts; member in clang::BackendConsumer 70 const PreprocessorOptions &PPOpts, const CodeGenOptions &CodeGenOpts, in BackendConsumer() argument 76 : Diags(Diags), Action(Action), CodeGenOpts(CodeGenOpts), in BackendConsumer() 80 CodeGenOpts, C, CoverageInfo)) { in BackendConsumer() 191 EmitBackendOutput(Diags, CodeGenOpts, TargetOpts, LangOpts, in HandleTranslationUnit() 487 if (CodeGenOpts.OptimizationRemarkPattern && in OptimizationRemarkHandler() 488 CodeGenOpts.OptimizationRemarkPattern->match(D.getPassName())) in OptimizationRemarkHandler() 497 if (CodeGenOpts.OptimizationRemarkMissedPattern && in OptimizationRemarkHandler() 498 CodeGenOpts.OptimizationRemarkMissedPattern->match(D.getPassName())) in OptimizationRemarkHandler() 510 (CodeGenOpts.OptimizationRemarkAnalysisPattern && in OptimizationRemarkHandler() [all …]
|
D | ModuleBuilder.cpp | 36 const CodeGenOptions CodeGenOpts; // Intentionally copied in. member in __anon8d4184ed0111::CodeGeneratorImpl 66 PreprocessorOpts(PPO), CodeGenOpts(CGO), HandlingTopLevelDecls(0), in CodeGeneratorImpl() 103 PreprocessorOpts, CodeGenOpts, in Initialize() 106 for (size_t i = 0, e = CodeGenOpts.DependentLibraries.size(); i < e; ++i) in Initialize() 107 HandleDependentLibrary(CodeGenOpts.DependentLibraries[i]); in Initialize()
|
D | CodeGenTBAA.cpp | 35 : Context(Ctx), CodeGenOpts(CGO), Features(Features), MContext(MContext), in CodeGenTBAA() 90 if (CodeGenOpts.OptimizationLevel == 0 || CodeGenOpts.RelaxedAliasing) in getTBAAInfo() 291 if (!CodeGenOpts.StructPathTBAA) in getTBAAStructTagInfo()
|
D | CodeGenModule.cpp | 87 PreprocessorOpts(PPO), CodeGenOpts(CGO), TheModule(M), Diags(diags), in CodeGenModule() 134 (!CodeGenOpts.RelaxedAliasing && CodeGenOpts.OptimizationLevel > 0)) in CodeGenModule() 135 TBAA = new CodeGenTBAA(Context, VMContext, CodeGenOpts, getLangOpts(), in CodeGenModule() 140 if (CodeGenOpts.getDebugInfo() != CodeGenOptions::NoDebugInfo || in CodeGenModule() 141 CodeGenOpts.EmitGcovArcs || in CodeGenModule() 142 CodeGenOpts.EmitGcovNotes) in CodeGenModule() 150 if (!CodeGenOpts.InstrProfileInput.empty()) { in CodeGenModule() 152 llvm::IndexedInstrProfReader::create(CodeGenOpts.InstrProfileInput); in CodeGenModule() 156 getDiags().Report(DiagID) << CodeGenOpts.InstrProfileInput in CodeGenModule() 164 if (CodeGenOpts.CoverageMapping) in CodeGenModule() [all …]
|
D | CGCall.cpp | 1497 if (CodeGenOpts.OptimizeSize) in ConstructAttributeList() 1499 if (CodeGenOpts.OptimizeSize == 2) in ConstructAttributeList() 1503 if (CodeGenOpts.DisableRedZone) in ConstructAttributeList() 1505 if (CodeGenOpts.NoImplicitFloat) in ConstructAttributeList() 1507 if (CodeGenOpts.EnableSegmentedStacks && in ConstructAttributeList() 1513 if (!CodeGenOpts.SimplifyLibCalls) in ConstructAttributeList() 1515 if (!CodeGenOpts.TrapFuncName.empty()) in ConstructAttributeList() 1516 FuncAttrs.addAttribute("trap-func-name", CodeGenOpts.TrapFuncName); in ConstructAttributeList() 1519 if (!CodeGenOpts.DisableFPElim) { in ConstructAttributeList() 1521 } else if (CodeGenOpts.OmitLeafFramePointer) { in ConstructAttributeList() [all …]
|
D | CodeGenTBAA.h | 50 const CodeGenOptions &CodeGenOpts; variable
|
D | CodeGenModule.h | 264 const CodeGenOptions &CodeGenOpts; variable 490 const CodeGenOptions &CodeGenOpts, llvm::Module &M, 600 const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; } in getCodeGenOpts()
|
D | CGVTables.cpp | 743 assert((def || CodeGenOpts.OptimizationLevel > 0) && in getVTableLinkage() 746 if (!def && CodeGenOpts.OptimizationLevel > 0) in getVTableLinkage()
|
D | TargetInfo.cpp | 7513 else if (CodeGenOpts.FloatABI == "hard" || in getTargetCodeGenInfo() 7514 (CodeGenOpts.FloatABI != "soft" && in getTargetCodeGenInfo() 7523 new PPC32TargetCodeGenInfo(Types, CodeGenOpts.FloatABI == "soft")); in getTargetCodeGenInfo() 7565 X86_32TargetCodeGenInfo::isStructReturnInRegABI(Triple, CodeGenOpts); in getTargetCodeGenInfo() 7571 IsWin32FloatStructABI, CodeGenOpts.NumRegisterParameters)); in getTargetCodeGenInfo() 7575 IsWin32FloatStructABI, CodeGenOpts.NumRegisterParameters, in getTargetCodeGenInfo() 7576 CodeGenOpts.FloatABI == "soft")); in getTargetCodeGenInfo()
|
/external/clang/include/clang/Frontend/ |
D | CompilerInvocation.h | 109 CodeGenOptions CodeGenOpts; variable 177 CodeGenOptions &getCodeGenOpts() { return CodeGenOpts; } in getCodeGenOpts() 179 return CodeGenOpts; in getCodeGenOpts()
|
D | CompilerInstance.h | 627 const CodeGenOptions *CodeGenOpts = nullptr);
|
/external/clang/lib/Frontend/ |
D | CompilerInstance.cpp | 143 const CodeGenOptions *CodeGenOpts, in SetUpDiagnosticLog() argument 166 if (CodeGenOpts) in SetUpDiagnosticLog() 167 Logger->setDwarfDebugFlags(CodeGenOpts->DwarfDebugFlags); in SetUpDiagnosticLog() 198 const CodeGenOptions *CodeGenOpts) { in createDiagnostics() argument 216 SetUpDiagnosticLog(Opts, CodeGenOpts, *Diags); in createDiagnostics()
|