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()
805 if (CGM.getCodeGenOpts().XRayInstrumentationBundle.has( in StartFunction()
807 CGM.getCodeGenOpts().XRayInstrumentationBundle.has( in StartFunction()
824 llvm::itostr(CGM.getCodeGenOpts().XRayInstructionThreshold)); in StartFunction()
828 if (CGM.getCodeGenOpts().XRayIgnoreLoops) in StartFunction()
831 if (!CGM.getCodeGenOpts().XRayInstrumentationBundle.has( in StartFunction()
835 if (!CGM.getCodeGenOpts().XRayInstrumentationBundle.has( in StartFunction()
839 auto FuncGroups = CGM.getCodeGenOpts().XRayTotalFunctionGroups; in StartFunction()
844 if (Group != CGM.getCodeGenOpts().XRaySelectedFunctionGroup && in StartFunction()
850 if (CGM.getCodeGenOpts().getProfileInstr() != CodeGenOptions::ProfileNone) in StartFunction()
860 Count = CGM.getCodeGenOpts().PatchableFunctionEntryCount; in StartFunction()
861 Offset = CGM.getCodeGenOpts().PatchableFunctionEntryOffset; in StartFunction()
870 if (CGM.getCodeGenOpts().NoUseJumpTables) in StartFunction()
874 if (CGM.getCodeGenOpts().NoInlineLineTables) in StartFunction()
878 if (CGM.getCodeGenOpts().ProfileSampleAccurate) in StartFunction()
881 if (!CGM.getCodeGenOpts().SampleProfileFile.empty()) in StartFunction()
956 CGM.getCodeGenOpts().StackAlignment) in StartFunction()
996 if (CGM.getCodeGenOpts().InstrumentFunctions) in StartFunction()
998 if (CGM.getCodeGenOpts().InstrumentFunctionsAfterInlining) in StartFunction()
1001 if (CGM.getCodeGenOpts().InstrumentFunctionEntryBare) in StartFunction()
1010 if (CGM.getCodeGenOpts().InstrumentForProfiling) { in StartFunction()
1014 if (CGM.getCodeGenOpts().CallFEntry) in StartFunction()
1020 if (CGM.getCodeGenOpts().MNopMCount) { in StartFunction()
1021 if (!CGM.getCodeGenOpts().CallFEntry) in StartFunction()
1027 if (CGM.getCodeGenOpts().RecordMCount) { in StartFunction()
1028 if (!CGM.getCodeGenOpts().CallFEntry) in StartFunction()
1036 if (CGM.getCodeGenOpts().PackedStack) { in StartFunction()
1208 if (HaveInsertPoint() && CGM.getCodeGenOpts().hasProfileClangInstr()) { in EmitBlockWithFallThrough()
1372 CGM.getCodeGenOpts().StrictReturn || in GenerateCode()
1381 if (CGM.getCodeGenOpts().OptimizationLevel == 0) in GenerateCode()
1534 bool InstrumentRegions = CGM.getCodeGenOpts().hasProfileClangInstr(); in EmitBranchToCounterBlock()
1796 if (Call && CGM.getCodeGenOpts().OptimizationLevel != 0) { in EmitBranchOnBoolExpr()
2272 if (CGM.getCodeGenOpts().hasReducedDebugInfo()) in EmitDeclRefExprDbgValue()
2508 if (!CGM.getCodeGenOpts().SanitizeStats) in EmitSanitizerStatReport()
2668 if (CGM.getCodeGenOpts().OptimizationLevel == 0) in emitCondLikelihoodViaExpectIntrinsic()