Home
last modified time | relevance | path

Searched refs:getCodeGenOpts (Results 1 – 25 of 29) sorted by relevance

12

/external/clang/include/clang/Frontend/
DCompilerInvocation.h177 CodeGenOptions &getCodeGenOpts() { return CodeGenOpts; } in getCodeGenOpts() function
178 const CodeGenOptions &getCodeGenOpts() const { in getCodeGenOpts() function
DCompilerInstance.h228 CodeGenOptions &getCodeGenOpts() { in getCodeGenOpts() function
229 return Invocation->getCodeGenOpts(); in getCodeGenOpts()
231 const CodeGenOptions &getCodeGenOpts() const { in getCodeGenOpts() function
232 return Invocation->getCodeGenOpts(); in getCodeGenOpts()
/external/clang/lib/CodeGen/
DCGCXX.cpp34 if (!getCodeGenOpts().CXXCtorDtorAliases) in TryEmitBaseDestructorAsAlias()
39 if (getCodeGenOpts().OptimizationLevel == 0) in TryEmitBaseDestructorAsAlias()
115 if (!getCodeGenOpts().CXXCtorDtorAliases) in TryEmitDefinitionAsAlias()
DCodeGenPGO.cpp45 PrefixedFuncName.reset(new std::string(CGM.getCodeGenOpts().MainFileName)); in setFuncName()
73 if (CGM.getCodeGenOpts().DisableRedZone) in getOrInsertRegisterBB()
175 if (!CGM.getCodeGenOpts().ProfileInstrGenerate) in emitInitialization()
193 if (CGM.getCodeGenOpts().DisableRedZone) in emitInitialization()
799 if (CGM.getCodeGenOpts().DisableRedZone) in emitRuntimeHook()
811 bool InstrumentRegions = CGM.getCodeGenOpts().ProfileInstrGenerate; in assignRegionCounters()
DCodeGenFunction.cpp281 if (CGM.getCodeGenOpts().EmitDeclMetadata) in FinishFunction()
296 if (!CGM.getCodeGenOpts().InstrumentFunctions) in ShouldInstrumentFunction()
459 if (CGM.getCodeGenOpts().EmitOpenCLArgMetadata) in EmitOpenCLKernelMetadata()
545 if (!CGM.getCodeGenOpts().NoInline) { in StartFunction()
608 if (CGM.getCodeGenOpts().InstrumentForProfiling) in StartFunction()
713 if (HaveInsertPoint() && CGM.getCodeGenOpts().ProfileInstrGenerate) { in EmitBlockWithFallThrough()
809 !CGM.getCodeGenOpts().CUDAIsDevice && in GenerateCode()
850 else if (CGM.getCodeGenOpts().OptimizationLevel == 0) in GenerateCode()
1564 if (CGM.getCodeGenOpts().getDebugInfo() >= CodeGenOptions::LimitedDebugInfo) in EmitDeclRefExprDbgValue()
DCGDecl.cpp353 CGM.getCodeGenOpts().getDebugInfo() >= CodeGenOptions::LimitedDebugInfo) { in EmitStaticVarDecl()
808 if (CGF.CGM.getCodeGenOpts().OptimizationLevel == 0) in shouldUseLifetimeMarkers()
868 if (CGM.getCodeGenOpts().MergeAllConstants && !NRVO && !isByRef && in EmitAutoVarAlloca()
974 if (CGM.getCodeGenOpts().getDebugInfo() in EmitAutoVarAlloca()
1625 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in EmitParmDecl()
1636 if (CGM.getCodeGenOpts().getDebugInfo() in EmitParmDecl()
1698 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in EmitParmDecl()
1743 if (CGM.getCodeGenOpts().getDebugInfo() in EmitParmDecl()
DCodeGenAction.cpp604 const std::string &LinkBCFile = CI.getCodeGenOpts().LinkBitcodeFile; in CreateASTConsumer()
626 BEConsumer = new BackendConsumer(BA, CI.getDiagnostics(), CI.getCodeGenOpts(), in CreateASTConsumer()
683 EmitBackendOutput(CI.getDiagnostics(), CI.getCodeGenOpts(), TargetOpts, in ExecuteAction()
DCGOpenMPRuntime.cpp73 if (CGM.getCodeGenOpts().getDebugInfo() == CodeGenOptions::NoDebugInfo || in EmitOpenMPUpdateLocation()
DCGDeclCXX.cpp119 if (!CGF.CGM.getCodeGenOpts().OptimizationLevel) in EmitDeclInvariant()
221 if (CGM.getCodeGenOpts().ForbidGuardVariables) in EmitCXXGuardedInit()
DCGDebugInfo.cpp45 : CGM(CGM), DebugKind(CGM.getCodeGenOpts().getDebugInfo()), in CGDebugInfo()
292 if (!Force && !CGM.getCodeGenOpts().DebugColumnInfo) in getColumnNumber()
304 if (!CGM.getCodeGenOpts().DebugCompilationDir.empty()) in getCurrentDirname()
305 return CGM.getCodeGenOpts().DebugCompilationDir; in getCurrentDirname()
326 std::string MainFileName = CGM.getCodeGenOpts().MainFileName; in CreateCompileUnit()
348 std::string SplitDwarfFile = CGM.getCodeGenOpts().SplitDwarfFile; in CreateCompileUnit()
377 CGM.getCodeGenOpts().DwarfDebugFlags, RuntimeVers, SplitDwarfFilename, in CreateCompileUnit()
2491 (!CGM.getCodeGenOpts().EmitGcovArcs && in EmitFunctionStart()
2492 !CGM.getCodeGenOpts().EmitGcovNotes && in EmitFunctionStart()
3230 if (CGM.getCodeGenOpts().getDebugInfo() < CodeGenOptions::LimitedDebugInfo) in EmitUsingDirective()
[all …]
DCodeGenModule.cpp337 if (getCodeGenOpts().ProfileInstrGenerate) in Release()
341 PGOStats.reportDiagnostics(getDiags(), getCodeGenOpts().MainFileName); in Release()
383 if (getCodeGenOpts().EmitDeclMetadata) in Release()
386 if (getCodeGenOpts().EmitGcovArcs || getCodeGenOpts().EmitGcovNotes) in Release()
1372 if (getCodeGenOpts().getDebugInfo() >= CodeGenOptions::LimitedDebugInfo) { in CompleteDIClassType()
1959 if (getCodeGenOpts().getDebugInfo() >= CodeGenOptions::LimitedDebugInfo) in EmitGlobalVarDefinition()
3171 if (getCodeGenOpts().getDebugInfo() >= CodeGenOptions::LimitedDebugInfo) in EmitTopLevelDecl()
3346 if (!getCodeGenOpts().CoverageFile.empty()) { in EmitCoverageFile()
3351 llvm::MDString::get(Ctx, getCodeGenOpts().CoverageFile); in EmitCoverageFile()
DCGExpr.cpp1055 CGM.getCodeGenOpts().StrictEnums)) in getRangeForLoadFromType()
1149 } else if (CGM.getCodeGenOpts().OptimizationLevel > 0) in EmitLoadOfScalar()
2183 if (CGM.getCodeGenOpts().SanitizeUndefinedTrapOnError) { in EmitCheck()
2226 CGM.getCodeGenOpts().SanitizeRecover); in EmitCheck()
2239 !CGM.getCodeGenOpts().SanitizeRecover; in EmitCheck()
2262 if (!CGM.getCodeGenOpts().OptimizationLevel || !TrapBB) { in EmitTrapCheck()
2555 bool TBAAPath = CGM.getCodeGenOpts().StructPathTBAA; in EmitLValueForField()
DCGBlocks.cpp1151 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in GenerateBlockFunction()
1220 if (CGM.getCodeGenOpts().getDebugInfo() in GenerateBlockFunction()
1399 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in GenerateCopyHelperFunction()
1649 if (CGF.CGM.getCodeGenOpts().OptimizationLevel == 0) { in emitCopy()
DCGStmt.cpp1193 if (!CGM.getCodeGenOpts().ProfileInstrGenerate && in EmitCaseStmt()
1194 CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCaseStmt()
1241 if (CGM.getCodeGenOpts().ProfileInstrGenerate) { in EmitCaseStmt()
DCGObjC.cpp119 CGM.getCodeGenOpts().OptimizationLevel != 0); in EmitObjCCollectionLiteral()
1972 } else if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in EmitARCRetainAutoreleasedReturnValue()
2038 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in EmitARCDestroyStrong()
2203 CGM.getCodeGenOpts().OptimizationLevel == 0) { in EmitARCInitWeak()
DCodeGenFunction.h984 return CGM.getCodeGenOpts().OptimizationLevel == 0; in shouldUseFusedARCCalls()
1065 CGM.getCodeGenOpts().ObjCAutoRefCountExceptions; in needsEHCleanup()
2270 return CGM.getCodeGenOpts().ObjCAutoRefCountExceptions in getARCCleanupKind()
DCGVTables.cpp403 !CGM.getCodeGenOpts().OptimizationLevel) in maybeEmitThunkForVTable()
DCodeGenModule.h585 const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; } in getCodeGenOpts() function
DCGCall.cpp2203 if (CGF.CGM.getCodeGenOpts().OptimizationLevel != 0 && in emitWritebackArg()
2403 if (CGM.getCodeGenOpts().OptimizationLevel != 0 && in AddObjCARCExceptionMetadata()
2404 !CGM.getCodeGenOpts().ObjCAutoRefCountExceptions) in AddObjCARCExceptionMetadata()
DItaniumCXXABI.cpp1805 if (CGM.getCodeGenOpts().CXAAtExit) in registerGlobalDtor()
/external/lldb/source/Expression/
DClangExpressionParser.cpp319 m_compiler->getCodeGenOpts().EmitDeclMetadata = true; in ClangExpressionParser()
320 m_compiler->getCodeGenOpts().InstrumentFunctions = false; in ClangExpressionParser()
376 m_compiler->getCodeGenOpts(), in ClangExpressionParser()
/external/clang/lib/Rewrite/Frontend/
DFrontendActions.cpp160 (CI.getCodeGenOpts().getDebugInfo() != in CreateASTConsumer()
/external/clang/lib/Tooling/
DTooling.cpp102 Invocation->getCodeGenOpts().DisableFree = false; in newInvocation()
/external/clang/lib/Frontend/
DCompilerInstance.cpp184 ShouldOwnClient, &getCodeGenOpts()); in createDiagnostics()
DCompilerInvocation.cpp1825 Success = ParseCodeGenArgs(Res.getCodeGenOpts(), *Args, DashX, Diags, in CreateFromArgs()

12