| /llvm-project-15.0.7/clang/unittests/Frontend/ |
| H A D | CompilerInvocationTest.cpp | 164 ASSERT_TRUE(Invocation.getCodeGenOpts().Autolink); in TEST_F() 175 ASSERT_FALSE(Invocation.getCodeGenOpts().Autolink); in TEST_F() 187 ASSERT_TRUE(Invocation.getCodeGenOpts().Autolink); in TEST_F() 209 ASSERT_TRUE(Invocation.getCodeGenOpts().NoInlineLineTables); in TEST_F() 232 ASSERT_FALSE(Invocation.getCodeGenOpts().CodeViewGHash); in TEST_F() 243 ASSERT_TRUE(Invocation.getCodeGenOpts().CodeViewGHash); in TEST_F() 255 ASSERT_FALSE(Invocation.getCodeGenOpts().CodeViewGHash); in TEST_F() 307 ASSERT_FALSE(Invocation.getCodeGenOpts().DebugPassManager); in TEST_F() 319 ASSERT_TRUE(Invocation.getCodeGenOpts().DebugPassManager); in TEST_F() 966 ASSERT_EQ(Invocation.getCodeGenOpts().getDebugInfo(), in TEST_F() [all …]
|
| H A D | CodeGenActionTest.cpp | 97 Invocation->getCodeGenOpts().setDebugInfo(codegenoptions::FullDebugInfo); in TEST()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.cpp | 451 if (CGM.getCodeGenOpts().EmitDeclMetadata) in FinishFunction() 832 if (CGM.getCodeGenOpts().XRayIgnoreLoops) in StartFunction() 876 if (CGM.getCodeGenOpts().HotPatch && in StartFunction() 881 if (CGM.getCodeGenOpts().NoUseJumpTables) in StartFunction() 1040 if (CGM.getCodeGenOpts().CallFEntry) in StartFunction() 1046 if (CGM.getCodeGenOpts().MNopMCount) { in StartFunction() 1047 if (!CGM.getCodeGenOpts().CallFEntry) in StartFunction() 1054 if (!CGM.getCodeGenOpts().CallFEntry) in StartFunction() 1062 if (CGM.getCodeGenOpts().PackedStack) { in StartFunction() 1446 CGM.getCodeGenOpts().StrictReturn || in GenerateCode() [all …]
|
| H A D | CGDebugInfo.cpp | 238 if (CGM.getCodeGenOpts().EmitCodeView) { in getPrintingPolicy() 304 if (CGM.getCodeGenOpts().EmitCodeView) { in getClassName() 349 if (!CGM.getCodeGenOpts().EmitCodeView && in computeChecksum() 350 CGM.getCodeGenOpts().DwarfVersion < 5) in computeChecksum() 366 if (!CGM.getCodeGenOpts().EmbedSource) in getSource() 600 auto &CGOpts = CGM.getCodeGenOpts(); in CreateCompileUnit() 1046 if (CGM.getCodeGenOpts().EmitCodeView) in needsTypeIdentifier() 1928 if (CGM.getCodeGenOpts().EmitCodeView) { in CollectCXXBases() 2224 if (!CGM.getCodeGenOpts().EmitCodeView || in getDynamicInitializerName() 2354 if (CGM.getCodeGenOpts().getDebugInfo() <= in addHeapAllocSiteMetadata() [all …]
|
| H A D | CGCXX.cpp | 35 if (!getCodeGenOpts().CXXCtorDtorAliases) in TryEmitBaseDestructorAsAlias() 40 if (getCodeGenOpts().OptimizationLevel == 0) in TryEmitBaseDestructorAsAlias() 45 if (getCodeGenOpts().SanitizeMemoryUseAfterDtor && in TryEmitBaseDestructorAsAlias()
|
| H A D | CGClass.cpp | 1306 if (CGM.getCodeGenOpts().StrictVTablePointers && in EmitCtorPrologue() 1323 if (CGM.getCodeGenOpts().StrictVTablePointers && in EmitCtorPrologue() 2224 if (CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCXXConstructorCall() 2227 CGM.getCodeGenOpts().StrictVTablePointers) in EmitCXXConstructorCall() 2554 if (CGM.getCodeGenOpts().OptimizationLevel > 0 && in InitializeVTablePointer() 2555 CGM.getCodeGenOpts().StrictVTablePointers) in InitializeVTablePointer() 2650 if (CGM.getCodeGenOpts().OptimizationLevel > 0 && in GetVTablePtr() 2651 CGM.getCodeGenOpts().StrictVTablePointers) in GetVTablePtr() 2779 if (!CGM.getCodeGenOpts().SanitizeCfiCrossDso && in EmitVTablePtrCheck() 2835 if (CGM.getCodeGenOpts().SanitizeTrap.has(M)) { in EmitVTablePtrCheck() [all …]
|
| H A D | CodeGenAction.cpp | 1022 VMContext->setOpaquePointers(CI.getCodeGenOpts().OpaquePointers); in CreateASTConsumer() 1027 CI.getCodeGenOpts().LinkBitcodeFiles) { in CreateASTConsumer() 1052 if (CI.getCodeGenOpts().CoverageMapping) in CreateASTConsumer() 1058 CI.getHeaderSearchOpts(), CI.getPreprocessorOpts(), CI.getCodeGenOpts(), in CreateASTConsumer() 1065 if (CI.getCodeGenOpts().getDebugInfo() != codegenoptions::NoDebugInfo && in CreateASTConsumer() 1066 CI.getCodeGenOpts().MacroDebugInfo) { in CreateASTConsumer() 1084 if (!CI.getCodeGenOpts().ThinLTOIndexFile.empty()) { in loadModule() 1151 auto &CodeGenOpts = CI.getCodeGenOpts(); in ExecuteAction() 1192 CI.getCodeGenOpts(), CI.getTargetOpts(), in ExecuteAction()
|
| H A D | CGStmt.cpp | 652 if (CGM.getCodeGenOpts().hasReducedDebugInfo()) { in EmitLabel() 820 if (!Count && CGM.getCodeGenOpts().OptimizationLevel) in EmitIfStmt() 905 if (!Weights && CGM.getCodeGenOpts().OptimizationLevel) in EmitWhileStmt() 1085 if (!Weights && CGM.getCodeGenOpts().OptimizationLevel) in EmitForStmt() 1170 if (!Weights && CGM.getCodeGenOpts().OptimizationLevel) in EmitCXXForRangeStmt() 1522 if (CGM.getCodeGenOpts().hasReducedDebugInfo()) in EmitCaseStmt() 1533 if (!CGM.getCodeGenOpts().hasProfileClangInstr() && in EmitCaseStmt() 1534 CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCaseStmt() 1584 if (CGM.getCodeGenOpts().hasProfileClangInstr()) { in EmitCaseStmt() 1996 } else if (CGM.getCodeGenOpts().OptimizationLevel) { in EmitSwitchStmt() [all …]
|
| H A D | ObjectFilePCHContainerOperations.cpp | 162 CodeGenOpts.setDebuggerTuning(CI.getCodeGenOpts().getDebuggerTuning()); in PCHContainerGenerator() 164 CI.getInvocation().getCodeGenOpts().DebugPrefixMap; in PCHContainerGenerator() 165 CodeGenOpts.DebugStrictDwarf = CI.getCodeGenOpts().DebugStrictDwarf; in PCHContainerGenerator()
|
| H A D | CodeGenPGO.cpp | 37 Name, Linkage, CGM.getCodeGenOpts().MainFileName, in setFuncName() 41 if (CGM.getCodeGenOpts().hasProfileClangInstr()) in setFuncName() 804 bool InstrumentRegions = CGM.getCodeGenOpts().hasProfileClangInstr(); in assignRegionCounters() 829 if (CGM.getCodeGenOpts().CoverageMapping) in assignRegionCounters() 952 if (!CGM.getCodeGenOpts().hasProfileClangInstr() || !RegionCounterMap) in emitCounterIncrement() 974 if (CGM.getCodeGenOpts().hasProfileClangInstr()) in setValueProfilingFlag() 993 bool InstrumentValueSites = CGM.getCodeGenOpts().hasProfileClangInstr(); in valueProfile()
|
| H A D | CodeGenModule.cpp | 872 if (getCodeGenOpts().CodeModel.size() > 0) { in Release() 905 if (getCodeGenOpts().EmitDeclMetadata) in Release() 908 if (getCodeGenOpts().EmitGcovArcs || getCodeGenOpts().EmitGcovNotes) in Release() 914 if (getCodeGenOpts().EmitVersionIdentMetadata) in Release() 931 if (getCodeGenOpts().StackAlignment) in Release() 933 if (getCodeGenOpts().SkipRaxSetup) in Release() 938 EmitBackendOptionsMetadata(getCodeGenOpts()); in Release() 1167 const auto &CGOpts = CGM.getCodeGenOpts(); in shouldAssumeDSOLocal() 1864 if (getCodeGenOpts().EmitOpenCLArgMetadata || in GenKernelArgMetadata() 1865 getCodeGenOpts().HIPSaveKernelArgName) in GenKernelArgMetadata() [all …]
|
| H A D | ABIInfo.h | 66 const CodeGenOptions &getCodeGenOpts() const;
|
| H A D | CGVTables.cpp | 488 return CGM.getCodeGenOpts().OptimizationLevel && !IsUnprototyped; in shouldEmitVTableThunk() 988 return CGM.getCodeGenOpts().OptimizationLevel > 0 && in shouldEmitAvailableExternallyVTable() 1182 if (!getCodeGenOpts().LTOVisibilityPublicStd) in AlwaysHasLTOVisibilityPublic() 1254 if (!getCodeGenOpts().LTOUnit) in EmitVTableTypeMetadata() 1313 if (getCodeGenOpts().VirtualFunctionElimination || in EmitVTableTypeMetadata() 1314 getCodeGenOpts().WholeProgramVTables) { in EmitVTableTypeMetadata()
|
| H A D | CGExpr.cpp | 401 if (CGF.CGM.getCodeGenOpts().MergeAllConstants && in createReferenceTemporary() 1804 } else if (CGM.getCodeGenOpts().OptimizationLevel > 0) in EmitLoadOfScalar() 1898 } else if (!CGM.getCodeGenOpts().PreserveVec3Type) { in EmitStoreOfScalar() 2006 if (CGM.getCodeGenOpts().OptimizationLevel > 0) { in EmitLoadOfLValue() 2163 if (CGM.getCodeGenOpts().OptimizationLevel > 0) { in EmitStoreThroughLValue() 2303 CGM.getCodeGenOpts().ForceAAPCSBitfieldLoad) in EmitStoreThroughBitfieldLValue() 3350 if (!CGM.getCodeGenOpts().SanitizeMinimalRuntime) { in EmitCheck() 3588 if (!CGM.getCodeGenOpts().TrapFuncName.empty()) { in EmitTrapCheck() 3612 if (!CGM.getCodeGenOpts().TrapFuncName.empty()) { in EmitTrapCall() 4458 if (CGM.getCodeGenOpts().StrictVTablePointers && in EmitLValueForField() [all …]
|
| H A D | CGBlocks.cpp | 115 if (CGM.getCodeGenOpts().ObjCAutoRefCountExceptions) in getBlockDescriptorName() 999 CGM.getCodeGenOpts().OptimizationLevel != 0) { in EmitBlockLiteral() 1066 CGM.getCodeGenOpts().OptimizationLevel != 0) { in EmitBlockLiteral() 1419 if (CGM.getCodeGenOpts().hasReducedDebugInfo()) { in setBlockContextParameter() 1526 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in GenerateBlockFunction() 1588 if (CGM.getCodeGenOpts().hasReducedDebugInfo()) { in GenerateBlockFunction() 1822 if (CGM.getCodeGenOpts().ObjCAutoRefCountExceptions) in getCopyDestroyHelperFuncName() 1984 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in GenerateCopyHelperFunction() 2231 if (CGF.CGM.getCodeGenOpts().OptimizationLevel == 0) { in emitCopy()
|
| H A D | CodeGenTypes.h | 117 const CodeGenOptions &getCodeGenOpts() const;
|
| /llvm-project-15.0.7/clang/unittests/CodeGen/ |
| H A D | TestCompiler.h | 37 compiler.getCodeGenOpts() = CGO; 62 compiler.getPreprocessorOpts(), compiler.getCodeGenOpts(), Context));
|
| /llvm-project-15.0.7/flang/include/flang/Frontend/ |
| H A D | CompilerInvocation.h | 136 CodeGenOptions &getCodeGenOpts() { return codeGenOpts; } in getCodeGenOpts() function 137 const CodeGenOptions &getCodeGenOpts() const { return codeGenOpts; } in getCodeGenOpts() function
|
| /llvm-project-15.0.7/clang/include/clang/Frontend/ |
| H A D | CompilerInstance.h | 254 CodeGenOptions &getCodeGenOpts() { in getCodeGenOpts() function 255 return Invocation->getCodeGenOpts(); in getCodeGenOpts() 257 const CodeGenOptions &getCodeGenOpts() const { in getCodeGenOpts() function 258 return Invocation->getCodeGenOpts(); in getCodeGenOpts()
|
| H A D | CompilerInvocation.h | 159 CodeGenOptions &getCodeGenOpts() { return CodeGenOpts; } in getCodeGenOpts() function 160 const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; } in getCodeGenOpts() function
|
| /llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangExpressionParser.cpp | 646 m_compiler->getCodeGenOpts().EmitDeclMetadata = true; in ClangExpressionParser() 647 m_compiler->getCodeGenOpts().InstrumentFunctions = false; in ClangExpressionParser() 648 m_compiler->getCodeGenOpts().setFramePointer( in ClangExpressionParser() 651 m_compiler->getCodeGenOpts().setDebugInfo(codegenoptions::FullDebugInfo); in ClangExpressionParser() 653 m_compiler->getCodeGenOpts().setDebugInfo(codegenoptions::NoDebugInfo); in ClangExpressionParser() 726 m_compiler->getPreprocessorOpts(), m_compiler->getCodeGenOpts(), in ClangExpressionParser() 1060 should_create_file |= m_compiler->getCodeGenOpts().getDebugInfo() == in ParseInternal()
|
| /llvm-project-15.0.7/clang/lib/Interpreter/ |
| H A D | Interpreter.cpp | 117 Clang->getCodeGenOpts().ClearASTBeforeBackend = false; in CreateCI() 120 Clang->getCodeGenOpts().DisableFree = false; in CreateCI()
|
| /llvm-project-15.0.7/flang/lib/Frontend/ |
| H A D | FrontendActions.cpp | 503 auto opts = ci.getInvocation().getCodeGenOpts(); in generateLLVMIR() 574 getCGOptLevel(ci.getInvocation().getCodeGenOpts()); in setUpTargetMachine() 652 auto opts = getInstance().getInvocation().getCodeGenOpts(); in runOptimizationPipeline()
|
| /llvm-project-15.0.7/clang/tools/clang-import-test/ |
| H A D | clang-import-test.cpp | 203 Inv->getCodeGenOpts().setDebugInfo(codegenoptions::FullDebugInfo); in BuildCompilerInstance() 234 CI.getHeaderSearchOpts(), CI.getPreprocessorOpts(), CI.getCodeGenOpts(), in BuildCodeGen()
|
| /llvm-project-15.0.7/clang/lib/Tooling/DependencyScanning/ |
| H A D | ModuleDepCollector.cpp | 58 CI.getCodeGenOpts().MainFileName.clear(); in makeInvocationForModuleBuildWithoutPaths() 59 CI.getCodeGenOpts().DwarfDebugFlags.clear(); in makeInvocationForModuleBuildWithoutPaths()
|