Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenFunction.cpp81 if (CGM.getCodeGenOpts().NoNaNsFPMath) { in CodeGenFunction()
84 if (CGM.getCodeGenOpts().NoSignedZeros) { in CodeGenFunction()
87 if (CGM.getCodeGenOpts().ReciprocalMath) { in CodeGenFunction()
90 if (CGM.getCodeGenOpts().Reassociate) { in CodeGenFunction()
345 if (CGM.getCodeGenOpts().InstrumentFunctions) in FinishFunction()
409 if (CGM.getCodeGenOpts().EmitDeclMetadata) in FinishFunction()
719 if (CGM.getCodeGenOpts().EmitOpenCLArgMetadata) in GenOpenCLArgMetadata()
1001 CGM.getCodeGenOpts().StackAlignment) in StartFunction()
1060 if (CGM.getCodeGenOpts().CallFEntry) in StartFunction()
1386 CGM.getCodeGenOpts().StrictReturn || in GenerateCode()
[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.cpp1280 if (CGM.getCodeGenOpts().StrictVTablePointers && in EmitCtorPrologue()
1297 if (CGM.getCodeGenOpts().StrictVTablePointers && in EmitCtorPrologue()
2151 if (CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCXXConstructorCall()
2154 CGM.getCodeGenOpts().StrictVTablePointers) in EmitCXXConstructorCall()
2474 if (CGM.getCodeGenOpts().OptimizationLevel > 0 && in InitializeVTablePointer()
2475 CGM.getCodeGenOpts().StrictVTablePointers) in InitializeVTablePointer()
2570 if (CGM.getCodeGenOpts().OptimizationLevel > 0 && in GetVTablePtr()
2571 CGM.getCodeGenOpts().StrictVTablePointers) in GetVTablePtr()
2692 if (!CGM.getCodeGenOpts().SanitizeCfiCrossDso && in EmitVTablePtrCheck()
2748 if (CGM.getCodeGenOpts().SanitizeTrap.has(M)) { in EmitVTablePtrCheck()
[all …]
H A DCodeGenAction.cpp864 CI.getCodeGenOpts().LinkBitcodeFiles) { in CreateASTConsumer()
889 if (CI.getCodeGenOpts().CoverageMapping) { in CreateASTConsumer()
897 CI.getPreprocessorOpts(), CI.getCodeGenOpts(), CI.getTargetOpts(), in CreateASTConsumer()
904 if (CI.getCodeGenOpts().getDebugInfo() != codegenoptions::NoDebugInfo && in CreateASTConsumer()
905 CI.getCodeGenOpts().MacroDebugInfo) { in CreateASTConsumer()
946 if (!CI.getCodeGenOpts().ThinLTOIndexFile.empty()) { in loadModule()
1033 EmbedBitcode(TheModule.get(), CI.getCodeGenOpts(), in ExecuteAction()
1041 CI.getCodeGenOpts(), TargetOpts, CI.getLangOpts(), in ExecuteAction()
H A DCGDeclCXX.cpp116 bool UsingExternalHelper = !CGM.getCodeGenOpts().CXAAtExit; in EmitDeclDestroy()
146 if (!CGM.getCodeGenOpts().OptimizationLevel) in EmitInvariantStart()
279 if (CGM.getCodeGenOpts().ForbidGuardVariables) in EmitCXXGuardedInit()
379 auto RASignKind = getCodeGenOpts().getSignReturnAddress(); in CreateGlobalInitOrDestructFunction()
385 auto RASignKey = getCodeGenOpts().getSignReturnAddressKey(); in CreateGlobalInitOrDestructFunction()
392 if (getCodeGenOpts().BranchTargetEnforcement) in CreateGlobalInitOrDestructFunction()
H A DCGDebugInfo.cpp234 if (CGM.getCodeGenOpts().EmitCodeView) in getPrintingPolicy()
331 if (CGM.getCodeGenOpts().EmitCodeView) { in getClassName()
370 if (!CGM.getCodeGenOpts().EmitCodeView && in computeChecksum()
371 CGM.getCodeGenOpts().DwarfVersion < 5) in computeChecksum()
392 if (!CGM.getCodeGenOpts().EmbedSource) in getSource()
598 auto &CGOpts = CGM.getCodeGenOpts(); in CreateCompileUnit()
905 if (CGM.getCodeGenOpts().EmitCodeView) in needsTypeIdentifier()
1393 if (CGM.getCodeGenOpts().EmitCodeView && in CollectRecordFields()
1649 if (CGM.getCodeGenOpts().EmitCodeView) { in CollectCXXBases()
3483 if (CGM.getCodeGenOpts().DwarfVersion >= 5) { in EmitFunctionStart()
[all …]
H A DCodeGenPGO.cpp37 Name, Linkage, CGM.getCodeGenOpts().MainFileName, in setFuncName()
41 if (CGM.getCodeGenOpts().hasProfileClangInstr()) in setFuncName()
765 bool InstrumentRegions = CGM.getCodeGenOpts().hasProfileClangInstr(); in assignRegionCounters()
787 if (CGM.getCodeGenOpts().CoverageMapping) in assignRegionCounters()
895 if (!CGM.getCodeGenOpts().hasProfileClangInstr() || !RegionCounterMap) in emitCounterIncrement()
930 bool InstrumentValueSites = CGM.getCodeGenOpts().hasProfileClangInstr(); in valueProfile()
H A DABIInfo.h69 const CodeGenOptions &getCodeGenOpts() const;
H A DObjectFilePCHContainerOperations.cpp157 CodeGenOpts.setDebuggerTuning(CI.getCodeGenOpts().getDebuggerTuning()); in PCHContainerGenerator()
159 CI.getInvocation().getCodeGenOpts().DebugPrefixMap; in PCHContainerGenerator()
H A DCodeGenModule.cpp562 if (getCodeGenOpts().CodeModel.size() > 0) { in Release()
581 if (getCodeGenOpts().EmitDeclMetadata) in Release()
584 if (getCodeGenOpts().EmitGcovArcs || getCodeGenOpts().EmitGcovNotes) in Release()
590 if (getCodeGenOpts().EmitVersionIdentMetadata) in Release()
593 if (!getCodeGenOpts().RecordCommandLine.empty()) in Release()
774 const auto &CGOpts = CGM.getCodeGenOpts(); in shouldAssumeDSOLocal()
1199 if (!CGM.getCodeGenOpts().LTOUnit || in requiresMemberFunctionPointerTypeMetadata()
1587 if (getCodeGenOpts().AssumeSaneOperatorNew && in SetFunctionAttributes()
2970 !getCodeGenOpts().LTOVisibilityPublicStd && in CreateRuntimeFunction()
5263 if (getCodeGenOpts().CoverageDataFile.empty() && in EmitCoverageFile()
[all …]
H A DCGExpr.cpp383 if (CGF.CGM.getCodeGenOpts().MergeAllConstants && in createReferenceTemporary()
526 !CGM.getCodeGenOpts().SanitizeAddressUseAfterScope) { in EmitMaterializeTemporaryExpr()
1626 if (!CGM.getCodeGenOpts().PreserveVec3Type) { in EmitLoadOfScalar()
1670 } else if (CGM.getCodeGenOpts().OptimizationLevel > 0) in EmitLoadOfScalar()
1707 if (!CGM.getCodeGenOpts().PreserveVec3Type) { in EmitStoreOfScalar()
2800 CGM.getCodeGenOpts().EmitCheckPathComponentsToStrip; in EmitCheckSourceLocation()
2989 if (!CGM.getCodeGenOpts().SanitizeMinimalRuntime) { in EmitCheck()
3208 if (!CGM.getCodeGenOpts().OptimizationLevel || !TrapBB) { in EmitTrapCheck()
3226 if (!CGM.getCodeGenOpts().TrapFuncName.empty()) { in EmitTrapCall()
3925 if (CGM.getCodeGenOpts().StrictVTablePointers && in EmitLValueForField()
[all …]
H A DCGVTables.cpp468 return CGM.getCodeGenOpts().OptimizationLevel && !IsUnprototyped; in shouldEmitVTableThunk()
784 return CGM.getCodeGenOpts().OptimizationLevel > 0 && in shouldEmitAvailableExternallyVTable()
990 if (getCodeGenOpts().LTOVisibilityPublicStd) { in HasHiddenLTOVisibility()
1010 if (!getCodeGenOpts().LTOUnit) in EmitVTableTypeMetadata()
H A DCGBlocks.cpp131 if (CGM.getCodeGenOpts().ObjCAutoRefCountExceptions) in getBlockDescriptorName()
830 CGF.CGM.getCodeGenOpts().OptimizationLevel != 0) { in enterBlockScope()
1126 CGM.getCodeGenOpts().OptimizationLevel != 0) { in EmitBlockLiteral()
1494 if (CGM.getCodeGenOpts().getDebugInfo() >= in setBlockContextParameter()
1605 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in GenerateBlockFunction()
1668 if (CGM.getCodeGenOpts().getDebugInfo() >= in GenerateBlockFunction()
1926 if (CGM.getCodeGenOpts().ObjCAutoRefCountExceptions) in getCopyDestroyHelperFuncName()
2090 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in GenerateCopyHelperFunction()
2343 if (CGF.CGM.getCodeGenOpts().OptimizationLevel == 0) { in emitCopy()
H A DCodeGenTypes.h178 const CodeGenOptions &getCodeGenOpts() const;
H A DCodeGenTypes.cpp47 const CodeGenOptions &CodeGenTypes::getCodeGenOpts() const { in getCodeGenOpts() function in CodeGenTypes
48 return CGM.getCodeGenOpts(); in getCodeGenOpts()
H A DCGDecl.cpp446 CGM.getCodeGenOpts().getDebugInfo() >= codegenoptions::LimitedDebugInfo) { in EmitStaticVarDecl()
1316 bool EmitDebugInfo = DI && CGM.getCodeGenOpts().getDebugInfo() >= in EmitAutoVarAlloca()
1346 (CGM.getCodeGenOpts().MergeAllConstants && !NRVO && in EmitAutoVarAlloca()
2351 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in EmitParmDecl()
2394 if (CGM.getCodeGenOpts().getDebugInfo() >= in EmitParmDecl()
H A DItaniumCXXABI.cpp653 if (CGM.getCodeGenOpts().SanitizeTrap.has(SanitizerKind::CFIMFCall)) { in EmitLoadOfMemberFunctionPointer()
1744 if (CGM.getCodeGenOpts().OptimizationLevel > 0 && in getVirtualFunctionPointer()
1745 CGM.getCodeGenOpts().StrictVTablePointers) in getVirtualFunctionPointer()
1793 if (CGM.getCodeGenOpts().ForceEmitVTables) in canSpeculativelyEmitVTableAsBaseClass()
1956 CGM.getCodeGenOpts().SanitizeAddressPoisonCustomArrayCookie)) { in InitializeArrayCookie()
2368 if (getCodeGenOpts().CXAAtExit) in registerGlobalDtorsWithAtExit()
2388 if (CGM.getCodeGenOpts().CXAAtExit) in registerGlobalDtor()
3783 if (!CGM.getCodeGenOpts().CXXCtorDtorAliases) in getCodegenToUse()
H A DCGStmt.cpp1243 if (!CGM.getCodeGenOpts().hasProfileClangInstr() && in EmitCaseStmt()
1244 CGM.getCodeGenOpts().OptimizationLevel > 0 && in EmitCaseStmt()
1290 if (CGM.getCodeGenOpts().hasProfileClangInstr()) { in EmitCaseStmt()
1678 if (Call && CGM.getCodeGenOpts().OptimizationLevel != 0) { in EmitSwitchStmt()
H A DCGExprScalar.cpp2002 if (CGF.CGM.getCodeGenOpts().StrictVTablePointers) { in VisitCastExpr()
2157 if (CGF.CGM.getCodeGenOpts().StrictVTablePointers) { in VisitCastExpr()
2169 if (CGF.CGM.getCodeGenOpts().StrictVTablePointers) { in VisitCastExpr()
2983 !CGF.CGM.getCodeGenOpts().CorrectlyRoundedDivSqrt) { in EmitDiv()
3680 if (CGF.CGM.getCodeGenOpts().StrictVTablePointers && in EmitCompare()
4252 if (!CGF.CGM.getCodeGenOpts().PreserveVec3Type) { in VisitAsTypeExpr()
4265 if (!CGF.CGM.getCodeGenOpts().PreserveVec3Type) { in VisitAsTypeExpr()
H A DCGObjC.cpp156 CGM.getCodeGenOpts().OptimizationLevel != 0); in EmitObjCCollectionLiteral()
376 if (!CGM.getCodeGenOpts().ObjCConvertMessagesToRuntimeCalls) in tryGenerateSpecializedMessageSend()
2115 } else if (CGF.CGM.getCodeGenOpts().OptimizationLevel == 0) { in emitAutoreleasedReturnValueMarker()
2205 if (CGM.getCodeGenOpts().OptimizationLevel == 0) { in EmitARCDestroyStrong()
2365 CGM.getCodeGenOpts().OptimizationLevel == 0) { in EmitARCInitWeak()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Frontend/
H A DCompilerInvocation.h195 CodeGenOptions &getCodeGenOpts() { return CodeGenOpts; } in getCodeGenOpts() function
196 const CodeGenOptions &getCodeGenOpts() const { return CodeGenOpts; } in getCodeGenOpts() function
H A DCompilerInstance.h265 CodeGenOptions &getCodeGenOpts() { in getCodeGenOpts() function
266 return Invocation->getCodeGenOpts(); in getCodeGenOpts()
268 const CodeGenOptions &getCodeGenOpts() const { in getCodeGenOpts() function
269 return Invocation->getCodeGenOpts(); in getCodeGenOpts()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionParser.cpp458 m_compiler->getCodeGenOpts().EmitDeclMetadata = true; in ClangExpressionParser()
459 m_compiler->getCodeGenOpts().InstrumentFunctions = false; in ClangExpressionParser()
460 m_compiler->getCodeGenOpts().DisableFPElim = true; in ClangExpressionParser()
461 m_compiler->getCodeGenOpts().OmitLeafFramePointer = false; in ClangExpressionParser()
463 m_compiler->getCodeGenOpts().setDebugInfo(codegenoptions::FullDebugInfo); in ClangExpressionParser()
465 m_compiler->getCodeGenOpts().setDebugInfo(codegenoptions::NoDebugInfo); in ClangExpressionParser()
541 m_compiler->getCodeGenOpts(), *m_llvm_context)); in ClangExpressionParser()
830 should_create_file |= m_compiler->getCodeGenOpts().getDebugInfo() == in ParseInternal()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
H A DFrontendActions.cpp167 (CI.getCodeGenOpts().getDebugInfo() != codegenoptions::NoDebugInfo)); in CreateASTConsumer()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DFrontendAction.cpp567 ASTDiags, CI.getFileSystemOpts(), CI.getCodeGenOpts().DebugTypeExtRefs); in BeginSourceFile()
633 CI.getFileSystemOpts(), CI.getCodeGenOpts().DebugTypeExtRefs); in BeginSourceFile()

12