Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DBackendUtil.cpp51 const CodeGenOptions &CodeGenOpts; member in __anona74313260111::EmitAssemblyHelper
120 : Diags(_Diags), CodeGenOpts(CGOpts), TargetOpts(TOpts), LangOpts(LOpts), in EmitAssemblyHelper()
129 if (CodeGenOpts.DisableFree) in ~EmitAssemblyHelper()
235 const CodeGenOptions &CodeGenOpts) { in createTLII() argument
237 if (!CodeGenOpts.SimplifyLibCalls) in createTLII()
240 switch (CodeGenOpts.getVecLib()) { in createTLII()
262 unsigned OptLevel = CodeGenOpts.OptimizationLevel; in CreatePasses()
263 CodeGenOptions::InliningMethod Inlining = CodeGenOpts.getInlining(); in CreatePasses()
267 if (CodeGenOpts.DisableLLVMOpts) { in CreatePasses()
269 Inlining = CodeGenOpts.NoInlining; in CreatePasses()
[all …]
DModuleBuilder.cpp35 const CodeGenOptions CodeGenOpts; // Intentionally copied in. member in __anon8d4184ed0111::CodeGeneratorImpl
62 : Diags(diags), Ctx(nullptr), CodeGenOpts(CGO), HandlingTopLevelDecls(0), in CodeGeneratorImpl()
100 Builder.reset(new CodeGen::CodeGenModule(Context, CodeGenOpts, *M, *TD, in Initialize()
103 for (size_t i = 0, e = CodeGenOpts.DependentLibraries.size(); i < e; ++i) in Initialize()
104 HandleDependentLibrary(CodeGenOpts.DependentLibraries[i]); in Initialize()
DCodeGenAction.cpp46 const CodeGenOptions &CodeGenOpts; member in clang::BackendConsumer
66 : Diags(_Diags), Action(action), CodeGenOpts(compopts), in BackendConsumer()
174 EmitBackendOutput(Diags, CodeGenOpts, TargetOpts, LangOpts, in HandleTranslationUnit()
466 if (CodeGenOpts.OptimizationRemarkPattern && in OptimizationRemarkHandler()
467 CodeGenOpts.OptimizationRemarkPattern->match(D.getPassName())) in OptimizationRemarkHandler()
476 if (CodeGenOpts.OptimizationRemarkMissedPattern && in OptimizationRemarkHandler()
477 CodeGenOpts.OptimizationRemarkMissedPattern->match(D.getPassName())) in OptimizationRemarkHandler()
487 if (CodeGenOpts.OptimizationRemarkAnalysisPattern && in OptimizationRemarkHandler()
488 CodeGenOpts.OptimizationRemarkAnalysisPattern->match(D.getPassName())) in OptimizationRemarkHandler()
DCodeGenTBAA.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()
DCodeGenModule.cpp81 : Context(C), LangOpts(C.getLangOpts()), CodeGenOpts(CGO), TheModule(M), in CodeGenModule()
126 (!CodeGenOpts.RelaxedAliasing && CodeGenOpts.OptimizationLevel > 0)) in CodeGenModule()
127 TBAA = new CodeGenTBAA(Context, VMContext, CodeGenOpts, getLangOpts(), in CodeGenModule()
132 if (CodeGenOpts.getDebugInfo() != CodeGenOptions::NoDebugInfo || in CodeGenModule()
133 CodeGenOpts.EmitGcovArcs || in CodeGenModule()
134 CodeGenOpts.EmitGcovNotes) in CodeGenModule()
143 if (!CodeGenOpts.InstrProfileInput.empty()) { in CodeGenModule()
145 llvm::IndexedInstrProfReader::create(CodeGenOpts.InstrProfileInput); in CodeGenModule()
156 if (CodeGenOpts.CoverageMapping) in CodeGenModule()
364 if (CodeGenOpts.Autolink && in Release()
[all …]
DCodeGenTBAA.h50 const CodeGenOptions &CodeGenOpts; variable
DCGCall.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()
1457 if (!CodeGenOpts.DisableFPElim) { in ConstructAttributeList()
1459 } else if (CodeGenOpts.OmitLeafFramePointer) { in ConstructAttributeList()
1468 llvm::toStringRef(CodeGenOpts.LessPreciseFPMAD)); in ConstructAttributeList()
1470 llvm::toStringRef(CodeGenOpts.NoInfsFPMath)); in ConstructAttributeList()
[all …]
DCodeGenModule.h281 const CodeGenOptions &CodeGenOpts; variable
491 CodeGenModule(ASTContext &C, const CodeGenOptions &CodeGenOpts,
603 const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; } in getCodeGenOpts()
DTargetInfo.cpp7021 else if (CodeGenOpts.FloatABI == "hard" || in getTargetCodeGenInfo()
7022 (CodeGenOpts.FloatABI != "soft" && in getTargetCodeGenInfo()
7069 X86_32TargetCodeGenInfo::isStructReturnInRegABI(Triple, CodeGenOpts); in getTargetCodeGenInfo()
7077 CodeGenOpts.NumRegisterParameters)); in getTargetCodeGenInfo()
7083 CodeGenOpts.NumRegisterParameters)); in getTargetCodeGenInfo()
/external/clang/include/clang/Frontend/
DCompilerInvocation.h109 CodeGenOptions CodeGenOpts; variable
177 CodeGenOptions &getCodeGenOpts() { return CodeGenOpts; } in getCodeGenOpts()
179 return CodeGenOpts; in getCodeGenOpts()
DCompilerInstance.h578 const CodeGenOptions *CodeGenOpts = nullptr);
/external/clang/lib/Frontend/
DCompilerInstance.cpp135 const CodeGenOptions *CodeGenOpts, in SetUpDiagnosticLog() argument
159 if (CodeGenOpts) in SetUpDiagnosticLog()
160 Logger->setDwarfDebugFlags(CodeGenOpts->DwarfDebugFlags); in SetUpDiagnosticLog()
191 const CodeGenOptions *CodeGenOpts) { in createDiagnostics() argument
209 SetUpDiagnosticLog(Opts, CodeGenOpts, *Diags); in createDiagnostics()