Lines Matching refs:getCodeGenOpts

84           shouldEmitLifetimeMarkers(CGM.getCodeGenOpts(), CGM.getLangOpts())) {  in CodeGenFunction()
430 if (CGM.getCodeGenOpts().InstrumentFunctions) in FinishFunction()
432 if (CGM.getCodeGenOpts().InstrumentFunctionsAfterInlining) in FinishFunction()
502 if (CGM.getCodeGenOpts().EmitDeclMetadata) in FinishFunction()
579 if (!CGM.getCodeGenOpts().InstrumentFunctions && in ShouldInstrumentFunction()
580 !CGM.getCodeGenOpts().InstrumentFunctionsAfterInlining && in ShouldInstrumentFunction()
581 !CGM.getCodeGenOpts().InstrumentFunctionEntryBare) in ShouldInstrumentFunction()
597 return CGM.getCodeGenOpts().XRayInstrumentFunctions; in ShouldXRayInstrumentFunction()
603 return CGM.getCodeGenOpts().XRayInstrumentFunctions && in AlwaysEmitXRayCustomEvents()
604 (CGM.getCodeGenOpts().XRayAlwaysEmitCustomEvents || in AlwaysEmitXRayCustomEvents()
605 CGM.getCodeGenOpts().XRayInstrumentationBundle.Mask == in AlwaysEmitXRayCustomEvents()
610 return CGM.getCodeGenOpts().XRayInstrumentFunctions && in AlwaysEmitXRayTypedEvents()
611 (CGM.getCodeGenOpts().XRayAlwaysEmitTypedEvents || in AlwaysEmitXRayTypedEvents()
612 CGM.getCodeGenOpts().XRayInstrumentationBundle.Mask == in AlwaysEmitXRayTypedEvents()
815 if (NoSanitizeCoverage && CGM.getCodeGenOpts().hasSanitizeCoverage()) in StartFunction()
819 if (CGM.getCodeGenOpts().hasSanitizeBinaryMetadata()) { in StartFunction()
882 const CodeGenOptions &CodeGenOpts = CGM.getCodeGenOpts(); in StartFunction()
895 if (CGM.getCodeGenOpts().XRayInstrumentationBundle.has( in StartFunction()
897 CGM.getCodeGenOpts().XRayInstrumentationBundle.has( in StartFunction()
914 llvm::itostr(CGM.getCodeGenOpts().XRayInstructionThreshold)); in StartFunction()
918 if (CGM.getCodeGenOpts().XRayIgnoreLoops) in StartFunction()
921 if (!CGM.getCodeGenOpts().XRayInstrumentationBundle.has( in StartFunction()
925 if (!CGM.getCodeGenOpts().XRayInstrumentationBundle.has( in StartFunction()
929 auto FuncGroups = CGM.getCodeGenOpts().XRayTotalFunctionGroups; in StartFunction()
934 if (Group != CGM.getCodeGenOpts().XRaySelectedFunctionGroup && in StartFunction()
940 if (CGM.getCodeGenOpts().getProfileInstr() != CodeGenOptions::ProfileNone) { in StartFunction()
959 Count = CGM.getCodeGenOpts().PatchableFunctionEntryCount; in StartFunction()
960 Offset = CGM.getCodeGenOpts().PatchableFunctionEntryOffset; in StartFunction()
971 if (CGM.getCodeGenOpts().HotPatch && in StartFunction()
978 if (CGM.getCodeGenOpts().NoUseJumpTables) in StartFunction()
982 if (CGM.getCodeGenOpts().NoInlineLineTables) in StartFunction()
986 if (CGM.getCodeGenOpts().ProfileSampleAccurate) in StartFunction()
989 if (!CGM.getCodeGenOpts().SampleProfileFile.empty()) in StartFunction()
1011 } else if (CGM.getCodeGenOpts().FunctionReturnThunks) in StartFunction()
1083 CGM.getCodeGenOpts().StackAlignment)) in StartFunction()
1121 if (CGM.getCodeGenOpts().InstrumentFunctions) in StartFunction()
1123 if (CGM.getCodeGenOpts().InstrumentFunctionsAfterInlining) in StartFunction()
1126 if (CGM.getCodeGenOpts().InstrumentFunctionEntryBare) in StartFunction()
1135 if (CGM.getCodeGenOpts().InstrumentForProfiling) { in StartFunction()
1139 if (CGM.getCodeGenOpts().CallFEntry) in StartFunction()
1145 if (CGM.getCodeGenOpts().MNopMCount) { in StartFunction()
1146 if (!CGM.getCodeGenOpts().CallFEntry) in StartFunction()
1152 if (CGM.getCodeGenOpts().RecordMCount) { in StartFunction()
1153 if (!CGM.getCodeGenOpts().CallFEntry) in StartFunction()
1161 if (CGM.getCodeGenOpts().PackedStack) { in StartFunction()
1169 if (CGM.getCodeGenOpts().WarnStackSize != UINT_MAX && in StartFunction()
1172 std::to_string(CGM.getCodeGenOpts().WarnStackSize)); in StartFunction()
1347 if (HaveInsertPoint() && CGM.getCodeGenOpts().hasProfileClangInstr() && in EmitBlockWithFallThrough()
1572 CGM.getCodeGenOpts().StrictReturn || in GenerateCode()
1581 if (CGM.getCodeGenOpts().OptimizationLevel == 0) in GenerateCode()
1687 if (!AllowLabels && CGM.getCodeGenOpts().hasProfileClangInstr() && in ConstantFoldsToSimpleInteger()
1688 CGM.getCodeGenOpts().MCDCCoverage) in ConstantFoldsToSimpleInteger()
1745 bool InstrumentRegions = CGM.getCodeGenOpts().hasProfileClangInstr(); in EmitBranchToCounterBlock()
1944 bool MCDCCondition = CGM.getCodeGenOpts().hasProfileClangInstr() && in EmitBranchOnBoolExpr()
1945 CGM.getCodeGenOpts().MCDCCoverage && in EmitBranchOnBoolExpr()
2039 if (Call && CGM.getCodeGenOpts().OptimizationLevel != 0) { in EmitBranchOnBoolExpr()
2525 if (CGM.getCodeGenOpts().hasReducedDebugInfo()) in EmitDeclRefExprDbgValue()
2790 if (!CGM.getCodeGenOpts().SanitizeStats) in EmitSanitizerStatReport()
3039 if (CGM.getCodeGenOpts().OptimizationLevel == 0) in emitCondLikelihoodViaExpectIntrinsic()