|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/lib/CodeGen/CGAtomic.cpp 1460 if (!CGM.getCodeGenOpts().MSVolatile) return false;
tools/clang/lib/CodeGen/CGBlocks.cpp 129 if (CGM.getCodeGenOpts().ObjCAutoRefCountExceptions)
830 CGF.CGM.getCodeGenOpts().OptimizationLevel != 0) {
1120 CGM.getCodeGenOpts().OptimizationLevel != 0) {
1485 if (CGM.getCodeGenOpts().getDebugInfo() >=
1596 if (CGM.getCodeGenOpts().OptimizationLevel == 0) {
1658 if (CGM.getCodeGenOpts().getDebugInfo() >=
1916 if (CGM.getCodeGenOpts().ObjCAutoRefCountExceptions)
2082 if (CGM.getCodeGenOpts().OptimizationLevel == 0) {
2336 if (CGF.CGM.getCodeGenOpts().OptimizationLevel == 0) {
tools/clang/lib/CodeGen/CGBuiltin.cpp 1175 if (CGM.getCodeGenOpts().OptimizeSize == 2)
1289 CGM.getCodeGenOpts().OptimizationLevel != 0)
1510 if (!CGM.getCodeGenOpts().StrictVTablePointers)
2034 if (CGM.getCodeGenOpts().OptimizationLevel == 0)
4016 if (!CGM.getCodeGenOpts().XRayInstrumentationBundle.has(
4050 if (!CGM.getCodeGenOpts().XRayInstrumentationBundle.has(
tools/clang/lib/CodeGen/CGCUDANV.cpp 490 StringRef CudaGpuBinaryFileName = CGM.getCodeGenOpts().CudaGpuBinaryFileName;
tools/clang/lib/CodeGen/CGCXX.cpp 34 if (!getCodeGenOpts().CXXCtorDtorAliases)
39 if (getCodeGenOpts().OptimizationLevel == 0)
44 if (getCodeGenOpts().SanitizeMemoryUseAfterDtor &&
tools/clang/lib/CodeGen/CGCall.cpp 2362 !CGM.getCodeGenOpts().NullPointerIsValid)
2382 !CGM.getCodeGenOpts().NullPointerIsValid) {
2393 !CGM.getCodeGenOpts().NullPointerIsValid)
3306 if (CGF.CGM.getCodeGenOpts().OptimizationLevel != 0 &&
3648 if (CGM.getCodeGenOpts().OptimizationLevel != 0 &&
3649 !CGM.getCodeGenOpts().ObjCAutoRefCountExceptions)
tools/clang/lib/CodeGen/CGClass.cpp 1294 if (CGM.getCodeGenOpts().StrictVTablePointers &&
1295 CGM.getCodeGenOpts().OptimizationLevel > 0 &&
1311 if (CGM.getCodeGenOpts().StrictVTablePointers &&
1312 CGM.getCodeGenOpts().OptimizationLevel > 0 &&
1503 if (CGM.getCodeGenOpts().StrictVTablePointers &&
1504 CGM.getCodeGenOpts().OptimizationLevel > 0)
1812 if (CGM.getCodeGenOpts().SanitizeMemoryUseAfterDtor &&
1838 if (CGM.getCodeGenOpts().SanitizeMemoryUseAfterDtor &&
1862 if (CGM.getCodeGenOpts().SanitizeMemoryUseAfterDtor &&
2173 if (CGM.getCodeGenOpts().OptimizationLevel > 0 &&
2176 CGM.getCodeGenOpts().StrictVTablePointers)
2500 if (CGM.getCodeGenOpts().OptimizationLevel > 0 &&
2501 CGM.getCodeGenOpts().StrictVTablePointers)
2596 if (CGM.getCodeGenOpts().OptimizationLevel > 0 &&
2597 CGM.getCodeGenOpts().StrictVTablePointers)
2643 else if (CGM.getCodeGenOpts().WholeProgramVTables &&
2718 if (!CGM.getCodeGenOpts().SanitizeCfiCrossDso &&
2769 if (CGM.getCodeGenOpts().SanitizeCfiCrossDso && CrossDsoTypeId) {
2774 if (CGM.getCodeGenOpts().SanitizeTrap.has(M)) {
2789 if (!CGM.getCodeGenOpts().WholeProgramVTables ||
2793 if (CGM.getCodeGenOpts().VirtualFunctionElimination)
2797 !CGM.getCodeGenOpts().SanitizeTrap.has(SanitizerKind::CFIVCall))
tools/clang/lib/CodeGen/CGDebugInfo.cpp 66 : CGM(CGM), DebugKind(CGM.getCodeGenOpts().getDebugInfo()),
67 DebugTypeExtRefs(CGM.getCodeGenOpts().DebugTypeExtRefs),
69 for (const auto &KV : CGM.getCodeGenOpts().DebugPrefixMap)
234 if (CGM.getCodeGenOpts().EmitCodeView)
256 CGM.getCodeGenOpts().EmitCodeView;
333 if (CGM.getCodeGenOpts().EmitCodeView) {
372 if (!CGM.getCodeGenOpts().EmitCodeView &&
373 CGM.getCodeGenOpts().DwarfVersion < 5)
394 if (!CGM.getCodeGenOpts().EmbedSource)
496 if (!Force && !CGM.getCodeGenOpts().DebugColumnInfo)
508 if (!CGM.getCodeGenOpts().DebugCompilationDir.empty())
509 return CGM.getCodeGenOpts().DebugCompilationDir;
532 std::string MainFileName = CGM.getCodeGenOpts().MainFileName;
608 auto &CGOpts = CGM.getCodeGenOpts();
929 if (CGM.getCodeGenOpts().EmitCodeView)
990 if (CGM.getCodeGenOpts().DebugFwdTemplateParams)
1430 if (CGM.getCodeGenOpts().EmitCodeView &&
1453 } else if (CGM.getCodeGenOpts().EmitCodeView) {
1691 if (CGM.getCodeGenOpts().EmitCodeView) {
1924 if (!CGM.getCodeGenOpts().EmitCodeView)
1990 bool NeedVTableShape = CGM.getCodeGenOpts().EmitCodeView &&
3245 if (LinkageName == Name || (!CGM.getCodeGenOpts().EmitGcovArcs &&
3246 !CGM.getCodeGenOpts().EmitGcovNotes &&
3247 !CGM.getCodeGenOpts().DebugInfoForProfiling &&
3626 if (CGM.getCodeGenOpts().EnableDebugEntryValues && HasDecl)
3631 if (CGM.getCodeGenOpts().DwarfVersion >= 5) {
3712 auto &CGOpts = CGM.getCodeGenOpts();
4036 if (CGM.getCodeGenOpts().EnableDebugEntryValues && ArgNo) {
4457 if (CGM.getCodeGenOpts().EmitCodeView) {
4495 if (!CGM.getCodeGenOpts().EmitCodeView)
4541 if (CGM.getCodeGenOpts().getDebugInfo() < codegenoptions::LimitedDebugInfo)
4545 CGM.getCodeGenOpts().DebugExplicitImport) {
4554 if (CGM.getCodeGenOpts().getDebugInfo() < codegenoptions::LimitedDebugInfo)
4581 if (CGM.getCodeGenOpts().getDebuggerTuning() != llvm::DebuggerKind::LLDB)
4595 if (CGM.getCodeGenOpts().getDebugInfo() < codegenoptions::LimitedDebugInfo)
4674 if (CGM.getCodeGenOpts().DwarfVersion >= 5) {
4735 if (CGM.getCodeGenOpts().EnableDebugEntryValues)
4743 if (CGM.getCodeGenOpts().getDebugInfo() < codegenoptions::LimitedDebugInfo)
4770 CGM.getCodeGenOpts().DwarfVersion == 4 &&
4771 (CGM.getCodeGenOpts().getDebuggerTuning() == llvm::DebuggerKind::LLDB ||
4772 (CGM.getCodeGenOpts().EnableDebugEntryValues &&
4773 CGM.getCodeGenOpts().getDebuggerTuning() == llvm::DebuggerKind::GDB));
4775 if (!SupportsDWARFv4Ext && CGM.getCodeGenOpts().DwarfVersion < 5)
tools/clang/lib/CodeGen/CGDecl.cpp 447 CGM.getCodeGenOpts().getDebugInfo() >= codegenoptions::LimitedDebugInfo) {
978 if (CGM.getCodeGenOpts().OptimizationLevel == 0)
1393 bool EmitDebugInfo = DI && CGM.getCodeGenOpts().getDebugInfo() >=
1428 (CGM.getCodeGenOpts().MergeAllConstants && !NRVO &&
2453 if (CGM.getCodeGenOpts().OptimizationLevel == 0) {
2496 if (CGM.getCodeGenOpts().getDebugInfo() >=
tools/clang/lib/CodeGen/CGDeclCXX.cpp 113 bool UsingExternalHelper = !CGM.getCodeGenOpts().CXAAtExit;
156 if (!CGM.getCodeGenOpts().OptimizationLevel)
289 if (CGM.getCodeGenOpts().ForbidGuardVariables)
393 auto RASignKind = getCodeGenOpts().getSignReturnAddress();
399 auto RASignKey = getCodeGenOpts().getSignReturnAddressKey();
406 if (getCodeGenOpts().BranchTargetEnforcement)
tools/clang/lib/CodeGen/CGExpr.cpp 383 if (CGF.CGM.getCodeGenOpts().MergeAllConstants &&
526 !CGM.getCodeGenOpts().SanitizeAddressUseAfterScope) {
1579 if (!getRangeForType(*this, Ty, Min, End, CGM.getCodeGenOpts().StrictEnums,
1640 if (!CGM.getCodeGenOpts().PreserveVec3Type) {
1684 } else if (CGM.getCodeGenOpts().OptimizationLevel > 0)
1721 if (!CGM.getCodeGenOpts().PreserveVec3Type) {
2881 CGM.getCodeGenOpts().EmitCheckPathComponentsToStrip;
2971 bool MinimalRuntime = CGF.CGM.getCodeGenOpts().SanitizeMinimalRuntime;
3022 CGM.getCodeGenOpts().SanitizeTrap.has(Checked[i].second)
3024 : CGM.getCodeGenOpts().SanitizeRecover.has(Checked[i].second)
3067 if (!CGM.getCodeGenOpts().SanitizeMinimalRuntime) {
3129 bool WithDiag = !CGM.getCodeGenOpts().SanitizeTrap.has(Kind);
3287 if (!CGM.getCodeGenOpts().OptimizationLevel || !TrapBB) {
3305 if (!CGM.getCodeGenOpts().TrapFuncName.empty()) {
3307 CGM.getCodeGenOpts().TrapFuncName);
4062 if (CGM.getCodeGenOpts().StrictVTablePointers &&
4076 if (CGM.getCodeGenOpts().StrictVTablePointers &&
4848 if (CGM.getCodeGenOpts().SanitizeCfiICallGeneralizePointers)
4866 if (CGM.getCodeGenOpts().SanitizeCfiCrossDso && CrossDsoTypeId) {
tools/clang/lib/CodeGen/CGExprAgg.cpp 2021 if (CGM.getCodeGenOpts().NewStructPathTBAA) {
tools/clang/lib/CodeGen/CGExprCXX.cpp 1698 if (CGM.getCodeGenOpts().StrictVTablePointers &&
tools/clang/lib/CodeGen/CGExprScalar.cpp 2011 if (CGF.CGM.getCodeGenOpts().StrictVTablePointers) {
2172 if (CGF.CGM.getCodeGenOpts().StrictVTablePointers) {
2184 if (CGF.CGM.getCodeGenOpts().StrictVTablePointers) {
3015 !CGF.CGM.getCodeGenOpts().CorrectlyRoundedDivSqrt) {
3830 if (CGF.CGM.getCodeGenOpts().StrictVTablePointers &&
4402 if (!CGF.CGM.getCodeGenOpts().PreserveVec3Type) {
4415 if (!CGF.CGM.getCodeGenOpts().PreserveVec3Type) {
tools/clang/lib/CodeGen/CGObjC.cpp 160 CGM.getCodeGenOpts().OptimizationLevel != 0);
377 if (!CGM.getCodeGenOpts().ObjCConvertMessagesToRuntimeCalls)
2172 } else if (CGF.CGM.getCodeGenOpts().OptimizationLevel == 0) {
2264 if (CGM.getCodeGenOpts().OptimizationLevel == 0) {
2424 CGM.getCodeGenOpts().OptimizationLevel == 0) {
tools/clang/lib/CodeGen/CGObjCGNU.cpp 1568 if (CGM.getCodeGenOpts().UseInitArray)
2692 switch (CGM.getCodeGenOpts().getObjCDispatchMethod()) {
tools/clang/lib/CodeGen/CGObjCMac.cpp 6130 switch (CGM.getCodeGenOpts().getObjCDispatchMethod()) {
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 1630 if (CGM.getCodeGenOpts().getDebugInfo() == codegenoptions::NoDebugInfo ||
tools/clang/lib/CodeGen/CGStmt.cpp 557 if (CGM.getCodeGenOpts().getDebugInfo() >=
1275 if (!CGM.getCodeGenOpts().hasProfileClangInstr() &&
1276 CGM.getCodeGenOpts().OptimizationLevel > 0 &&
1322 if (CGM.getCodeGenOpts().hasProfileClangInstr()) {
1710 if (Call && CGM.getCodeGenOpts().OptimizationLevel != 0) {
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp 565 CGM.getCodeGenOpts().getDebugInfo() >= codegenoptions::LimitedDebugInfo;
tools/clang/lib/CodeGen/CGVTables.cpp 481 return CGM.getCodeGenOpts().OptimizationLevel && !IsUnprototyped;
818 return CGM.getCodeGenOpts().OptimizationLevel > 0 &&
1024 if (getCodeGenOpts().LTOVisibilityPublicStd) {
1069 if (!getCodeGenOpts().LTOUnit)
1128 if (getCodeGenOpts().VirtualFunctionElimination) {
tools/clang/lib/CodeGen/CodeGenFunction.cpp 66 CGM.getCodeGenOpts(), CGM.getLangOpts())) {
77 if (CGM.getCodeGenOpts().NoNaNsFPMath) {
80 if (CGM.getCodeGenOpts().NoSignedZeros) {
83 if (CGM.getCodeGenOpts().ReciprocalMath) {
86 if (CGM.getCodeGenOpts().Reassociate) {
343 if (CGM.getCodeGenOpts().InstrumentFunctions)
345 if (CGM.getCodeGenOpts().InstrumentFunctionsAfterInlining)
407 if (CGM.getCodeGenOpts().EmitDeclMetadata)
468 if (!CGM.getCodeGenOpts().InstrumentFunctions &&
469 !CGM.getCodeGenOpts().InstrumentFunctionsAfterInlining &&
470 !CGM.getCodeGenOpts().InstrumentFunctionEntryBare)
480 return CGM.getCodeGenOpts().XRayInstrumentFunctions;
486 return CGM.getCodeGenOpts().XRayInstrumentFunctions &&
487 (CGM.getCodeGenOpts().XRayAlwaysEmitCustomEvents ||
488 CGM.getCodeGenOpts().XRayInstrumentationBundle.Mask ==
493 return CGM.getCodeGenOpts().XRayInstrumentFunctions &&
494 (CGM.getCodeGenOpts().XRayAlwaysEmitTypedEvents ||
495 CGM.getCodeGenOpts().XRayInstrumentationBundle.Mask ==
744 if (CGM.getCodeGenOpts().XRayInstrumentationBundle.has(
759 llvm::itostr(CGM.getCodeGenOpts().XRayInstructionThreshold));
765 llvm::toStringRef(CGM.getCodeGenOpts().NoUseJumpTables));
768 if (CGM.getCodeGenOpts().ProfileSampleAccurate)
827 CGM.getCodeGenOpts().StackAlignment)
868 if (CGM.getCodeGenOpts().InstrumentFunctions)
870 if (CGM.getCodeGenOpts().InstrumentFunctionsAfterInlining)
873 if (CGM.getCodeGenOpts().InstrumentFunctionEntryBare)
882 if (CGM.getCodeGenOpts().InstrumentForProfiling) {
886 if (CGM.getCodeGenOpts().CallFEntry)
1054 if (HaveInsertPoint() && CGM.getCodeGenOpts().hasProfileClangInstr()) {
1220 CGM.getCodeGenOpts().StrictReturn ||
1229 if (CGM.getCodeGenOpts().OptimizationLevel == 0)
1538 if (Call && CGM.getCodeGenOpts().OptimizationLevel != 0) {
2014 if (CGM.getCodeGenOpts().getDebugInfo() >= codegenoptions::LimitedDebugInfo)
2241 if (!CGM.getCodeGenOpts().SanitizeStats)
tools/clang/lib/CodeGen/CodeGenFunction.h 1343 if (CGM.getCodeGenOpts().hasProfileClangInstr())
1627 return CGM.getCodeGenOpts().OptimizationLevel == 0;
1720 CGM.getCodeGenOpts().ObjCAutoRefCountExceptions;
3802 return CGM.getCodeGenOpts().ObjCAutoRefCountExceptions
tools/clang/lib/CodeGen/CodeGenModule.cpp 425 PGOStats.reportDiagnostics(getDiags(), getCodeGenOpts().MainFileName);
592 if (getCodeGenOpts().CodeModel.size() > 0) {
593 unsigned CM = llvm::StringSwitch<unsigned>(getCodeGenOpts().CodeModel)
611 if (getCodeGenOpts().EmitDeclMetadata)
614 if (getCodeGenOpts().EmitGcovArcs || getCodeGenOpts().EmitGcovNotes)
614 if (getCodeGenOpts().EmitGcovArcs || getCodeGenOpts().EmitGcovNotes)
620 if (getCodeGenOpts().EmitVersionIdentMetadata)
623 if (!getCodeGenOpts().RecordCommandLine.empty())
816 const auto &CGOpts = CGM.getCodeGenOpts();
1427 if (getCodeGenOpts().EmitOpenCLArgMetadata)
1455 if (!CGM.getCodeGenOpts().LTOUnit ||
1844 if (getCodeGenOpts().AssumeSaneOperatorNew &&
3361 !getCodeGenOpts().LTOVisibilityPublicStd) {
4095 if (getCodeGenOpts().getDebugInfo() >= codegenoptions::LimitedDebugInfo)
5339 if (getCodeGenOpts().getDebugInfo() >= codegenoptions::LimitedDebugInfo)
5659 std::string CommandLine = getCodeGenOpts().RecordCommandLine;
5682 if (getCodeGenOpts().CoverageDataFile.empty() &&
5683 getCodeGenOpts().CoverageNotesFile.empty())
5693 llvm::MDString::get(Ctx, getCodeGenOpts().CoverageDataFile);
5695 llvm::MDString::get(Ctx, getCodeGenOpts().CoverageNotesFile);
tools/clang/lib/CodeGen/CodeGenPGO.cpp 36 Name, Linkage, CGM.getCodeGenOpts().MainFileName,
40 if (CGM.getCodeGenOpts().hasProfileClangInstr())
764 bool InstrumentRegions = CGM.getCodeGenOpts().hasProfileClangInstr();
786 if (CGM.getCodeGenOpts().CoverageMapping)
894 if (!CGM.getCodeGenOpts().hasProfileClangInstr() || !RegionCounterMap)
929 bool InstrumentValueSites = CGM.getCodeGenOpts().hasProfileClangInstr();
tools/clang/lib/CodeGen/CodeGenTypes.cpp 47 return CGM.getCodeGenOpts();
tools/clang/lib/CodeGen/CoverageMappingGen.cpp 1345 if (CGM.getCodeGenOpts().DumpCoverageMapping) {
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp 654 bool ShouldEmitVFEInfo = CGM.getCodeGenOpts().VirtualFunctionElimination &&
712 if (CGM.getCodeGenOpts().SanitizeTrap.has(SanitizerKind::CFIMFCall)) {
1803 if (CGM.getCodeGenOpts().OptimizationLevel > 0 &&
1804 CGM.getCodeGenOpts().StrictVTablePointers)
1861 if (CGM.getCodeGenOpts().ForceEmitVTables)
2024 CGM.getCodeGenOpts().SanitizeAddressPoisonCustomArrayCookie)) {
2441 if (getCodeGenOpts().CXAAtExit)
2463 if (CGM.getCodeGenOpts().CXAAtExit || D.getTLSKind())
3543 TypeName->setPartition(CGM.getCodeGenOpts().SymbolPartition);
3544 GV->setPartition(CGM.getCodeGenOpts().SymbolPartition);
3886 if (!CGM.getCodeGenOpts().CXXCtorDtorAliases)
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp 1609 if (!CGM.getCodeGenOpts().LTOUnit)
1891 if (CGM.getCodeGenOpts().PrepareForLTO)
tools/clang/lib/CodeGen/TargetInfo.cpp 2410 if (CGM.getCodeGenOpts().StackProbeSize != 4096)
2412 llvm::utostr(CGM.getCodeGenOpts().StackProbeSize));
2413 if (CGM.getCodeGenOpts().NoStackArgProbe)
5060 auto Kind = CGM.getCodeGenOpts().getSignReturnAddress();
5067 auto Key = CGM.getCodeGenOpts().getSignReturnAddressKey();
5074 if (CGM.getCodeGenOpts().BranchTargetEnforcement)
9981 if (CGF.CGM.getCodeGenOpts().EmitOpenCLArgMetadata)