/external/clang/lib/CodeGen/ |
D | CGCXX.cpp | 35 if (!getCodeGenOpts().CXXCtorDtorAliases) in TryEmitBaseDestructorAsAlias() 40 if (getCodeGenOpts().OptimizationLevel == 0) in TryEmitBaseDestructorAsAlias() 45 if (getCodeGenOpts().SanitizeMemoryUseAfterDtor && in TryEmitBaseDestructorAsAlias() 123 if (!getCodeGenOpts().CXXCtorDtorAliases) in TryEmitDefinitionAsAlias()
|
D | CodeGenAction.cpp | 691 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()
|
D | CGClass.cpp | 1380 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 …]
|
D | CodeGenFunction.cpp | 73 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 …]
|
D | CodeGenPGO.cpp | 33 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()
|
D | CGDebugInfo.cpp | 47 : 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 …]
|
D | CGDecl.cpp | 397 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()
|
D | CGDeclCXX.cpp | 117 if (!CGF.CGM.getCodeGenOpts().OptimizationLevel) in EmitDeclInvariant() 243 if (CGM.getCodeGenOpts().ForbidGuardVariables) in EmitCXXGuardedInit()
|
D | CGBlocks.cpp | 1104 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()
|
D | CGExpr.cpp | 325 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()
|
D | CodeGenModule.cpp | 381 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()
|
D | CGCUDANV.cpp | 243 CGM.getCodeGenOpts().CudaGpuBinaryFileNames) { in makeModuleCtorFunction()
|
D | CGStmt.cpp | 1150 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()
|
D | CGVTables.cpp | 495 !CGM.getCodeGenOpts().OptimizationLevel) in maybeEmitThunkForVTable() 718 return CGM.getCodeGenOpts().OptimizationLevel > 0 && in shouldEmitAvailableExternallyVTable()
|
D | CodeGenFunction.h | 954 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()
|
D | CGObjC.cpp | 142 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()
|
D | CGExprCXX.cpp | 1437 if (CGM.getCodeGenOpts().StrictVTablePointers && in EmitCXXNewExpr() 1438 CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCXXNewExpr()
|
D | CodeGenModule.h | 600 const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; } in getCodeGenOpts() function
|
D | CGAtomic.cpp | 1285 if (!CGM.getCodeGenOpts().MSVolatile) return false; in LValueIsSuitableForInlineAtomic() 1301 return CGM.getCodeGenOpts().MSVolatile && IsVolatile && AtomicIsInline; in typeIsSuitableForInlineAtomic()
|
/external/clang/include/clang/Frontend/ |
D | CompilerInvocation.h | 177 CodeGenOptions &getCodeGenOpts() { return CodeGenOpts; } in getCodeGenOpts() function 178 const CodeGenOptions &getCodeGenOpts() const { in getCodeGenOpts() function
|
D | CompilerInstance.h | 252 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/ |
D | BufferSourceTest.cpp | 67 compiler.getCodeGenOpts(), in TEST()
|
/external/clang/lib/Frontend/Rewrite/ |
D | FrontendActions.cpp | 159 (CI.getCodeGenOpts().getDebugInfo() != in CreateASTConsumer()
|
/external/clang/lib/Frontend/ |
D | FrontendAction.cpp | 195 CI.getCodeGenOpts().DebugTypeExtRefs); in BeginSourceFile()
|
/external/clang/lib/Tooling/ |
D | Tooling.cpp | 97 Invocation->getCodeGenOpts().DisableFree = false; in newInvocation()
|