Lines Matching refs:CodeGenOpts
103 PreprocessorOpts(PPO), CodeGenOpts(CGO), TheModule(M), Diags(diags), in CodeGenModule()
150 (!CodeGenOpts.RelaxedAliasing && CodeGenOpts.OptimizationLevel > 0)) in CodeGenModule()
151 TBAA.reset(new CodeGenTBAA(Context, TheModule, CodeGenOpts, getLangOpts(), in CodeGenModule()
156 if (CodeGenOpts.getDebugInfo() != codegenoptions::NoDebugInfo || in CodeGenModule()
157 CodeGenOpts.EmitGcovArcs || CodeGenOpts.EmitGcovNotes) in CodeGenModule()
165 if (CodeGenOpts.hasProfileClangUse()) { in CodeGenModule()
167 CodeGenOpts.ProfileInstrumentUsePath, CodeGenOpts.ProfileRemappingFile); in CodeGenModule()
172 getDiags().Report(DiagID) << CodeGenOpts.ProfileInstrumentUsePath in CodeGenModule()
181 if (CodeGenOpts.CoverageMapping) in CodeGenModule()
185 if (CodeGenOpts.UniqueInternalLinkageNames && in CodeGenModule()
517 if (CodeGenOpts.SanitizeCfiCrossDso) { in Release()
546 if (CodeGenOpts.Autolink && in Release()
572 CodeGenOpts.NumRegisterParameters); in Release()
574 if (CodeGenOpts.DwarfVersion) { in Release()
576 CodeGenOpts.DwarfVersion); in Release()
579 if (CodeGenOpts.Dwarf64) in Release()
586 if (CodeGenOpts.EmitCodeView) { in Release()
590 if (CodeGenOpts.CodeViewGHash) { in Release()
593 if (CodeGenOpts.ControlFlowGuard) { in Release()
596 } else if (CodeGenOpts.ControlFlowGuardNoChecks) { in Release()
600 if (CodeGenOpts.EHContGuard) { in Release()
604 if (CodeGenOpts.OptimizationLevel > 0 && CodeGenOpts.StrictVTablePointers) { in Release()
651 if (CodeGenOpts.SanitizeCfiCrossDso) { in Release()
656 if (CodeGenOpts.WholeProgramVTables) { in Release()
661 CodeGenOpts.VirtualFunctionElimination); in Release()
667 CodeGenOpts.SanitizeCfiCanonicalJumpTables); in Release()
670 if (CodeGenOpts.CFProtectionReturn && in Release()
677 if (CodeGenOpts.CFProtectionBranch && in Release()
701 if (!CodeGenOpts.MemoryProfileOutput.empty()) { in Release()
705 llvm::MDString::get(Ctx, CodeGenOpts.MemoryProfileOutput)); in Release()
713 CodeGenOpts.FP32DenormalMode.Output != in Release()
769 if (CodeGenOpts.NoPLT) in Release()
771 if (CodeGenOpts.UnwindTables) in Release()
774 switch (CodeGenOpts.getFramePointer()) { in Release()
843 const CodeGenOptions CodeGenOpts) { in EmitBackendOptionsMetadata() argument
850 CodeGenOpts.SmallDataLimit); in EmitBackendOptionsMetadata()
1139 GV->setPartition(CodeGenOpts.SymbolPartition); in setGVPropertiesAux()
1152 switch (CodeGenOpts.getDefaultTLSModel()) { in GetDefaultLLVMTLSModel()
1434 if (CodeGenOpts.RegisterGlobalDtorsWithAtExit && in AddGlobalDtor()
1758 if (CodeGenOpts.UnwindTables) in SetLLVMFunctionAttributesForDefinition()
1761 if (CodeGenOpts.StackClashProtector) in SetLLVMFunctionAttributesForDefinition()
1781 CodeGenOpts.getInlining() == CodeGenOptions::OnlyAlwaysInlining) in SetLLVMFunctionAttributesForDefinition()
1791 !CodeGenOpts.DisableO0ImplyOptNone && CodeGenOpts.OptimizationLevel == 0; in SetLLVMFunctionAttributesForDefinition()
1825 } else if (CodeGenOpts.getInlining() == CodeGenOptions::OnlyAlwaysInlining) { in SetLLVMFunctionAttributesForDefinition()
1848 } else if (CodeGenOpts.getInlining() == in SetLLVMFunctionAttributesForDefinition()
1892 if (CodeGenOpts.SanitizeCfiCrossDso && in SetLLVMFunctionAttributesForDefinition()
1893 CodeGenOpts.SanitizeCfiCanonicalJumpTables) { in SetLLVMFunctionAttributesForDefinition()
1935 if (CodeGenOpts.KeepStaticConsts && D && isa<VarDecl>(D)) { in SetCommonAttributes()
2090 if (CodeGenOpts.SanitizeCfiCrossDso) in CreateFunctionTypeMetadataForIcall()
2168 if (!CodeGenOpts.SanitizeCfiCrossDso || in SetFunctionAttributes()
2169 !CodeGenOpts.SanitizeCfiCanonicalJumpTables) in SetFunctionAttributes()
2708 if (CodeGenOpts.KeepStaticConsts) { in MustBeEmitted()
3143 if (CodeGenOpts.OptimizationLevel == 0 && !F->hasAttr<AlwaysInlineAttr>()) in shouldEmitFunction()
3175 return CodeGenOpts.OptimizationLevel > 0; in shouldOpportunisticallyEmitVTables()
4675 CodeGenOpts.NoCommon)) in getLLVMLinkageForDeclarator()
5252 return !CodeGenOpts.EmitCodeView || CodeGenOpts.DebugColumnInfo; in getExpressionLocationsEnabled()
5973 if (!CodeGenOpts.CoverageMapping) in AddDeferredUnusedCoverageMapping()
5999 if (!CodeGenOpts.CoverageMapping) in ClearUnusedCoverageMapping()
6307 !CodeGenOpts.SanitizeTrap.has(SanitizerKind::CFIVCall)) || in NeedAllVtablesTypeId()
6309 !CodeGenOpts.SanitizeTrap.has(SanitizerKind::CFINVCall)) || in NeedAllVtablesTypeId()
6311 !CodeGenOpts.SanitizeTrap.has(SanitizerKind::CFIDerivedCast)) || in NeedAllVtablesTypeId()
6313 !CodeGenOpts.SanitizeTrap.has(SanitizerKind::CFIUnrelatedCast))); in NeedAllVtablesTypeId()
6323 if (CodeGenOpts.SanitizeCfiCrossDso) in AddVTableTypeMetadata()