Lines Matching refs:getCodeGenOpts
75 shouldEmitLifetimeMarkers(CGM.getCodeGenOpts(), CGM.getLangOpts())) { in CodeGenFunction()
389 if (CGM.getCodeGenOpts().InstrumentFunctions) in FinishFunction()
391 if (CGM.getCodeGenOpts().InstrumentFunctionsAfterInlining) in FinishFunction()
453 if (CGM.getCodeGenOpts().EmitDeclMetadata) in FinishFunction()
523 if (!CGM.getCodeGenOpts().InstrumentFunctions && in ShouldInstrumentFunction()
524 !CGM.getCodeGenOpts().InstrumentFunctionsAfterInlining && in ShouldInstrumentFunction()
525 !CGM.getCodeGenOpts().InstrumentFunctionEntryBare) in ShouldInstrumentFunction()
535 return CGM.getCodeGenOpts().XRayInstrumentFunctions; in ShouldXRayInstrumentFunction()
541 return CGM.getCodeGenOpts().XRayInstrumentFunctions && in AlwaysEmitXRayCustomEvents()
542 (CGM.getCodeGenOpts().XRayAlwaysEmitCustomEvents || in AlwaysEmitXRayCustomEvents()
543 CGM.getCodeGenOpts().XRayInstrumentationBundle.Mask == in AlwaysEmitXRayCustomEvents()
548 return CGM.getCodeGenOpts().XRayInstrumentFunctions && in AlwaysEmitXRayTypedEvents()
549 (CGM.getCodeGenOpts().XRayAlwaysEmitTypedEvents || in AlwaysEmitXRayTypedEvents()
550 CGM.getCodeGenOpts().XRayInstrumentationBundle.Mask == in AlwaysEmitXRayTypedEvents()
757 if (NoSanitizeCoverage && CGM.getCodeGenOpts().hasSanitizeCoverage()) in StartFunction()
813 if (CGM.getCodeGenOpts().XRayInstrumentationBundle.has( in StartFunction()
815 CGM.getCodeGenOpts().XRayInstrumentationBundle.has( in StartFunction()
832 llvm::itostr(CGM.getCodeGenOpts().XRayInstructionThreshold)); in StartFunction()
836 if (CGM.getCodeGenOpts().XRayIgnoreLoops) in StartFunction()
839 if (!CGM.getCodeGenOpts().XRayInstrumentationBundle.has( in StartFunction()
843 if (!CGM.getCodeGenOpts().XRayInstrumentationBundle.has( in StartFunction()
847 auto FuncGroups = CGM.getCodeGenOpts().XRayTotalFunctionGroups; in StartFunction()
852 if (Group != CGM.getCodeGenOpts().XRaySelectedFunctionGroup && in StartFunction()
858 if (CGM.getCodeGenOpts().getProfileInstr() != CodeGenOptions::ProfileNone) in StartFunction()
868 Count = CGM.getCodeGenOpts().PatchableFunctionEntryCount; in StartFunction()
869 Offset = CGM.getCodeGenOpts().PatchableFunctionEntryOffset; in StartFunction()
878 if (CGM.getCodeGenOpts().NoUseJumpTables) in StartFunction()
882 if (CGM.getCodeGenOpts().NoInlineLineTables) in StartFunction()
886 if (CGM.getCodeGenOpts().ProfileSampleAccurate) in StartFunction()
889 if (!CGM.getCodeGenOpts().SampleProfileFile.empty()) in StartFunction()
959 CGM.getCodeGenOpts().StackAlignment)) in StartFunction()
999 if (CGM.getCodeGenOpts().InstrumentFunctions) in StartFunction()
1001 if (CGM.getCodeGenOpts().InstrumentFunctionsAfterInlining) in StartFunction()
1004 if (CGM.getCodeGenOpts().InstrumentFunctionEntryBare) in StartFunction()
1013 if (CGM.getCodeGenOpts().InstrumentForProfiling) { in StartFunction()
1017 if (CGM.getCodeGenOpts().CallFEntry) in StartFunction()
1023 if (CGM.getCodeGenOpts().MNopMCount) { in StartFunction()
1024 if (!CGM.getCodeGenOpts().CallFEntry) in StartFunction()
1030 if (CGM.getCodeGenOpts().RecordMCount) { in StartFunction()
1031 if (!CGM.getCodeGenOpts().CallFEntry) in StartFunction()
1039 if (CGM.getCodeGenOpts().PackedStack) { in StartFunction()
1047 if (CGM.getCodeGenOpts().WarnStackSize != UINT_MAX) in StartFunction()
1049 std::to_string(CGM.getCodeGenOpts().WarnStackSize)); in StartFunction()
1216 if (HaveInsertPoint() && CGM.getCodeGenOpts().hasProfileClangInstr()) { in EmitBlockWithFallThrough()
1386 CGM.getCodeGenOpts().StrictReturn || in GenerateCode()
1395 if (CGM.getCodeGenOpts().OptimizationLevel == 0) in GenerateCode()
1548 bool InstrumentRegions = CGM.getCodeGenOpts().hasProfileClangInstr(); in EmitBranchToCounterBlock()
1810 if (Call && CGM.getCodeGenOpts().OptimizationLevel != 0) { in EmitBranchOnBoolExpr()
2286 if (CGM.getCodeGenOpts().hasReducedDebugInfo()) in EmitDeclRefExprDbgValue()
2522 if (!CGM.getCodeGenOpts().SanitizeStats) in EmitSanitizerStatReport()
2682 if (CGM.getCodeGenOpts().OptimizationLevel == 0) in emitCondLikelihoodViaExpectIntrinsic()