llvm-project/clang/lib/Sema
Yonghong Song 4369223ea7 BPF: make __builtin_btf_type_id() return 64bit int
Linux kernel recently added support for kernel modules
  https://lore.kernel.org/bpf/20201110011932.3201430-5-andrii@kernel.org/

In such cases, a type id in the kernel needs to be presented
as (btf id for modules, btf type id for this module).
Change __builtin_btf_type_id() to return 64bit value
so libbpf can do the above encoding.

Differential Revision: https://reviews.llvm.org/D91489
2020-11-16 07:08:41 -08:00
..
AnalysisBasedWarnings.cpp Recommit "[CUDA][HIP] Defer overloading resolution diagnostics for host device functions" 2020-10-19 17:48:04 -04:00
CMakeLists.txt On Windows build, making the /bigobj flag global , instead of passing it per file. 2020-07-28 18:04:36 -05:00
CodeCompleteConsumer.cpp [Sema] Use isa<> instead of dyn_cast<> as pointer is never dereferenced. NFCI. 2020-11-15 12:58:36 +00:00
CoroutineStmtBuilder.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DeclSpec.cpp Adding some explicit casts to appease build bots; NFC 2020-11-16 09:13:24 -05:00
DelayedDiagnostic.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
IdentifierResolver.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
JumpDiagnostics.cpp [OPENMP]Simplify representation for atomic, critical, master and section 2020-08-07 09:58:23 -04:00
MultiplexExternalSemaSource.cpp Merge some of the PCH object support with modular codegen 2020-07-22 12:46:12 -07:00
OpenCLBuiltins.td [OpenCL] Add sub-group builtin functions 2020-04-02 13:18:56 +01:00
ParsedAttr.cpp [Sema] Silence warnings when targeting x86 with VS2019 16.5.4 2020-05-06 09:11:59 -04:00
Scope.cpp Un-revert "[coroutines][PR40978] Emit error for co_yield within catch block" 2019-03-25 00:53:10 +00:00
ScopeInfo.cpp [clang] Enable support for #pragma STDC FENV_ACCESS 2020-10-25 06:46:25 -07:00
Sema.cpp [Clang][PowerPC] Add __vector_pair and __vector_quad types 2020-10-28 13:19:20 -05:00
SemaAccess.cpp [clang] Fix an assertion crash in delayed access check. 2020-11-13 14:02:57 +01:00
SemaAttr.cpp Add option 'exceptions' to pragma clang fp 2020-10-31 17:36:12 +07:00
SemaAvailability.cpp Prune TargetInfo.h include from ParsedAttr.h, NFC 2020-03-11 20:47:11 -07:00
SemaCUDA.cpp [CUDA] Allow local static variables with target attributes. 2020-11-03 10:30:38 -08:00
SemaCXXScopeSpec.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
SemaCast.cpp [AST][RecoveryExpr] Support dependent cast-expr in C for error-recovery. 2020-10-08 10:00:29 +02:00
SemaChecking.cpp BPF: make __builtin_btf_type_id() return 64bit int 2020-11-16 07:08:41 -08:00
SemaCodeComplete.cpp Convert TypeSpecifierSign from Specifiers.h to a scoped enum; NFC 2020-11-16 09:08:08 -05:00
SemaConcept.cpp [clang][NFC] Remove spurious +x flag on SemaConcept.cpp 2020-07-26 17:10:59 +01:00
SemaConsumer.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SemaCoroutine.cpp [NFC][coroutines] remove unused argument in SemaCoroutine 2020-11-12 13:22:20 +08:00
SemaDecl.cpp [OPENMP]Fix PR47790: segfault in frontend while parsing Objective-C with OpenMP. 2020-11-12 13:26:11 -08:00
SemaDeclAttr.cpp Pass the source range when diagnosing an unknown attribute 2020-11-13 10:29:44 -08:00
SemaDeclCXX.cpp Pass the source range when diagnosing an unknown attribute 2020-11-13 10:29:44 -08:00
SemaDeclObjC.cpp [NFC, Refactor] Rename the (scoped) enum DeclaratorContext's enumerators to remove duplication 2020-11-10 23:40:12 -06:00
SemaExceptionSpec.cpp Switch the default of VerifyIntegerConstantExpression from constant 2020-10-15 16:58:47 -07:00
SemaExpr.cpp [NFC, Refactor] Rename the (scoped) enum DeclaratorContext's enumerators to remove duplication 2020-11-10 23:40:12 -06:00
SemaExprCXX.cpp [PowerPC] Add Sema checks for MMA types 2020-11-04 17:01:47 -06:00
SemaExprMember.cpp Improve modeling of variable template specializations with dependent 2020-08-09 23:22:26 -07:00
SemaExprObjC.cpp Recommit "[CUDA][HIP] Defer overloading resolution diagnostics for host device functions" 2020-10-19 17:48:04 -04:00
SemaFixItUtils.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SemaInit.cpp PR47861: Expand dangling reference warning to look through copy 2020-10-30 10:19:50 -07:00
SemaLambda.cpp Implement Lambda Conversion Operators for All CCs for MSVC. 2020-11-05 07:25:44 -08:00
SemaLookup.cpp [c++20] For P0732R2: Support string literal operator templates. 2020-10-25 00:34:15 -07:00
SemaModule.cpp Change Module::ASTFile and ModuleFile::File => Optional<FileEntryRef>, NFC 2020-11-02 15:11:51 -05:00
SemaObjCProperty.cpp [AST][FPEnv] Keep FP options in trailing storage of CastExpr 2020-09-14 12:15:21 +07:00
SemaOpenMP.cpp [OpenMP5.0] map item can be non-contiguous for target update 2020-11-06 21:04:37 -06:00
SemaOverload.cpp [Sema] Improve notes for value category mismatch in overloading 2020-11-15 18:05:11 +01:00
SemaPseudoObject.cpp Reland D81869 "Modify FPFeatures to use delta not absolute settings" 2020-06-27 01:34:57 -07:00
SemaSYCL.cpp Recommit "[CUDA][HIP] Defer overloading resolution diagnostics for host device functions" 2020-10-19 17:48:04 -04:00
SemaStmt.cpp [Sema] Fix volatile check when testing if a return object can be implicitly moved 2020-11-10 15:11:07 -05:00
SemaStmtAsm.cpp Recommit "[CUDA][HIP] Defer overloading resolution diagnostics for host device functions" 2020-10-19 17:48:04 -04:00
SemaStmtAttr.cpp Pass the source range when diagnosing an unknown attribute 2020-11-13 10:29:44 -08:00
SemaTemplate.cpp Remove unused variable name. NFC. 2020-10-27 17:48:50 -07:00
SemaTemplateDeduction.cpp PR47372: Fix Lambda invoker calling conventions 2020-10-30 06:39:55 -07:00
SemaTemplateInstantiate.cpp Properly collect template arguments from a class-scope function template 2020-11-10 15:55:19 -08:00
SemaTemplateInstantiateDecl.cpp [dllexport] Instantiate default ctor default args for explicit specializations (PR45811) 2020-11-12 13:29:34 +01:00
SemaTemplateVariadic.cpp Recommit "[CUDA][HIP] Defer overloading resolution diagnostics for host device functions" 2020-10-19 17:48:04 -04:00
SemaType.cpp Fix bots that are running with assertions enabled; NFC. 2020-11-16 09:23:10 -05:00
TreeTransform.h Rename CXXUnresolvedConstructExpr::arg_size for consistency 2020-11-02 20:21:48 +00:00
TypeLocBuilder.cpp [NFC] avoid AlignedCharArray in clang 2019-07-29 23:12:48 +00:00
TypeLocBuilder.h [NFC] avoid AlignedCharArray in clang 2019-07-29 23:12:48 +00:00
UsedDeclVisitor.h DeferredDiagnosticsEmitter crashes 2020-10-08 11:42:21 -04:00