Lines Matching refs:CodeGenOpts
107 HeaderSearchOpts(HSO), PreprocessorOpts(PPO), CodeGenOpts(CGO), in CodeGenModule()
164 (!CodeGenOpts.RelaxedAliasing && CodeGenOpts.OptimizationLevel > 0)) in CodeGenModule()
165 TBAA.reset(new CodeGenTBAA(Context, TheModule, CodeGenOpts, getLangOpts(), in CodeGenModule()
170 if (CodeGenOpts.getDebugInfo() != codegenoptions::NoDebugInfo || in CodeGenModule()
171 CodeGenOpts.EmitGcovArcs || CodeGenOpts.EmitGcovNotes) in CodeGenModule()
179 if (CodeGenOpts.hasProfileClangUse()) { in CodeGenModule()
181 CodeGenOpts.ProfileInstrumentUsePath, CodeGenOpts.ProfileRemappingFile); in CodeGenModule()
186 getDiags().Report(DiagID) << CodeGenOpts.ProfileInstrumentUsePath in CodeGenModule()
195 if (CodeGenOpts.CoverageMapping) in CodeGenModule()
199 if (CodeGenOpts.UniqueInternalLinkageNames && in CodeGenModule()
572 if (CodeGenOpts.SanitizeCfiCrossDso) { in Release()
634 if (CodeGenOpts.Autolink && in Release()
660 CodeGenOpts.NumRegisterParameters); in Release()
662 if (CodeGenOpts.DwarfVersion) { in Release()
664 CodeGenOpts.DwarfVersion); in Release()
667 if (CodeGenOpts.Dwarf64) in Release()
674 if (CodeGenOpts.EmitCodeView) { in Release()
678 if (CodeGenOpts.CodeViewGHash) { in Release()
681 if (CodeGenOpts.ControlFlowGuard) { in Release()
684 } else if (CodeGenOpts.ControlFlowGuardNoChecks) { in Release()
688 if (CodeGenOpts.EHContGuard) { in Release()
692 if (CodeGenOpts.OptimizationLevel > 0 && CodeGenOpts.StrictVTablePointers) { in Release()
739 if (CodeGenOpts.SanitizeCfiCrossDso) { in Release()
744 if (CodeGenOpts.WholeProgramVTables) { in Release()
749 CodeGenOpts.VirtualFunctionElimination); in Release()
755 CodeGenOpts.SanitizeCfiCanonicalJumpTables); in Release()
758 if (CodeGenOpts.CFProtectionReturn && in Release()
765 if (CodeGenOpts.CFProtectionBranch && in Release()
772 if (CodeGenOpts.IBTSeal) in Release()
775 if (CodeGenOpts.FunctionReturnThunks) in Release()
813 if (!CodeGenOpts.MemoryProfileOutput.empty()) { in Release()
817 llvm::MDString::get(Ctx, CodeGenOpts.MemoryProfileOutput)); in Release()
825 CodeGenOpts.FP32DenormalMode.Output != in Release()
886 if (CodeGenOpts.NoPLT) in Release()
888 if (CodeGenOpts.UnwindTables) in Release()
889 getModule().setUwtable(llvm::UWTableKind(CodeGenOpts.UnwindTables)); in Release()
891 switch (CodeGenOpts.getFramePointer()) { in Release()
941 EmbedObject(&getModule(), CodeGenOpts, getDiags()); in Release()
967 const CodeGenOptions CodeGenOpts) { in EmitBackendOptionsMetadata() argument
974 CodeGenOpts.SmallDataLimit); in EmitBackendOptionsMetadata()
1265 GV->setPartition(CodeGenOpts.SymbolPartition); in setGVPropertiesAux()
1278 switch (CodeGenOpts.getDefaultTLSModel()) { in GetDefaultLLVMTLSModel()
1593 if (CodeGenOpts.RegisterGlobalDtorsWithAtExit && in AddGlobalDtor()
1938 if (CodeGenOpts.UnwindTables) in SetLLVMFunctionAttributesForDefinition()
1939 B.addUWTableAttr(llvm::UWTableKind(CodeGenOpts.UnwindTables)); in SetLLVMFunctionAttributesForDefinition()
1941 if (CodeGenOpts.StackClashProtector) in SetLLVMFunctionAttributesForDefinition()
1961 CodeGenOpts.getInlining() == CodeGenOptions::OnlyAlwaysInlining) in SetLLVMFunctionAttributesForDefinition()
1971 !CodeGenOpts.DisableO0ImplyOptNone && CodeGenOpts.OptimizationLevel == 0; in SetLLVMFunctionAttributesForDefinition()
2005 } else if (CodeGenOpts.getInlining() == CodeGenOptions::OnlyAlwaysInlining) { in SetLLVMFunctionAttributesForDefinition()
2028 } else if (CodeGenOpts.getInlining() == in SetLLVMFunctionAttributesForDefinition()
2072 if (CodeGenOpts.SanitizeCfiCrossDso && in SetLLVMFunctionAttributesForDefinition()
2073 CodeGenOpts.SanitizeCfiCanonicalJumpTables) { in SetLLVMFunctionAttributesForDefinition()
2115 if (CodeGenOpts.KeepStaticConsts && D && isa<VarDecl>(D)) { in SetCommonAttributes()
2278 if (CodeGenOpts.SanitizeCfiCrossDso) in CreateFunctionTypeMetadataForIcall()
2361 if (!CodeGenOpts.SanitizeCfiCrossDso || in SetFunctionAttributes()
2362 !CodeGenOpts.SanitizeCfiCanonicalJumpTables) in SetFunctionAttributes()
2942 if (CodeGenOpts.KeepStaticConsts) { in MustBeEmitted()
3417 if (CodeGenOpts.OptimizationLevel == 0 && !F->hasAttr<AlwaysInlineAttr>()) in shouldEmitFunction()
3454 return CodeGenOpts.OptimizationLevel > 0; in shouldOpportunisticallyEmitVTables()
5052 CodeGenOpts.NoCommon)) in getLLVMLinkageForDeclarator()
5637 return !CodeGenOpts.EmitCodeView || CodeGenOpts.DebugColumnInfo; in getExpressionLocationsEnabled()
6379 if (!CodeGenOpts.CoverageMapping) in AddDeferredUnusedCoverageMapping()
6405 if (!CodeGenOpts.CoverageMapping) in ClearUnusedCoverageMapping()
6800 !CodeGenOpts.SanitizeTrap.has(SanitizerKind::CFIVCall)) || in NeedAllVtablesTypeId()
6802 !CodeGenOpts.SanitizeTrap.has(SanitizerKind::CFINVCall)) || in NeedAllVtablesTypeId()
6804 !CodeGenOpts.SanitizeTrap.has(SanitizerKind::CFIDerivedCast)) || in NeedAllVtablesTypeId()
6806 !CodeGenOpts.SanitizeTrap.has(SanitizerKind::CFIUnrelatedCast))); in NeedAllVtablesTypeId()
6816 if (CodeGenOpts.SanitizeCfiCrossDso) in AddVTableTypeMetadata()