Home
last modified time | relevance | path

Searched refs:getCodeGenOpts (Results 1 – 25 of 40) 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()
DCodeGenFunction.cpp73 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 …]
DCGClass.cpp1376 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 …]
DCodeGenAction.cpp723 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()
DCodeGenPGO.cpp36 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()
DCGDebugInfo.cpp48 : 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 …]
DCGDeclCXX.cpp100 bool UsingExternalHelper = !CGM.getCodeGenOpts().CXAAtExit; in EmitDeclDestroy()
125 if (!CGF.CGM.getCodeGenOpts().OptimizationLevel) in EmitDeclInvariant()
251 if (CGM.getCodeGenOpts().ForbidGuardVariables) in EmitCXXGuardedInit()
DCGCUDANV.cpp256 if (CGM.getCodeGenOpts().CudaGpuBinaryFileNames.empty()) in makeModuleCtorFunction()
284 CGM.getCodeGenOpts().CudaGpuBinaryFileNames) { in makeModuleCtorFunction()
DCGVTables.cpp492 !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()
DCGDecl.cpp413 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()
DCGBlocks.cpp1107 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()
DCGExpr.cpp326 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 …]
DCodeGenModule.cpp398 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()
DObjectFilePCHContainerOperations.cpp156 CodeGenOpts.setDebuggerTuning(CI.getCodeGenOpts().getDebuggerTuning()); in PCHContainerGenerator()
DCGStmt.cpp1203 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()
DCodeGenFunction.h979 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()
DCGObjC.cpp142 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/
DCompilerInvocation.h181 CodeGenOptions &getCodeGenOpts() { return CodeGenOpts; } in getCodeGenOpts() function
182 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.cpp68 compiler.getCodeGenOpts(), in TEST()
/external/mesa3d/src/gallium/state_trackers/clover/llvm/
Dinvocation.cpp189 compat::add_link_bitcode_file(c.getCodeGenOpts(), in compile()
282 optimize(*mod, c->getCodeGenOpts().OptimizationLevel, !create_library);
/external/bcc/src/cc/frontends/clang/
Dloader.cc398 invocation2.getCodeGenOpts().DisableFree = false; in do_compile()
401 invocation2.getCodeGenOpts().setInlining(CodeGenOptions::NormalInlining); in do_compile()
/external/clang/lib/Frontend/Rewrite/
DFrontendActions.cpp160 (CI.getCodeGenOpts().getDebugInfo() != codegenoptions::NoDebugInfo)); in CreateASTConsumer()
/external/clang/lib/Frontend/
DFrontendAction.cpp213 CI.getCodeGenOpts().DebugTypeExtRefs); in BeginSourceFile()
/external/clang/lib/Tooling/
DTooling.cpp99 Invocation->getCodeGenOpts().DisableFree = false; in newInvocation()

12