| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.cpp | 458 if (CGM.getCodeGenOpts().EmitDeclMetadata) in FinishFunction() 860 if (CGM.getCodeGenOpts().XRayIgnoreLoops) in StartFunction() 913 if (CGM.getCodeGenOpts().HotPatch && in StartFunction() 920 if (CGM.getCodeGenOpts().NoUseJumpTables) in StartFunction() 1072 if (CGM.getCodeGenOpts().CallFEntry) in StartFunction() 1078 if (CGM.getCodeGenOpts().MNopMCount) { in StartFunction() 1079 if (!CGM.getCodeGenOpts().CallFEntry) in StartFunction() 1094 if (CGM.getCodeGenOpts().PackedStack) { in StartFunction() 1493 CGM.getCodeGenOpts().StrictReturn || in GenerateCode() 1609 CGM.getCodeGenOpts().MCDCCoverage) in ConstantFoldsToSimpleInteger() [all …]
|
| H A D | TargetInfo.cpp | 164 if (CGM.getCodeGenOpts().StackProbeSize != 4096) in addStackProbeTargetAttributes() 166 llvm::utostr(CGM.getCodeGenOpts().StackProbeSize)); in addStackProbeTargetAttributes() 167 if (CGM.getCodeGenOpts().NoStackArgProbe) in addStackProbeTargetAttributes()
|
| H A D | CGDebugInfo.cpp | 241 if (CGM.getCodeGenOpts().EmitCodeView) { in getPrintingPolicy() 307 if (CGM.getCodeGenOpts().EmitCodeView) { in getClassName() 352 if (!CGM.getCodeGenOpts().EmitCodeView && in computeChecksum() 353 CGM.getCodeGenOpts().DwarfVersion < 5) in computeChecksum() 378 if (!CGM.getCodeGenOpts().EmbedSource) in getSource() 528 auto &CGO = CGM.getCodeGenOpts(); in CreateCompileUnit() 624 auto &CGOpts = CGM.getCodeGenOpts(); in CreateCompileUnit() 1099 if (CGM.getCodeGenOpts().EmitCodeView) in needsTypeIdentifier() 2059 if (CGM.getCodeGenOpts().EmitCodeView) { in CollectCXXBases() 2346 if (!CGM.getCodeGenOpts().EmitCodeView || in getDynamicInitializerName() [all …]
|
| H A D | ObjectFilePCHContainerOperations.cpp | 162 CodeGenOpts.setDebuggerTuning(CI.getCodeGenOpts().getDebuggerTuning()); in PCHContainerGenerator() 163 CodeGenOpts.DwarfVersion = CI.getCodeGenOpts().DwarfVersion; in PCHContainerGenerator() 165 CI.getInvocation().getCodeGenOpts().DebugCompilationDir; in PCHContainerGenerator() 167 CI.getInvocation().getCodeGenOpts().DebugPrefixMap; in PCHContainerGenerator() 168 CodeGenOpts.DebugStrictDwarf = CI.getCodeGenOpts().DebugStrictDwarf; in PCHContainerGenerator()
|
| H A D | CGCXX.cpp | 35 if (!getCodeGenOpts().CXXCtorDtorAliases) in TryEmitBaseDestructorAsAlias() 40 if (getCodeGenOpts().OptimizationLevel == 0) in TryEmitBaseDestructorAsAlias() 50 if (getCodeGenOpts().SanitizeMemoryUseAfterDtor && in TryEmitBaseDestructorAsAlias()
|
| H A D | CGClass.cpp | 1300 if (CGM.getCodeGenOpts().StrictVTablePointers && in EmitCtorPrologue() 1317 if (CGM.getCodeGenOpts().StrictVTablePointers && in EmitCtorPrologue() 2255 if (CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCXXConstructorCall() 2258 CGM.getCodeGenOpts().StrictVTablePointers) in EmitCXXConstructorCall() 2580 if (CGM.getCodeGenOpts().OptimizationLevel > 0 && in InitializeVTablePointer() 2581 CGM.getCodeGenOpts().StrictVTablePointers) in InitializeVTablePointer() 2676 if (CGM.getCodeGenOpts().OptimizationLevel > 0 && in GetVTablePtr() 2677 CGM.getCodeGenOpts().StrictVTablePointers) in GetVTablePtr() 2804 if (!CGM.getCodeGenOpts().SanitizeCfiCrossDso && in EmitVTablePtrCheck() 2859 if (CGM.getCodeGenOpts().SanitizeTrap.has(M)) { in EmitVTablePtrCheck() [all …]
|
| H A D | CodeGenPGO.cpp | 40 Name, Linkage, CGM.getCodeGenOpts().MainFileName, in setFuncName() 44 if (CGM.getCodeGenOpts().hasProfileClangInstr()) in setFuncName() 934 bool InstrumentRegions = CGM.getCodeGenOpts().hasProfileClangInstr(); in assignRegionCounters() 961 if (CGM.getCodeGenOpts().CoverageMapping) in assignRegionCounters() 990 unsigned MCDCMaxConditions = (CGM.getCodeGenOpts().MCDCCoverage) ? 6 : 0; in mapRegionCounters() 1120 return (CGM.getCodeGenOpts().hasProfileClangInstr() && in canEmitMCDCCoverage() 1121 CGM.getCodeGenOpts().MCDCCoverage && Builder.GetInsertBlock()); in canEmitMCDCCoverage() 1222 if (CGM.getCodeGenOpts().hasProfileClangInstr()) in setValueProfilingFlag() 1241 bool InstrumentValueSites = CGM.getCodeGenOpts().hasProfileClangInstr(); in valueProfile()
|
| H A D | CodeGenAction.cpp | 948 CI.getCodeGenOpts().LinkBitcodeFiles) { in loadLinkModules() 1033 if (CI.getCodeGenOpts().CoverageMapping) in CreateASTConsumer() 1039 CI.getHeaderSearchOpts(), CI.getPreprocessorOpts(), CI.getCodeGenOpts(), in CreateASTConsumer() 1046 if (CI.getCodeGenOpts().getDebugInfo() != codegenoptions::NoDebugInfo && in CreateASTConsumer() 1047 CI.getCodeGenOpts().MacroDebugInfo) { in CreateASTConsumer() 1074 if (!CI.getCodeGenOpts().ThinLTOIndexFile.empty()) { in loadModule() 1160 auto &CodeGenOpts = CI.getCodeGenOpts(); in ExecuteAction() 1201 CI.getCodeGenOpts(), CI.getTargetOpts(), in ExecuteAction()
|
| H A D | ABIInfo.cpp | 32 const CodeGenOptions &ABIInfo::getCodeGenOpts() const { in getCodeGenOpts() function in ABIInfo 33 return CGT.getCodeGenOpts(); in getCodeGenOpts()
|
| H A D | CGStmt.cpp | 662 if (CGM.getCodeGenOpts().hasReducedDebugInfo()) { in EmitLabel() 838 CGM.getCodeGenOpts().OptimizationLevel) in EmitIfStmt() 847 if (!CGM.getCodeGenOpts().MCDCCoverage) in EmitIfStmt() 935 if (!Weights && CGM.getCodeGenOpts().OptimizationLevel) in EmitWhileStmt() 1200 if (!Weights && CGM.getCodeGenOpts().OptimizationLevel) in EmitCXXForRangeStmt() 1551 if (CGM.getCodeGenOpts().hasReducedDebugInfo()) in EmitCaseStmt() 1562 if (!CGM.getCodeGenOpts().hasProfileClangInstr() && in EmitCaseStmt() 1563 CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCaseStmt() 1613 if (CGM.getCodeGenOpts().hasProfileClangInstr()) { in EmitCaseStmt() 2025 } else if (CGM.getCodeGenOpts().OptimizationLevel) { in EmitSwitchStmt() [all …]
|
| H A D | CodeGenModule.cpp | 1234 if (getCodeGenOpts().CodeModel.size() > 0) { in Release() 1279 if (getCodeGenOpts().EmitDeclMetadata) in Release() 1283 getCodeGenOpts().CoverageDataFile.size()) in Release() 1289 if (getCodeGenOpts().EmitVersionIdentMetadata) in Release() 1306 if (getCodeGenOpts().StackAlignment) in Release() 1308 if (getCodeGenOpts().SkipRaxSetup) in Release() 1321 EmitBackendOptionsMetadata(getCodeGenOpts()); in Release() 1540 const auto &CGOpts = CGM.getCodeGenOpts(); in shouldAssumeDSOLocal() 2329 if (getCodeGenOpts().EmitOpenCLArgMetadata || in GenKernelArgMetadata() 2330 getCodeGenOpts().HIPSaveKernelArgName) in GenKernelArgMetadata() [all …]
|
| H A D | CGVTables.cpp | 485 return CGM.getCodeGenOpts().OptimizationLevel && !IsUnprototyped; in shouldEmitVTableThunk() 1037 return CGM.getCodeGenOpts().OptimizationLevel > 0 && in shouldEmitAvailableExternallyVTable() 1240 if (!getCodeGenOpts().LTOVisibilityPublicStd) in AlwaysHasLTOVisibilityPublic() 1311 if (!getCodeGenOpts().LTOUnit && !getCodeGenOpts().hasProfileIRInstr()) in EmitVTableTypeMetadata() 1360 if (getCodeGenOpts().VirtualFunctionElimination || in EmitVTableTypeMetadata() 1361 getCodeGenOpts().WholeProgramVTables) { in EmitVTableTypeMetadata()
|
| H A D | ABIInfo.h | 62 const CodeGenOptions &getCodeGenOpts() const;
|
| H A D | CGExpr.cpp | 400 if (CGF.CGM.getCodeGenOpts().MergeAllConstants && in createReferenceTemporary() 2011 } else if (CGM.getCodeGenOpts().OptimizationLevel > 0) in EmitLoadOfScalar() 2113 } else if (!CGM.getCodeGenOpts().PreserveVec3Type) { in EmitStoreOfScalar() 2221 if (CGM.getCodeGenOpts().OptimizationLevel > 0) { in EmitLoadOfLValue() 2384 if (CGM.getCodeGenOpts().OptimizationLevel > 0) { in EmitStoreThroughLValue() 2524 CGM.getCodeGenOpts().ForceAAPCSBitfieldLoad) in EmitStoreThroughBitfieldLValue() 3584 if (!CGM.getCodeGenOpts().SanitizeMinimalRuntime) { in EmitCheck() 3833 if (!CGM.getCodeGenOpts().TrapFuncName.empty()) { in EmitTrapCheck() 3850 if (!CGM.getCodeGenOpts().TrapFuncName.empty()) { in EmitTrapCall() 4843 if (CGM.getCodeGenOpts().StrictVTablePointers && in EmitLValueForField() [all …]
|
| H A D | CGHLSLRuntime.cpp | 130 if (CGM.getCodeGenOpts().getDebugInfo() >= in addConstant() 170 if (CGM.getCodeGenOpts().OptimizationLevel == 0) in finishCodeGen()
|
| H A D | ItaniumCXXABI.cpp | 199 if (!CGM.getCodeGenOpts().AssumeUniqueVTables || in hasUniqueVTablePointer() 699 CGM.getCodeGenOpts().WholeProgramVTables && in EmitLoadOfMemberFunctionPointer() 1843 CGM.getCodeGenOpts().WholeProgramVTables) { in emitVTableDefinitions() 1849 assert(CGM.getCodeGenOpts().WholeProgramVTables); in emitVTableDefinitions() 2044 if (CGM.getCodeGenOpts().OptimizationLevel > 0 && in getVirtualFunctionPointer() 2045 CGM.getCodeGenOpts().StrictVTablePointers) { in getVirtualFunctionPointer() 2105 if (CGM.getCodeGenOpts().ForceEmitVTables) in canSpeculativelyEmitVTableAsBaseClass() 2773 if (getCodeGenOpts().CXAAtExit) { in registerGlobalDtorsWithAtExit() 2809 if (CGM.getCodeGenOpts().CXAAtExit || D.getTLSKind()) in registerGlobalDtor() 3987 GV->setPartition(CGM.getCodeGenOpts().SymbolPartition); in BuildTypeInfo() [all …]
|
| H A D | CGBlocks.cpp | 93 if (CGM.getCodeGenOpts().ObjCAutoRefCountExceptions) in getBlockDescriptorName() 970 CGM.getCodeGenOpts().OptimizationLevel != 0) { in EmitBlockLiteral() 1037 CGM.getCodeGenOpts().OptimizationLevel != 0) { in EmitBlockLiteral() 1383 if (CGM.getCodeGenOpts().hasReducedDebugInfo()) { in setBlockContextParameter() 1491 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in GenerateBlockFunction() 1553 if (CGM.getCodeGenOpts().hasReducedDebugInfo()) { in GenerateBlockFunction() 1786 if (CGM.getCodeGenOpts().ObjCAutoRefCountExceptions) in getCopyDestroyHelperFuncName() 1946 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in GenerateCopyHelperFunction() 2191 if (CGF.CGM.getCodeGenOpts().OptimizationLevel == 0) { in emitCopy()
|
| H A D | CodeGenTypes.h | 113 const CodeGenOptions &getCodeGenOpts() const;
|
| H A D | CoverageMappingGen.cpp | 736 if (!CGM.getCodeGenOpts().MCDCCoverage) in pushAndAssignIDs() 770 if (!CGM.getCodeGenOpts().MCDCCoverage || NotMapped) in pop() 782 if (!CGM.getCodeGenOpts().MCDCCoverage) in getTotalConditionsAndReset() 2157 if (!CGM.getCodeGenOpts().CoverageCompilationDir.empty()) in getCurrentDirname() 2158 return CGM.getCodeGenOpts().CoverageCompilationDir; in getCurrentDirname() 2173 llvm::reverse(CGM.getCodeGenOpts().CoveragePrefixMap)) { in normalizeFilename() 2244 if (CGM.getCodeGenOpts().DumpCoverageMapping) { in addFunctionMappingRecord()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Frontend/ |
| H A D | CompilerInvocation.h | 139 const CodeGenOptions &getCodeGenOpts() const { return *CodeGenOpts; } in getCodeGenOpts() function 235 using CompilerInvocationBase::getCodeGenOpts; 252 CodeGenOptions &getCodeGenOpts() { return *CodeGenOpts; } in getCodeGenOpts() function
|
| H A D | CompilerInstance.h | 262 CodeGenOptions &getCodeGenOpts() { in getCodeGenOpts() function 263 return Invocation->getCodeGenOpts(); in getCodeGenOpts() 265 const CodeGenOptions &getCodeGenOpts() const { in getCodeGenOpts() function 266 return Invocation->getCodeGenOpts(); in getCodeGenOpts()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/ |
| H A D | ModuleDepCollector.cpp | 126 CI.getCodeGenOpts().MainFileName.clear(); in makeCommonInvocationForModuleBuild() 127 CI.getCodeGenOpts().DwarfDebugFlags.clear(); in makeCommonInvocationForModuleBuild() 129 CI.getCodeGenOpts().DebugCompilationDir.clear(); in makeCommonInvocationForModuleBuild() 130 CI.getCodeGenOpts().CoverageCompilationDir.clear(); in makeCommonInvocationForModuleBuild() 131 CI.getCodeGenOpts().CoverageDataFile.clear(); in makeCommonInvocationForModuleBuild() 132 CI.getCodeGenOpts().CoverageNotesFile.clear(); in makeCommonInvocationForModuleBuild()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangExpressionParser.cpp | 617 m_compiler->getCodeGenOpts().EmitDeclMetadata = true; in ClangExpressionParser() 618 m_compiler->getCodeGenOpts().InstrumentFunctions = false; in ClangExpressionParser() 619 m_compiler->getCodeGenOpts().setFramePointer( in ClangExpressionParser() 622 m_compiler->getCodeGenOpts().setDebugInfo(codegenoptions::FullDebugInfo); in ClangExpressionParser() 624 m_compiler->getCodeGenOpts().setDebugInfo(codegenoptions::NoDebugInfo); in ClangExpressionParser() 697 m_compiler->getPreprocessorOpts(), m_compiler->getCodeGenOpts(), in ClangExpressionParser() 1031 should_create_file |= m_compiler->getCodeGenOpts().getDebugInfo() == in ParseInternal()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | DeviceOffload.cpp | 64 HostParser.getCI()->getCodeGenOpts().CudaGpuBinaryFileName = FatbinFileName; in Parse()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | CompilerInvocation.cpp | 165 CodeGenOpts = make_shared_copy(X.getCodeGenOpts()); in deep_copy_assign() 564 CodeGenOptions &CodeGenOpts = Invocation.getCodeGenOpts(); in FixupInvocation() 4617 Res.getCodeGenOpts().MisExpect = true; in CreateFromArgsImpl() 4638 Res.getCodeGenOpts().DiscardValueNames &= in CreateFromArgsImpl() 4658 if (Res.getCodeGenOpts().FineGrainedBitfieldAccesses && in CreateFromArgsImpl() 4665 if (Res.getCodeGenOpts().CodeViewCommandLine) { in CreateFromArgsImpl() 4666 Res.getCodeGenOpts().Argv0 = Argv0; in CreateFromArgsImpl() 4676 setPGOUseInstrumentor(Res.getCodeGenOpts(), in CreateFromArgsImpl() 4797 if (getCodeGenOpts().DebugTypeExtRefs) in getModuleHash() 4798 HBuilder.addRange(getCodeGenOpts().DebugPrefixMap); in getModuleHash() [all …]
|