Home
last modified time | relevance | path

Searched refs:getCodeGenOpts (Results 1 – 25 of 44) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenFunction.cpp453 if (CGM.getCodeGenOpts().EmitDeclMetadata) in FinishFunction()
836 if (CGM.getCodeGenOpts().XRayIgnoreLoops) in StartFunction()
878 if (CGM.getCodeGenOpts().NoUseJumpTables) in StartFunction()
882 if (CGM.getCodeGenOpts().NoInlineLineTables) in StartFunction()
1017 if (CGM.getCodeGenOpts().CallFEntry) in StartFunction()
1023 if (CGM.getCodeGenOpts().MNopMCount) { in StartFunction()
1024 if (!CGM.getCodeGenOpts().CallFEntry) in StartFunction()
1031 if (!CGM.getCodeGenOpts().CallFEntry) in StartFunction()
1039 if (CGM.getCodeGenOpts().PackedStack) { in StartFunction()
1386 CGM.getCodeGenOpts().StrictReturn || in GenerateCode()
[all …]
H A DCGDebugInfo.cpp237 if (CGM.getCodeGenOpts().EmitCodeView) { in getPrintingPolicy()
297 if (CGM.getCodeGenOpts().EmitCodeView) { in getClassName()
342 if (!CGM.getCodeGenOpts().EmitCodeView && in computeChecksum()
343 CGM.getCodeGenOpts().DwarfVersion < 5) in computeChecksum()
363 if (!CGM.getCodeGenOpts().EmbedSource) in getSource()
593 auto &CGOpts = CGM.getCodeGenOpts(); in CreateCompileUnit()
1016 if (CGM.getCodeGenOpts().EmitCodeView) in needsTypeIdentifier()
1836 if (CGM.getCodeGenOpts().EmitCodeView) { in CollectCXXBases()
2097 if (!CGM.getCodeGenOpts().EmitCodeView || in getDynamicInitializerName()
2227 if (CGM.getCodeGenOpts().getDebugInfo() <= in addHeapAllocSiteMetadata()
[all …]
H A DCGCXX.cpp35 if (!getCodeGenOpts().CXXCtorDtorAliases) in TryEmitBaseDestructorAsAlias()
40 if (getCodeGenOpts().OptimizationLevel == 0) in TryEmitBaseDestructorAsAlias()
45 if (getCodeGenOpts().SanitizeMemoryUseAfterDtor && in TryEmitBaseDestructorAsAlias()
H A DCGClass.cpp1313 if (CGM.getCodeGenOpts().StrictVTablePointers && in EmitCtorPrologue()
1330 if (CGM.getCodeGenOpts().StrictVTablePointers && in EmitCtorPrologue()
2196 if (CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCXXConstructorCall()
2199 CGM.getCodeGenOpts().StrictVTablePointers) in EmitCXXConstructorCall()
2529 if (CGM.getCodeGenOpts().OptimizationLevel > 0 && in InitializeVTablePointer()
2530 CGM.getCodeGenOpts().StrictVTablePointers) in InitializeVTablePointer()
2625 if (CGM.getCodeGenOpts().OptimizationLevel > 0 && in GetVTablePtr()
2626 CGM.getCodeGenOpts().StrictVTablePointers) in GetVTablePtr()
2749 if (!CGM.getCodeGenOpts().SanitizeCfiCrossDso && in EmitVTablePtrCheck()
2805 if (CGM.getCodeGenOpts().SanitizeTrap.has(M)) { in EmitVTablePtrCheck()
[all …]
H A DCodeGenAction.cpp927 CI.getCodeGenOpts().LinkBitcodeFiles) { in CreateASTConsumer()
952 if (CI.getCodeGenOpts().CoverageMapping) in CreateASTConsumer()
958 CI.getPreprocessorOpts(), CI.getCodeGenOpts(), CI.getTargetOpts(), in CreateASTConsumer()
965 if (CI.getCodeGenOpts().getDebugInfo() != codegenoptions::NoDebugInfo && in CreateASTConsumer()
966 CI.getCodeGenOpts().MacroDebugInfo) { in CreateASTConsumer()
984 if (!CI.getCodeGenOpts().ThinLTOIndexFile.empty()) { in loadModule()
1051 auto &CodeGenOpts = CI.getCodeGenOpts(); in ExecuteAction()
1090 CI.getPreprocessorOpts(), CI.getCodeGenOpts(), in ExecuteAction()
H A DCodeGenPGO.cpp37 Name, Linkage, CGM.getCodeGenOpts().MainFileName, in setFuncName()
41 if (CGM.getCodeGenOpts().hasProfileClangInstr()) in setFuncName()
796 bool InstrumentRegions = CGM.getCodeGenOpts().hasProfileClangInstr(); in assignRegionCounters()
821 if (CGM.getCodeGenOpts().CoverageMapping) in assignRegionCounters()
944 if (!CGM.getCodeGenOpts().hasProfileClangInstr() || !RegionCounterMap) in emitCounterIncrement()
966 if (CGM.getCodeGenOpts().hasProfileClangInstr()) in setValueProfilingFlag()
985 bool InstrumentValueSites = CGM.getCodeGenOpts().hasProfileClangInstr(); in valueProfile()
H A DCGStmt.cpp617 if (CGM.getCodeGenOpts().hasReducedDebugInfo()) { in EmitLabel()
759 if (!Count && CGM.getCodeGenOpts().OptimizationLevel) in EmitIfStmt()
844 if (!Weights && CGM.getCodeGenOpts().OptimizationLevel) in EmitWhileStmt()
1024 if (!Weights && CGM.getCodeGenOpts().OptimizationLevel) in EmitForStmt()
1109 if (!Weights && CGM.getCodeGenOpts().OptimizationLevel) in EmitCXXForRangeStmt()
1457 if (!CGM.getCodeGenOpts().hasProfileClangInstr() && in EmitCaseStmt()
1458 CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCaseStmt()
1508 if (CGM.getCodeGenOpts().hasProfileClangInstr()) { in EmitCaseStmt()
1914 } else if (CGM.getCodeGenOpts().OptimizationLevel) { in EmitSwitchStmt()
1966 if (Call && CGM.getCodeGenOpts().OptimizationLevel != 0) { in EmitSwitchStmt()
[all …]
H A DCodeGenModule.cpp755 if (getCodeGenOpts().CodeModel.size() > 0) { in Release()
788 if (getCodeGenOpts().EmitDeclMetadata) in Release()
791 if (getCodeGenOpts().EmitGcovArcs || getCodeGenOpts().EmitGcovNotes) in Release()
797 if (getCodeGenOpts().EmitVersionIdentMetadata) in Release()
807 getCodeGenOpts().StackProtectorGuardReg); in Release()
811 if (getCodeGenOpts().StackAlignment) in Release()
816 EmitBackendOptionsMetadata(getCodeGenOpts()); in Release()
1043 const auto &CGOpts = CGM.getCodeGenOpts(); in shouldAssumeDSOLocal()
1701 if (getCodeGenOpts().EmitOpenCLArgMetadata) in GenOpenCLArgMetadata()
1729 if (!CGM.getCodeGenOpts().LTOUnit || in requiresMemberFunctionPointerTypeMetadata()
[all …]
H A DABIInfo.h70 const CodeGenOptions &getCodeGenOpts() const;
H A DCGVTables.cpp486 return CGM.getCodeGenOpts().OptimizationLevel && !IsUnprototyped; in shouldEmitVTableThunk()
986 return CGM.getCodeGenOpts().OptimizationLevel > 0 && in shouldEmitAvailableExternallyVTable()
1177 if (!getCodeGenOpts().LTOVisibilityPublicStd) in HasLTOVisibilityPublicStd()
1252 if (!getCodeGenOpts().LTOUnit) in EmitVTableTypeMetadata()
1311 if (getCodeGenOpts().VirtualFunctionElimination || in EmitVTableTypeMetadata()
1312 getCodeGenOpts().WholeProgramVTables) { in EmitVTableTypeMetadata()
H A DObjectFilePCHContainerOperations.cpp156 CodeGenOpts.setDebuggerTuning(CI.getCodeGenOpts().getDebuggerTuning()); in PCHContainerGenerator()
158 CI.getInvocation().getCodeGenOpts().DebugPrefixMap; in PCHContainerGenerator()
H A DCGExpr.cpp403 if (CGF.CGM.getCodeGenOpts().MergeAllConstants && in createReferenceTemporary()
1714 if (!CGM.getCodeGenOpts().PreserveVec3Type) { in EmitLoadOfScalar()
1757 } else if (CGM.getCodeGenOpts().OptimizationLevel > 0) in EmitLoadOfScalar()
1831 if (!CGM.getCodeGenOpts().PreserveVec3Type) { in EmitStoreOfScalar()
2218 CGM.getCodeGenOpts().ForceAAPCSBitfieldLoad) in EmitStoreThroughBitfieldLValue()
3261 if (!CGM.getCodeGenOpts().SanitizeMinimalRuntime) { in EmitCheck()
3489 if (!CGM.getCodeGenOpts().OptimizationLevel || !TrapBB) { in EmitTrapCheck()
3498 if (!CGM.getCodeGenOpts().TrapFuncName.empty()) { in EmitTrapCheck()
3522 if (!CGM.getCodeGenOpts().TrapFuncName.empty()) { in EmitTrapCall()
4367 if (CGM.getCodeGenOpts().StrictVTablePointers && in EmitLValueForField()
[all …]
H A DItaniumCXXABI.cpp710 CGM.getCodeGenOpts().WholeProgramVTables && in EmitLoadOfMemberFunctionPointer()
1794 CGM.getCodeGenOpts().WholeProgramVTables) { in emitVTableDefinitions()
1800 assert(CGM.getCodeGenOpts().WholeProgramVTables); in emitVTableDefinitions()
1995 if (CGM.getCodeGenOpts().OptimizationLevel > 0 && in getVirtualFunctionPointer()
1996 CGM.getCodeGenOpts().StrictVTablePointers) { in getVirtualFunctionPointer()
2056 if (CGM.getCodeGenOpts().ForceEmitVTables) in canSpeculativelyEmitVTableAsBaseClass()
2570 assert((TLS || CGF.getTypes().getCodeGenOpts().CXAAtExit) && in emitGlobalDtorWithCXAAtExit()
2712 if (getCodeGenOpts().CXAAtExit) { in registerGlobalDtorsWithAtExit()
2746 if (CGM.getCodeGenOpts().CXAAtExit || D.getTLSKind()) in registerGlobalDtor()
3921 GV->setPartition(CGM.getCodeGenOpts().SymbolPartition); in BuildTypeInfo()
[all …]
H A DCodeGenTypes.h121 const CodeGenOptions &getCodeGenOpts() const;
H A DCGBlocks.cpp130 if (CGM.getCodeGenOpts().ObjCAutoRefCountExceptions) in getBlockDescriptorName()
992 CGM.getCodeGenOpts().OptimizationLevel != 0) { in EmitBlockLiteral()
1059 CGM.getCodeGenOpts().OptimizationLevel != 0) { in EmitBlockLiteral()
1413 if (CGM.getCodeGenOpts().hasReducedDebugInfo()) { in setBlockContextParameter()
1523 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in GenerateBlockFunction()
1585 if (CGM.getCodeGenOpts().hasReducedDebugInfo()) { in GenerateBlockFunction()
1842 if (CGM.getCodeGenOpts().ObjCAutoRefCountExceptions) in getCopyDestroyHelperFuncName()
2002 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in GenerateCopyHelperFunction()
2249 if (CGF.CGM.getCodeGenOpts().OptimizationLevel == 0) { in emitCopy()
H A DCGDeclCXX.cpp115 bool UsingExternalHelper = !CGM.getCodeGenOpts().CXAAtExit; in EmitDeclDestroy()
158 if (!CGM.getCodeGenOpts().OptimizationLevel) in EmitInvariantStart()
378 if (CGM.getCodeGenOpts().ForbidGuardVariables) in EmitCXXGuardedInit()
H A DCGDecl.cpp469 if (DI && CGM.getCodeGenOpts().hasReducedDebugInfo()) { in EmitStaticVarDecl()
1004 if (CGM.getCodeGenOpts().OptimizationLevel == 0) in shouldSplitConstantStore()
1433 bool EmitDebugInfo = DI && CGM.getCodeGenOpts().hasReducedDebugInfo(); in EmitAutoVarAlloca()
1472 (CGM.getCodeGenOpts().MergeAllConstants && !NRVO && in EmitAutoVarAlloca()
2537 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in EmitParmDecl()
2580 if (CGM.getCodeGenOpts().hasReducedDebugInfo() && !CurFuncIsThunk) { in EmitParmDecl()
H A DCoverageMappingGen.cpp1563 CoveragePrefixMap = CGM.getCodeGenOpts().CoveragePrefixMap; in CoverageMappingModuleGen()
1567 if (!CGM.getCodeGenOpts().CoverageCompilationDir.empty()) in getCurrentDirname()
1568 return CGM.getCodeGenOpts().CoverageCompilationDir; in getCurrentDirname()
1651 if (CGM.getCodeGenOpts().DumpCoverageMapping) { in addFunctionMappingRecord()
H A DCodeGenTypes.cpp44 const CodeGenOptions &CodeGenTypes::getCodeGenOpts() const { in getCodeGenOpts() function in CodeGenTypes
45 return CGM.getCodeGenOpts(); in getCodeGenOpts()
H A DCGRecordLayoutBuilder.cpp441 if (!Types.getCodeGenOpts().FineGrainedBitfieldAccesses) in accumulateBitFields()
545 if (!isAAPCS() || !Types.getCodeGenOpts().AAPCSBitfieldWidth) in computeVolatileBitfields()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Frontend/
H A DCompilerInstance.h253 CodeGenOptions &getCodeGenOpts() { in getCodeGenOpts() function
254 return Invocation->getCodeGenOpts(); in getCodeGenOpts()
256 const CodeGenOptions &getCodeGenOpts() const { in getCodeGenOpts() function
257 return Invocation->getCodeGenOpts(); in getCodeGenOpts()
H A DCompilerInvocation.h154 CodeGenOptions &getCodeGenOpts() { return CodeGenOpts; } in getCodeGenOpts() function
155 const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; } in getCodeGenOpts() function
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionParser.cpp645 m_compiler->getCodeGenOpts().EmitDeclMetadata = true; in ClangExpressionParser()
646 m_compiler->getCodeGenOpts().InstrumentFunctions = false; in ClangExpressionParser()
647 m_compiler->getCodeGenOpts().setFramePointer( in ClangExpressionParser()
650 m_compiler->getCodeGenOpts().setDebugInfo(codegenoptions::FullDebugInfo); in ClangExpressionParser()
652 m_compiler->getCodeGenOpts().setDebugInfo(codegenoptions::NoDebugInfo); in ClangExpressionParser()
725 m_compiler->getCodeGenOpts(), *m_llvm_context)); in ClangExpressionParser()
1057 should_create_file |= m_compiler->getCodeGenOpts().getDebugInfo() == in ParseInternal()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DFrontendActions.cpp171 (CI.getCodeGenOpts().getDebugInfo() != codegenoptions::NoDebugInfo)); in CreateASTConsumer()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendAction.cpp581 CI.getCodeGenOpts().DebugTypeExtRefs); in BeginSourceFile()
649 CI.getCodeGenOpts().DebugTypeExtRefs); in BeginSourceFile()

12