Lines Matching refs:getCodeGenOpts

78           shouldEmitLifetimeMarkers(CGM.getCodeGenOpts(), CGM.getLangOpts())) {  in CodeGenFunction()
385 if (CGM.getCodeGenOpts().InstrumentFunctions) in FinishFunction()
387 if (CGM.getCodeGenOpts().InstrumentFunctionsAfterInlining) in FinishFunction()
457 if (CGM.getCodeGenOpts().EmitDeclMetadata) in FinishFunction()
533 if (!CGM.getCodeGenOpts().InstrumentFunctions && in ShouldInstrumentFunction()
534 !CGM.getCodeGenOpts().InstrumentFunctionsAfterInlining && in ShouldInstrumentFunction()
535 !CGM.getCodeGenOpts().InstrumentFunctionEntryBare) in ShouldInstrumentFunction()
551 return CGM.getCodeGenOpts().XRayInstrumentFunctions; in ShouldXRayInstrumentFunction()
557 return CGM.getCodeGenOpts().XRayInstrumentFunctions && in AlwaysEmitXRayCustomEvents()
558 (CGM.getCodeGenOpts().XRayAlwaysEmitCustomEvents || in AlwaysEmitXRayCustomEvents()
559 CGM.getCodeGenOpts().XRayInstrumentationBundle.Mask == in AlwaysEmitXRayCustomEvents()
564 return CGM.getCodeGenOpts().XRayInstrumentFunctions && in AlwaysEmitXRayTypedEvents()
565 (CGM.getCodeGenOpts().XRayAlwaysEmitTypedEvents || in AlwaysEmitXRayTypedEvents()
566 CGM.getCodeGenOpts().XRayInstrumentationBundle.Mask == in AlwaysEmitXRayTypedEvents()
756 if (NoSanitizeCoverage && CGM.getCodeGenOpts().hasSanitizeCoverage()) in StartFunction()
817 if (CGM.getCodeGenOpts().XRayInstrumentationBundle.has( in StartFunction()
819 CGM.getCodeGenOpts().XRayInstrumentationBundle.has( in StartFunction()
836 llvm::itostr(CGM.getCodeGenOpts().XRayInstructionThreshold)); in StartFunction()
840 if (CGM.getCodeGenOpts().XRayIgnoreLoops) in StartFunction()
843 if (!CGM.getCodeGenOpts().XRayInstrumentationBundle.has( in StartFunction()
847 if (!CGM.getCodeGenOpts().XRayInstrumentationBundle.has( in StartFunction()
851 auto FuncGroups = CGM.getCodeGenOpts().XRayTotalFunctionGroups; in StartFunction()
856 if (Group != CGM.getCodeGenOpts().XRaySelectedFunctionGroup && in StartFunction()
862 if (CGM.getCodeGenOpts().getProfileInstr() != CodeGenOptions::ProfileNone) { in StartFunction()
881 Count = CGM.getCodeGenOpts().PatchableFunctionEntryCount; in StartFunction()
882 Offset = CGM.getCodeGenOpts().PatchableFunctionEntryOffset; in StartFunction()
893 if (CGM.getCodeGenOpts().HotPatch && in StartFunction()
900 if (CGM.getCodeGenOpts().NoUseJumpTables) in StartFunction()
904 if (CGM.getCodeGenOpts().NoInlineLineTables) in StartFunction()
908 if (CGM.getCodeGenOpts().ProfileSampleAccurate) in StartFunction()
911 if (!CGM.getCodeGenOpts().SampleProfileFile.empty()) in StartFunction()
930 } else if (CGM.getCodeGenOpts().FunctionReturnThunks) in StartFunction()
1003 CGM.getCodeGenOpts().StackAlignment)) in StartFunction()
1041 if (CGM.getCodeGenOpts().InstrumentFunctions) in StartFunction()
1043 if (CGM.getCodeGenOpts().InstrumentFunctionsAfterInlining) in StartFunction()
1046 if (CGM.getCodeGenOpts().InstrumentFunctionEntryBare) in StartFunction()
1055 if (CGM.getCodeGenOpts().InstrumentForProfiling) { in StartFunction()
1059 if (CGM.getCodeGenOpts().CallFEntry) in StartFunction()
1065 if (CGM.getCodeGenOpts().MNopMCount) { in StartFunction()
1066 if (!CGM.getCodeGenOpts().CallFEntry) in StartFunction()
1072 if (CGM.getCodeGenOpts().RecordMCount) { in StartFunction()
1073 if (!CGM.getCodeGenOpts().CallFEntry) in StartFunction()
1081 if (CGM.getCodeGenOpts().PackedStack) { in StartFunction()
1089 if (CGM.getCodeGenOpts().WarnStackSize != UINT_MAX && in StartFunction()
1092 std::to_string(CGM.getCodeGenOpts().WarnStackSize)); in StartFunction()
1265 if (HaveInsertPoint() && CGM.getCodeGenOpts().hasProfileClangInstr()) { in EmitBlockWithFallThrough()
1469 CGM.getCodeGenOpts().StrictReturn || in GenerateCode()
1478 if (CGM.getCodeGenOpts().OptimizationLevel == 0) in GenerateCode()
1631 bool InstrumentRegions = CGM.getCodeGenOpts().hasProfileClangInstr(); in EmitBranchToCounterBlock()
1893 if (Call && CGM.getCodeGenOpts().OptimizationLevel != 0) { in EmitBranchOnBoolExpr()
2379 if (CGM.getCodeGenOpts().hasReducedDebugInfo()) in EmitDeclRefExprDbgValue()
2618 if (!CGM.getCodeGenOpts().SanitizeStats) in EmitSanitizerStatReport()
2863 if (CGM.getCodeGenOpts().OptimizationLevel == 0) in emitCondLikelihoodViaExpectIntrinsic()