Home
last modified time | relevance | path

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

12

/external/clang/lib/CodeGen/
DCGCXX.cpp35 if (!getCodeGenOpts().CXXCtorDtorAliases) in TryEmitBaseDestructorAsAlias()
40 if (getCodeGenOpts().OptimizationLevel == 0) in TryEmitBaseDestructorAsAlias()
45 if (getCodeGenOpts().SanitizeMemoryUseAfterDtor && in TryEmitBaseDestructorAsAlias()
123 if (!getCodeGenOpts().CXXCtorDtorAliases) in TryEmitDefinitionAsAlias()
DCodeGenAction.cpp691 for (auto &I : CI.getCodeGenOpts().LinkBitcodeFiles) { in CreateASTConsumer()
715 if (CI.getCodeGenOpts().CoverageMapping) { in CreateASTConsumer()
723 CI.getPreprocessorOpts(), CI.getCodeGenOpts(), CI.getTargetOpts(), in CreateASTConsumer()
794 if (!CI.getCodeGenOpts().ThinLTOIndexFile.empty()) { in ExecuteAction()
796 llvm::getFunctionIndexForFile(CI.getCodeGenOpts().ThinLTOIndexFile, in ExecuteAction()
801 << CI.getCodeGenOpts().ThinLTOIndexFile << "': " << Error in ExecuteAction()
818 EmitBackendOutput(CI.getDiagnostics(), CI.getCodeGenOpts(), TargetOpts, in ExecuteAction()
DCGClass.cpp1380 if (CGM.getCodeGenOpts().StrictVTablePointers && in EmitCtorPrologue()
1381 CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCtorPrologue()
1397 if (CGM.getCodeGenOpts().StrictVTablePointers && in EmitCtorPrologue()
1398 CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCtorPrologue()
1571 if (CGM.getCodeGenOpts().StrictVTablePointers && in EmitDestructorBody()
1572 CGM.getCodeGenOpts().OptimizationLevel > 0) in EmitDestructorBody()
1840 if (CGM.getCodeGenOpts().SanitizeMemoryUseAfterDtor && in EnterDtorCleanups()
1866 if (CGM.getCodeGenOpts().SanitizeMemoryUseAfterDtor && in EnterDtorCleanups()
1890 if (CGM.getCodeGenOpts().SanitizeMemoryUseAfterDtor && in EnterDtorCleanups()
2111 if (CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCXXConstructorCall()
[all …]
DCodeGenFunction.cpp73 if (CGM.getCodeGenOpts().NoNaNsFPMath) { in CodeGenFunction()
76 if (CGM.getCodeGenOpts().NoSignedZeros) { in CodeGenFunction()
79 if (CGM.getCodeGenOpts().ReciprocalMath) { in CodeGenFunction()
377 if (CGM.getCodeGenOpts().EmitDeclMetadata) in FinishFunction()
392 if (!CGM.getCodeGenOpts().InstrumentFunctions) in ShouldInstrumentFunction()
570 if (CGM.getCodeGenOpts().EmitOpenCLArgMetadata) in GenOpenCLArgMetadata()
687 if (!CGM.getCodeGenOpts().NoInline) { in StartFunction()
758 if (CGM.getCodeGenOpts().InstrumentForProfiling) in StartFunction()
871 if (HaveInsertPoint() && CGM.getCodeGenOpts().ProfileInstrGenerate) { in EmitBlockWithFallThrough()
1004 } else if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in GenerateCode()
[all …]
DCodeGenPGO.cpp33 Name, Linkage, CGM.getCodeGenOpts().MainFileName, in setFuncName()
37 if (CGM.getCodeGenOpts().ProfileInstrGenerate) in setFuncName()
610 bool InstrumentRegions = CGM.getCodeGenOpts().ProfileInstrGenerate; in assignRegionCounters()
630 if (CGM.getCodeGenOpts().CoverageMapping) in assignRegionCounters()
739 if (!CGM.getCodeGenOpts().ProfileInstrGenerate || !RegionCounterMap) in emitCounterIncrement()
DCGDebugInfo.cpp47 : CGM(CGM), DebugKind(CGM.getCodeGenOpts().getDebugInfo()), in CGDebugInfo()
48 DebugTypeExtRefs(CGM.getCodeGenOpts().DebugTypeExtRefs), in CGDebugInfo()
50 for (const auto &KV : CGM.getCodeGenOpts().DebugPrefixMap) in CGDebugInfo()
187 if (!Info && FII && !CGM.getCodeGenOpts().EmitCodeView) in getFunctionName()
195 if (CGM.getCodeGenOpts().EmitCodeView) { in getFunctionName()
326 if (!Force && !CGM.getCodeGenOpts().DebugColumnInfo) in getColumnNumber()
338 if (!CGM.getCodeGenOpts().DebugCompilationDir.empty()) in getCurrentDirname()
339 return CGM.getCodeGenOpts().DebugCompilationDir; in getCurrentDirname()
359 std::string MainFileName = CGM.getCodeGenOpts().MainFileName; in CreateCompileUnit()
403 Producer, LO.Optimize, CGM.getCodeGenOpts().DwarfDebugFlags, RuntimeVers, in CreateCompileUnit()
[all …]
DCGDecl.cpp397 CGM.getCodeGenOpts().getDebugInfo() >= CodeGenOptions::LimitedDebugInfo) { in EmitStaticVarDecl()
916 if (CGM.getCodeGenOpts().OptimizationLevel == 0) in EmitLifetimeStart()
978 if (CGM.getCodeGenOpts().MergeAllConstants && !NRVO && !isByRef && in EmitAutoVarAlloca()
1089 if (CGM.getCodeGenOpts().getDebugInfo() in EmitAutoVarAlloca()
1812 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in EmitParmDecl()
1855 if (CGM.getCodeGenOpts().getDebugInfo() in EmitParmDecl()
DCGDeclCXX.cpp117 if (!CGF.CGM.getCodeGenOpts().OptimizationLevel) in EmitDeclInvariant()
243 if (CGM.getCodeGenOpts().ForbidGuardVariables) in EmitCXXGuardedInit()
DCGBlocks.cpp1104 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in setBlockContextParameter()
1112 if (CGM.getCodeGenOpts().getDebugInfo() in setBlockContextParameter()
1200 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in GenerateBlockFunction()
1263 if (CGM.getCodeGenOpts().getDebugInfo() in GenerateBlockFunction()
1445 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in GenerateCopyHelperFunction()
1701 if (CGF.CGM.getCodeGenOpts().OptimizationLevel == 0) { in emitCopy()
DCGExpr.cpp325 if (CGF.CGM.getCodeGenOpts().MergeAllConstants && in createReferenceTemporary()
1229 CGM.getCodeGenOpts().StrictEnums)) in getRangeForLoadFromType()
1316 } else if (CGM.getCodeGenOpts().OptimizationLevel > 0) in EmitLoadOfScalar()
2446 CGM.getCodeGenOpts().SanitizeTrap.has(Checked[i].second) in EmitCheck()
2448 : CGM.getCodeGenOpts().SanitizeRecover.has(Checked[i].second) in EmitCheck()
2568 if (!CGM.getCodeGenOpts().OptimizationLevel || !TrapBB) { in EmitTrapCheck()
2586 if (!CGM.getCodeGenOpts().TrapFuncName.empty()) in EmitTrapCall()
2589 CGM.getCodeGenOpts().TrapFuncName); in EmitTrapCall()
3134 bool TBAAPath = CGM.getCodeGenOpts().StructPathTBAA; in EmitLValueForField()
3863 if (CGM.getCodeGenOpts().SanitizeCfiCrossDso && TypeId) { in EmitCall()
DCodeGenModule.cpp381 PGOStats.reportDiagnostics(getDiags(), getCodeGenOpts().MainFileName); in Release()
465 if (getCodeGenOpts().EmitDeclMetadata) in Release()
468 if (getCodeGenOpts().EmitGcovArcs || getCodeGenOpts().EmitGcovNotes) in Release()
1670 if (getCodeGenOpts().getDebugInfo() >= CodeGenOptions::LimitedDebugInfo) { in CompleteDIClassType()
2419 if (getCodeGenOpts().getDebugInfo() >= CodeGenOptions::LimitedDebugInfo) in EmitGlobalVarDefinition()
3575 if (getCodeGenOpts().getDebugInfo() >= CodeGenOptions::LimitedDebugInfo) in EmitTopLevelDecl()
3841 if (!getCodeGenOpts().CoverageFile.empty()) { in EmitCoverageFile()
3846 llvm::MDString::get(Ctx, getCodeGenOpts().CoverageFile); in EmitCoverageFile()
DCGCUDANV.cpp243 CGM.getCodeGenOpts().CudaGpuBinaryFileNames) { in makeModuleCtorFunction()
DCGStmt.cpp1150 if (!CGM.getCodeGenOpts().ProfileInstrGenerate && in EmitCaseStmt()
1151 CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCaseStmt()
1197 if (CGM.getCodeGenOpts().ProfileInstrGenerate) { in EmitCaseStmt()
1540 if (CGM.getCodeGenOpts().OptimizationLevel != 0) { in EmitSwitchStmt()
DCGVTables.cpp495 !CGM.getCodeGenOpts().OptimizationLevel) in maybeEmitThunkForVTable()
718 return CGM.getCodeGenOpts().OptimizationLevel > 0 && in shouldEmitAvailableExternallyVTable()
DCodeGenFunction.h954 if (CGM.getCodeGenOpts().ProfileInstrGenerate) in incrementProfileCounter()
1122 return CGM.getCodeGenOpts().OptimizationLevel == 0; in shouldUseFusedARCCalls()
1214 CGM.getCodeGenOpts().ObjCAutoRefCountExceptions; in needsEHCleanup()
2772 return CGM.getCodeGenOpts().ObjCAutoRefCountExceptions in getARCCleanupKind()
DCGObjC.cpp142 CGM.getCodeGenOpts().OptimizationLevel != 0); in EmitObjCCollectionLiteral()
2004 } else if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in EmitARCRetainAutoreleasedReturnValue()
2070 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in EmitARCDestroyStrong()
2232 CGM.getCodeGenOpts().OptimizationLevel == 0) { in EmitARCInitWeak()
DCGExprCXX.cpp1437 if (CGM.getCodeGenOpts().StrictVTablePointers && in EmitCXXNewExpr()
1438 CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCXXNewExpr()
DCodeGenModule.h600 const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; } in getCodeGenOpts() function
DCGAtomic.cpp1285 if (!CGM.getCodeGenOpts().MSVolatile) return false; in LValueIsSuitableForInlineAtomic()
1301 return CGM.getCodeGenOpts().MSVolatile && IsVolatile && AtomicIsInline; in typeIsSuitableForInlineAtomic()
/external/clang/include/clang/Frontend/
DCompilerInvocation.h177 CodeGenOptions &getCodeGenOpts() { return CodeGenOpts; } in getCodeGenOpts() function
178 const CodeGenOptions &getCodeGenOpts() const { in getCodeGenOpts() function
DCompilerInstance.h252 CodeGenOptions &getCodeGenOpts() { in getCodeGenOpts() function
253 return Invocation->getCodeGenOpts(); in getCodeGenOpts()
255 const CodeGenOptions &getCodeGenOpts() const { in getCodeGenOpts() function
256 return Invocation->getCodeGenOpts(); in getCodeGenOpts()
/external/clang/unittests/CodeGen/
DBufferSourceTest.cpp67 compiler.getCodeGenOpts(), in TEST()
/external/clang/lib/Frontend/Rewrite/
DFrontendActions.cpp159 (CI.getCodeGenOpts().getDebugInfo() != in CreateASTConsumer()
/external/clang/lib/Frontend/
DFrontendAction.cpp195 CI.getCodeGenOpts().DebugTypeExtRefs); in BeginSourceFile()
/external/clang/lib/Tooling/
DTooling.cpp97 Invocation->getCodeGenOpts().DisableFree = false; in newInvocation()

12