|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/lib/CodeGen/CGBlocks.cpp 1264 if (getLangOpts().OpenCL) {
1550 if (getLangOpts().OpenCL)
1953 if (!EHOnly || CGF.getLangOpts().Exceptions) {
1994 findBlockCapturedManagedEntities(blockInfo, getLangOpts(), CopiedCaptures);
2189 findBlockCapturedManagedEntities(blockInfo, getLangOpts(), DestroyedCaptures);
tools/clang/lib/CodeGen/CGBuiltin.cpp 50 switch (CGF.getLangOpts().getTrivialAutoVarInit()) {
1288 if (!RetainableOperands.empty() && getLangOpts().ObjCAutoRefCount &&
tools/clang/lib/CodeGen/CGCUDANV.cpp 240 CGF.getLangOpts().HIPUseNewLaunchAPI)
tools/clang/lib/CodeGen/CGCall.cpp 2908 assert(getLangOpts().ObjCAutoRefCount &&
3078 } else if (getLangOpts().ObjCAutoRefCount &&
3562 assert(getLangOpts().ObjCAutoRefCount);
3981 if (!getLangOpts().OpenCL) {
tools/clang/lib/CodeGen/CGClass.cpp 1074 CGF.getLangOpts().getGC() == LangOptions::NonGC),
1214 AssignmentsMemcpyable(CGF.getLangOpts().getGC() == LangOptions::NonGC) {
1519 if (getLangOpts().AppleKext)
1984 if (getLangOpts().Exceptions &&
2673 if (!getLangOpts().CPlusPlus)
2865 if (getLangOpts().ObjCAutoRefCount && resultType->isObjCRetainableType()) {
tools/clang/lib/CodeGen/CGDecl.cpp 321 if (!getLangOpts().CPlusPlus)
405 bool isCudaSharedVar = getLangOpts().CUDA && getLangOpts().CUDAIsDevice &&
405 bool isCudaSharedVar = getLangOpts().CUDA && getLangOpts().CUDAIsDevice &&
1379 (Ty.getAddressSpace() == LangAS::opencl_private && getLangOpts().OpenCL));
1399 getLangOpts().OpenMP
1402 bool NRVO = getLangOpts().ElideConstructors && D.isNRVOVariable();
1404 if (getLangOpts().OpenMP && OpenMPLocalAddr.isValid()) {
1426 if ((!getLangOpts().OpenCL ||
1512 !(!getLangOpts().CPlusPlus && hasLabelBeenSeenInCurrentScope())) {
1995 if (getLangOpts().getGC() != LangOptions::NonGC &&
2383 auto SrcLangAS = getLangOpts().OpenCL ? LangAS::opencl_private : AllocaAS;
2385 getLangOpts().OpenCL ? LangAS::opencl_private : LangAS::Default;
2414 getLangOpts().OpenMP
2417 if (getLangOpts().OpenMP && OpenMPLocalAddr.isValid()) {
tools/clang/lib/CodeGen/CGDeclCXX.cpp 205 if (getLangOpts().OpenMP && !getLangOpts().OpenMPSimd &&
205 if (getLangOpts().OpenMP && !getLangOpts().OpenMPSimd &&
707 if (getLangOpts().ObjCAutoRefCount && getLangOpts().CPlusPlus) {
707 if (getLangOpts().ObjCAutoRefCount && getLangOpts().CPlusPlus) {
tools/clang/lib/CodeGen/CGException.cpp 1478 if (getLangOpts().CPlusPlus)
1502 if (getLangOpts().CPlusPlus)
1543 if (getLangOpts().CPlusPlus &&
tools/clang/lib/CodeGen/CGExpr.cpp 339 CodeGenFunction::destroyCXXObject, CGF.getLangOpts().Exceptions,
355 CGF.getLangOpts().Exceptions);
362 CGF.getLangOpts().Exceptions);
1548 bool IsRegularCPlusPlusEnum = CGF.getLangOpts().CPlusPlus && StrictEnums &&
1783 if (!getLangOpts().ObjCAutoRefCount) {
2370 if (CGF.getLangOpts().OpenMPIsDevice) {
2383 if (CGF.getLangOpts().OpenMP && !CGF.getLangOpts().OpenMPSimd &&
2383 if (CGF.getLangOpts().OpenMP && !CGF.getLangOpts().OpenMPSimd &&
2494 if (CGF.getLangOpts().OpenMP || CGF.getLangOpts().CUDA ||
2494 if (CGF.getLangOpts().OpenMP || CGF.getLangOpts().CUDA ||
2495 CGF.getLangOpts().OpenCL) {
2630 if (getLangOpts().OpenMP && !getLangOpts().OpenMPSimd &&
2630 if (getLangOpts().OpenMP && !getLangOpts().OpenMPSimd &&
2701 if (getLangOpts().ObjC &&
2702 getLangOpts().getGC() != LangOptions::NonGC &&
3523 if (getLangOpts().isSignedOverflowDefined()) {
3530 !getLangOpts().isSignedOverflowDefined(),
3583 E->getType(), !getLangOpts().isSignedOverflowDefined(), SignedIndices,
3593 !getLangOpts().isSignedOverflowDefined(),
3599 if (getLangOpts().ObjC &&
3600 getLangOpts().getGC() != LangOptions::NonGC) {
3704 !getLangOpts().isSignedOverflowDefined());
3708 /*HasNUW=*/false, !getLangOpts().isSignedOverflowDefined());
3731 /*HasNUW=*/false, !getLangOpts().isSignedOverflowDefined());
3758 if (getLangOpts().isSignedOverflowDefined())
3763 !getLangOpts().isSignedOverflowDefined(),
3783 ResultExprTy, !getLangOpts().isSignedOverflowDefined(),
3792 !getLangOpts().isSignedOverflowDefined(),
4789 if (getLangOpts().CPlusPlus && SanOpts.has(SanitizerKind::Function) &&
tools/clang/lib/CodeGen/CGExprAgg.cpp 92 if (CGF.getLangOpts().getGC() && TypeRequiresGCollection(T))
1814 if (CGF.getLangOpts().CPlusPlus)
1922 if (getLangOpts().CPlusPlus) {
tools/clang/lib/CodeGen/CGExprCXX.cpp 217 MD->getDevirtualizedMethod(Base, getLangOpts().AppleKext)) {
354 if (getLangOpts().AppleKext && Dtor->isVirtual() && HasQualifier)
389 if (getLangOpts().AppleKext && MD->isVirtual() && HasQualifier)
596 if (getLangOpts().ElideConstructors && E->isElidable()) {
tools/clang/lib/CodeGen/CGExprComplex.cpp 791 if (RHSi && !CGF.getLangOpts().FastMath) {
962 if (!CGF.getLangOpts().CPlusPlus)
997 if (!CGF.getLangOpts().CPlusPlus)
tools/clang/lib/CodeGen/CGExprScalar.cpp 714 switch (CGF.getLangOpts().getSignedOverflowBehavior()) {
2334 switch (CGF.getLangOpts().getSignedOverflowBehavior()) {
2382 CGF.getLangOpts().getSignedOverflowBehavior() !=
2444 if (CGF.getLangOpts().isSignedOverflowDefined())
2456 if (CGF.getLangOpts().isSignedOverflowDefined())
2467 if (CGF.getLangOpts().isSignedOverflowDefined())
2550 if (CGF.getLangOpts().isSignedOverflowDefined())
2850 CGF.getLangOpts().getSignedOverflowBehavior() !=
2951 if (!CGF.getLangOpts().CPlusPlus)
3014 if (CGF.getLangOpts().OpenCL &&
3094 &CGF.getLangOpts().OverflowHandler;
3245 if (CGF.getLangOpts().isSignedOverflowDefined()) {
3266 if (CGF.getLangOpts().isSignedOverflowDefined())
3346 switch (CGF.getLangOpts().getSignedOverflowBehavior()) {
3491 switch (CGF.getLangOpts().getSignedOverflowBehavior()) {
3599 !CGF.getLangOpts().isSignedOverflowDefined() &&
3600 !CGF.getLangOpts().CPlusPlus2a;
3603 if (CGF.getLangOpts().OpenCL)
3634 if (CGF.getLangOpts().CPlusPlus) {
3666 if (CGF.getLangOpts().OpenCL)
3951 if (!CGF.getLangOpts().CPlusPlus)
4188 if (CGF.getLangOpts().OpenCL
tools/clang/lib/CodeGen/CGObjC.cpp 159 (getLangOpts().ObjCAutoRefCount &&
438 auto &Runtime = CGF.getLangOpts().ObjCRuntime;
572 if (getLangOpts().ObjCAutoRefCount && method &&
590 assert(getLangOpts().ObjCAutoRefCount &&
1170 if (getLangOpts().ObjCAutoRefCount) {
1670 if (getLangOpts().ObjCAutoRefCount) {
2743 if (CGF.getLangOpts().CPlusPlus &&
3293 if (getLangOpts().ObjCAutoRefCount) {
3486 if (!getLangOpts().CPlusPlus ||
3487 !getLangOpts().ObjCRuntime.hasAtomicCopyHelper())
3570 if (!getLangOpts().CPlusPlus ||
3571 !getLangOpts().ObjCRuntime.hasAtomicCopyHelper())
tools/clang/lib/CodeGen/CGObjCRuntime.cpp 334 if (CGF.getLangOpts().ObjCAutoRefCount) {
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 1706 if (!CGF.EHStack.requiresLandingPad() || !CGF.getLangOpts().Exceptions ||
1707 !CGF.getLangOpts().CXXExceptions ||
6604 assert(!CGF.getLangOpts().OpenMPIsDevice &&
6821 assert(!CGF.getLangOpts().OpenMPIsDevice &&
tools/clang/lib/CodeGen/CGStmt.cpp 75 if (getLangOpts().OpenMP && getLangOpts().OpenMPSimd) {
75 if (getLangOpts().OpenMP && getLangOpts().OpenMPSimd) {
1087 if (getLangOpts().ElideConstructors &&
1943 if (CGF.getLangOpts().assumeFunctionsAreConvergent())
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp 742 getLangOpts().OpenMPIsDevice &&
921 if (getLangOpts().OpenMPUseTLS &&
986 !getLangOpts().OpenMPSimd)
tools/clang/lib/CodeGen/CodeGenFunction.cpp 101 if (getLangOpts().OpenMP && CurFn)
151 if (unsigned MaxAlign = getLangOpts().MaxTypeAlign) {
774 if (getLangOpts().OpenCL) {
782 if (getLangOpts().CPlusPlus && SanOpts.has(SanitizerKind::Function)) {
818 if (getLangOpts().CPlusPlus)
932 if (getLangOpts().ObjCAutoRefCount &&
943 if (getLangOpts().OpenMP && CurCodeDecl)
1191 else if (getLangOpts().CUDA &&
1192 !getLangOpts().CUDAIsDevice &&
1217 if (getLangOpts().CPlusPlus && !FD->hasImplicitReturnZero() && !SawAsmBlock &&
1621 if (getLangOpts().CPlusPlus) {
tools/clang/lib/CodeGen/CodeGenFunction.h 1717 return getLangOpts().Exceptions;
1719 return getLangOpts().Exceptions &&