/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 | CodeGenFunction.cpp | 73 if (CGM.getCodeGenOpts().NoNaNsFPMath) { in CodeGenFunction() 76 if (CGM.getCodeGenOpts().NoSignedZeros) { in CodeGenFunction() 79 if (CGM.getCodeGenOpts().ReciprocalMath) { in CodeGenFunction() 378 if (CGM.getCodeGenOpts().EmitDeclMetadata) in FinishFunction() 393 if (!CGM.getCodeGenOpts().InstrumentFunctions) in ShouldInstrumentFunction() 403 return CGM.getCodeGenOpts().XRayInstrumentFunctions; in ShouldXRayInstrumentFunction() 590 if (CGM.getCodeGenOpts().EmitOpenCLArgMetadata) in GenOpenCLArgMetadata() 705 llvm::itostr(CGM.getCodeGenOpts().XRayInstructionThreshold)); in StartFunction() 715 const CodeGenOptions& CodeGenOpts = CGM.getCodeGenOpts(); in StartFunction() 733 llvm::toStringRef(CGM.getCodeGenOpts().NoUseJumpTables)); in StartFunction() [all …]
|
D | CGClass.cpp | 1376 if (CGM.getCodeGenOpts().StrictVTablePointers && in EmitCtorPrologue() 1377 CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCtorPrologue() 1393 if (CGM.getCodeGenOpts().StrictVTablePointers && in EmitCtorPrologue() 1394 CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCtorPrologue() 1567 if (CGM.getCodeGenOpts().StrictVTablePointers && in EmitDestructorBody() 1568 CGM.getCodeGenOpts().OptimizationLevel > 0) in EmitDestructorBody() 1838 if (CGM.getCodeGenOpts().SanitizeMemoryUseAfterDtor && in EnterDtorCleanups() 1864 if (CGM.getCodeGenOpts().SanitizeMemoryUseAfterDtor && in EnterDtorCleanups() 1888 if (CGM.getCodeGenOpts().SanitizeMemoryUseAfterDtor && in EnterDtorCleanups() 2165 if (CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCXXConstructorCall() [all …]
|
D | CodeGenAction.cpp | 723 for (auto &I : CI.getCodeGenOpts().LinkBitcodeFiles) { in CreateASTConsumer() 747 if (CI.getCodeGenOpts().CoverageMapping) { in CreateASTConsumer() 755 CI.getPreprocessorOpts(), CI.getCodeGenOpts(), CI.getTargetOpts(), in CreateASTConsumer() 802 if (!CI.getCodeGenOpts().ThinLTOIndexFile.empty()) in ExecuteAction() 837 EmbedBitcode(TheModule.get(), CI.getCodeGenOpts(), in ExecuteAction() 844 EmitBackendOutput(CI.getDiagnostics(), CI.getCodeGenOpts(), TargetOpts, in ExecuteAction()
|
D | CodeGenPGO.cpp | 36 Name, Linkage, CGM.getCodeGenOpts().MainFileName, in setFuncName() 40 if (CGM.getCodeGenOpts().hasProfileClangInstr()) in setFuncName() 616 bool InstrumentRegions = CGM.getCodeGenOpts().hasProfileClangInstr(); in assignRegionCounters() 636 if (CGM.getCodeGenOpts().CoverageMapping) in assignRegionCounters() 737 if (!CGM.getCodeGenOpts().hasProfileClangInstr() || !RegionCounterMap) in emitCounterIncrement() 765 bool InstrumentValueSites = CGM.getCodeGenOpts().hasProfileClangInstr(); in valueProfile()
|
D | CGDebugInfo.cpp | 48 : CGM(CGM), DebugKind(CGM.getCodeGenOpts().getDebugInfo()), in CGDebugInfo() 49 DebugTypeExtRefs(CGM.getCodeGenOpts().DebugTypeExtRefs), in CGDebugInfo() 51 for (const auto &KV : CGM.getCodeGenOpts().DebugPrefixMap) in CGDebugInfo() 195 CGM.getCodeGenOpts().EmitCodeView; in getFunctionName() 203 Policy.MSVCFormatting = CGM.getCodeGenOpts().EmitCodeView; in getFunctionName() 277 if (CGM.getCodeGenOpts().EmitCodeView) { in getClassName() 365 if (!Force && !CGM.getCodeGenOpts().DebugColumnInfo) in getColumnNumber() 377 if (!CGM.getCodeGenOpts().DebugCompilationDir.empty()) in getCurrentDirname() 378 return CGM.getCodeGenOpts().DebugCompilationDir; in getCurrentDirname() 398 std::string MainFileName = CGM.getCodeGenOpts().MainFileName; in CreateCompileUnit() [all …]
|
D | CGDeclCXX.cpp | 100 bool UsingExternalHelper = !CGM.getCodeGenOpts().CXAAtExit; in EmitDeclDestroy() 125 if (!CGF.CGM.getCodeGenOpts().OptimizationLevel) in EmitDeclInvariant() 251 if (CGM.getCodeGenOpts().ForbidGuardVariables) in EmitCXXGuardedInit()
|
D | CGCUDANV.cpp | 256 if (CGM.getCodeGenOpts().CudaGpuBinaryFileNames.empty()) in makeModuleCtorFunction() 284 CGM.getCodeGenOpts().CudaGpuBinaryFileNames) { in makeModuleCtorFunction()
|
D | CGVTables.cpp | 492 !CGM.getCodeGenOpts().OptimizationLevel) in maybeEmitThunkForVTable() 719 return CGM.getCodeGenOpts().OptimizationLevel > 0 && in shouldEmitAvailableExternallyVTable() 922 if (getCodeGenOpts().LTOVisibilityPublicStd) { in HasHiddenLTOVisibility() 942 if (!getCodeGenOpts().PrepareForLTO) in EmitVTableTypeMetadata()
|
D | CGDecl.cpp | 413 CGM.getCodeGenOpts().getDebugInfo() >= codegenoptions::LimitedDebugInfo) { in EmitStaticVarDecl() 932 if (!shouldEmitLifetimeMarkers(CGM.getCodeGenOpts(), getLangOpts())) in EmitLifetimeStart() 989 if (CGM.getCodeGenOpts().MergeAllConstants && !NRVO && !isByRef && in EmitAutoVarAlloca() 1100 if (CGM.getCodeGenOpts().getDebugInfo() >= in EmitAutoVarAlloca() 1821 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in EmitParmDecl() 1864 if (CGM.getCodeGenOpts().getDebugInfo() >= in EmitParmDecl()
|
D | CGBlocks.cpp | 1107 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in setBlockContextParameter() 1115 if (CGM.getCodeGenOpts().getDebugInfo() >= in setBlockContextParameter() 1202 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in GenerateBlockFunction() 1265 if (CGM.getCodeGenOpts().getDebugInfo() >= in GenerateBlockFunction() 1447 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in GenerateCopyHelperFunction() 1703 if (CGF.CGM.getCodeGenOpts().OptimizationLevel == 0) { in emitCopy()
|
D | CGExpr.cpp | 326 if (CGF.CGM.getCodeGenOpts().MergeAllConstants && in createReferenceTemporary() 1255 CGM.getCodeGenOpts().StrictEnums)) in getRangeForLoadFromType() 1342 } else if (CGM.getCodeGenOpts().OptimizationLevel > 0) in EmitLoadOfScalar() 2397 CGM.getCodeGenOpts().EmitCheckPathComponentsToStrip; in EmitCheckSourceLocation() 2511 CGM.getCodeGenOpts().SanitizeTrap.has(Checked[i].second) in EmitCheck() 2513 : CGM.getCodeGenOpts().SanitizeRecover.has(Checked[i].second) in EmitCheck() 2616 bool WithDiag = !CGM.getCodeGenOpts().SanitizeTrap.has(Kind); in EmitCfiSlowPathCheck() 2737 if (!CGM.getCodeGenOpts().OptimizationLevel || !TrapBB) { in EmitTrapCheck() 2755 if (!CGM.getCodeGenOpts().TrapFuncName.empty()) in EmitTrapCall() 2758 CGM.getCodeGenOpts().TrapFuncName); in EmitTrapCall() [all …]
|
D | CodeGenModule.cpp | 398 PGOStats.reportDiagnostics(getDiags(), getCodeGenOpts().MainFileName); in Release() 489 if (getCodeGenOpts().EmitDeclMetadata) in Release() 492 if (getCodeGenOpts().EmitGcovArcs || getCodeGenOpts().EmitGcovNotes) in Release() 1077 if (getCodeGenOpts().AssumeSaneOperatorNew && in SetFunctionAttributes() 1765 if (getCodeGenOpts().getDebugInfo() >= codegenoptions::LimitedDebugInfo) { in CompleteDIClassType() 2590 if (getCodeGenOpts().getDebugInfo() >= codegenoptions::LimitedDebugInfo) in EmitGlobalVarDefinition() 3854 if (getCodeGenOpts().getDebugInfo() >= codegenoptions::LimitedDebugInfo) in EmitTopLevelDecl() 4156 if (!getCodeGenOpts().CoverageFile.empty()) { in EmitCoverageFile() 4161 llvm::MDString::get(Ctx, getCodeGenOpts().CoverageFile); in EmitCoverageFile()
|
D | ObjectFilePCHContainerOperations.cpp | 156 CodeGenOpts.setDebuggerTuning(CI.getCodeGenOpts().getDebuggerTuning()); in PCHContainerGenerator()
|
D | CGStmt.cpp | 1203 if (!CGM.getCodeGenOpts().hasProfileClangInstr() && in EmitCaseStmt() 1204 CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCaseStmt() 1250 if (CGM.getCodeGenOpts().hasProfileClangInstr()) { in EmitCaseStmt() 1601 if (Call && CGM.getCodeGenOpts().OptimizationLevel != 0) { in EmitSwitchStmt()
|
D | CodeGenFunction.h | 979 if (CGM.getCodeGenOpts().hasProfileClangInstr()) in incrementProfileCounter() 1206 return CGM.getCodeGenOpts().OptimizationLevel == 0; in shouldUseFusedARCCalls() 1295 CGM.getCodeGenOpts().ObjCAutoRefCountExceptions; in needsEHCleanup() 2958 return CGM.getCodeGenOpts().ObjCAutoRefCountExceptions in getARCCleanupKind()
|
D | CGObjC.cpp | 142 CGM.getCodeGenOpts().OptimizationLevel != 0); in EmitObjCCollectionLiteral() 1990 } else if (CGF.CGM.getCodeGenOpts().OptimizationLevel == 0) { in emitAutoreleasedReturnValueMarker() 2081 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in EmitARCDestroyStrong() 2243 CGM.getCodeGenOpts().OptimizationLevel == 0) { in EmitARCInitWeak()
|
/external/clang/include/clang/Frontend/ |
D | CompilerInvocation.h | 181 CodeGenOptions &getCodeGenOpts() { return CodeGenOpts; } in getCodeGenOpts() function 182 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 | 68 compiler.getCodeGenOpts(), in TEST()
|
/external/mesa3d/src/gallium/state_trackers/clover/llvm/ |
D | invocation.cpp | 189 compat::add_link_bitcode_file(c.getCodeGenOpts(), in compile() 282 optimize(*mod, c->getCodeGenOpts().OptimizationLevel, !create_library);
|
/external/bcc/src/cc/frontends/clang/ |
D | loader.cc | 398 invocation2.getCodeGenOpts().DisableFree = false; in do_compile() 401 invocation2.getCodeGenOpts().setInlining(CodeGenOptions::NormalInlining); in do_compile()
|
/external/clang/lib/Frontend/Rewrite/ |
D | FrontendActions.cpp | 160 (CI.getCodeGenOpts().getDebugInfo() != codegenoptions::NoDebugInfo)); in CreateASTConsumer()
|
/external/clang/lib/Frontend/ |
D | FrontendAction.cpp | 213 CI.getCodeGenOpts().DebugTypeExtRefs); in BeginSourceFile()
|
/external/clang/lib/Tooling/ |
D | Tooling.cpp | 99 Invocation->getCodeGenOpts().DisableFree = false; in newInvocation()
|