Lines Matching refs:getCodeGenOpts
79 shouldEmitLifetimeMarkers(CGM.getCodeGenOpts(), CGM.getLangOpts())) { in CodeGenFunction()
386 if (CGM.getCodeGenOpts().InstrumentFunctions) in FinishFunction()
388 if (CGM.getCodeGenOpts().InstrumentFunctionsAfterInlining) in FinishFunction()
458 if (CGM.getCodeGenOpts().EmitDeclMetadata) in FinishFunction()
534 if (!CGM.getCodeGenOpts().InstrumentFunctions && in ShouldInstrumentFunction()
535 !CGM.getCodeGenOpts().InstrumentFunctionsAfterInlining && in ShouldInstrumentFunction()
536 !CGM.getCodeGenOpts().InstrumentFunctionEntryBare) in ShouldInstrumentFunction()
552 return CGM.getCodeGenOpts().XRayInstrumentFunctions; in ShouldXRayInstrumentFunction()
558 return CGM.getCodeGenOpts().XRayInstrumentFunctions && in AlwaysEmitXRayCustomEvents()
559 (CGM.getCodeGenOpts().XRayAlwaysEmitCustomEvents || in AlwaysEmitXRayCustomEvents()
560 CGM.getCodeGenOpts().XRayInstrumentationBundle.Mask == in AlwaysEmitXRayCustomEvents()
565 return CGM.getCodeGenOpts().XRayInstrumentFunctions && in AlwaysEmitXRayTypedEvents()
566 (CGM.getCodeGenOpts().XRayAlwaysEmitTypedEvents || in AlwaysEmitXRayTypedEvents()
567 CGM.getCodeGenOpts().XRayInstrumentationBundle.Mask == in AlwaysEmitXRayTypedEvents()
770 if (NoSanitizeCoverage && CGM.getCodeGenOpts().hasSanitizeCoverage()) in StartFunction()
774 if (CGM.getCodeGenOpts().hasSanitizeBinaryMetadata()) { in StartFunction()
837 if (CGM.getCodeGenOpts().XRayInstrumentationBundle.has( in StartFunction()
839 CGM.getCodeGenOpts().XRayInstrumentationBundle.has( in StartFunction()
856 llvm::itostr(CGM.getCodeGenOpts().XRayInstructionThreshold)); in StartFunction()
860 if (CGM.getCodeGenOpts().XRayIgnoreLoops) in StartFunction()
863 if (!CGM.getCodeGenOpts().XRayInstrumentationBundle.has( in StartFunction()
867 if (!CGM.getCodeGenOpts().XRayInstrumentationBundle.has( in StartFunction()
871 auto FuncGroups = CGM.getCodeGenOpts().XRayTotalFunctionGroups; in StartFunction()
876 if (Group != CGM.getCodeGenOpts().XRaySelectedFunctionGroup && in StartFunction()
882 if (CGM.getCodeGenOpts().getProfileInstr() != CodeGenOptions::ProfileNone) { in StartFunction()
901 Count = CGM.getCodeGenOpts().PatchableFunctionEntryCount; in StartFunction()
902 Offset = CGM.getCodeGenOpts().PatchableFunctionEntryOffset; in StartFunction()
913 if (CGM.getCodeGenOpts().HotPatch && in StartFunction()
920 if (CGM.getCodeGenOpts().NoUseJumpTables) in StartFunction()
924 if (CGM.getCodeGenOpts().NoInlineLineTables) in StartFunction()
928 if (CGM.getCodeGenOpts().ProfileSampleAccurate) in StartFunction()
931 if (!CGM.getCodeGenOpts().SampleProfileFile.empty()) in StartFunction()
950 } else if (CGM.getCodeGenOpts().FunctionReturnThunks) in StartFunction()
1016 CGM.getCodeGenOpts().StackAlignment)) in StartFunction()
1054 if (CGM.getCodeGenOpts().InstrumentFunctions) in StartFunction()
1056 if (CGM.getCodeGenOpts().InstrumentFunctionsAfterInlining) in StartFunction()
1059 if (CGM.getCodeGenOpts().InstrumentFunctionEntryBare) in StartFunction()
1068 if (CGM.getCodeGenOpts().InstrumentForProfiling) { in StartFunction()
1072 if (CGM.getCodeGenOpts().CallFEntry) in StartFunction()
1078 if (CGM.getCodeGenOpts().MNopMCount) { in StartFunction()
1079 if (!CGM.getCodeGenOpts().CallFEntry) in StartFunction()
1085 if (CGM.getCodeGenOpts().RecordMCount) { in StartFunction()
1086 if (!CGM.getCodeGenOpts().CallFEntry) in StartFunction()
1094 if (CGM.getCodeGenOpts().PackedStack) { in StartFunction()
1102 if (CGM.getCodeGenOpts().WarnStackSize != UINT_MAX && in StartFunction()
1105 std::to_string(CGM.getCodeGenOpts().WarnStackSize)); in StartFunction()
1273 if (HaveInsertPoint() && CGM.getCodeGenOpts().hasProfileClangInstr()) { in EmitBlockWithFallThrough()
1493 CGM.getCodeGenOpts().StrictReturn || in GenerateCode()
1502 if (CGM.getCodeGenOpts().OptimizationLevel == 0) in GenerateCode()
1608 if (!AllowLabels && CGM.getCodeGenOpts().hasProfileClangInstr() && in ConstantFoldsToSimpleInteger()
1609 CGM.getCodeGenOpts().MCDCCoverage) in ConstantFoldsToSimpleInteger()
1666 bool InstrumentRegions = CGM.getCodeGenOpts().hasProfileClangInstr(); in EmitBranchToCounterBlock()
1865 bool MCDCCondition = CGM.getCodeGenOpts().hasProfileClangInstr() && in EmitBranchOnBoolExpr()
1866 CGM.getCodeGenOpts().MCDCCoverage && in EmitBranchOnBoolExpr()
1960 if (Call && CGM.getCodeGenOpts().OptimizationLevel != 0) { in EmitBranchOnBoolExpr()
2443 if (CGM.getCodeGenOpts().hasReducedDebugInfo()) in EmitDeclRefExprDbgValue()
2691 if (!CGM.getCodeGenOpts().SanitizeStats) in EmitSanitizerStatReport()
2943 if (CGM.getCodeGenOpts().OptimizationLevel == 0) in emitCondLikelihoodViaExpectIntrinsic()