llvm-capstone/clang/lib
Jay Foad 6bec3e9303 [APInt] Remove all uses of zextOrSelf, sextOrSelf and truncOrSelf
Most clients only used these methods because they wanted to be able to
extend or truncate to the same bit width (which is a no-op). Now that
the standard zext, sext and trunc allow this, there is no reason to use
the OrSelf versions.

The OrSelf versions additionally have the strange behaviour of allowing
extending to a *smaller* width, or truncating to a *larger* width, which
are also treated as no-ops. A small amount of client code relied on this
(ConstantRange::castOp and MicrosoftCXXNameMangler::mangleNumber) and
needed rewriting.

Differential Revision: https://reviews.llvm.org/D125557
2022-05-19 11:23:13 +01:00
..
Analysis [clang][dataflow] Fix double visitation of nested logical operators 2022-05-17 20:28:48 +00:00
APINotes
ARCMigrate [clang] Use true/false instead of 1/0 (NFC) 2022-01-09 00:19:47 -08:00
AST [APInt] Remove all uses of zextOrSelf, sextOrSelf and truncOrSelf 2022-05-19 11:23:13 +01:00
ASTMatchers [ASTMatchers][clang-tidy][NFC] Hoist forEachTemplateArgument matcher into the core library 2022-05-13 12:55:48 +02:00
Basic [clang] Require including config.h for CLANG_DEFAULT_STD_C 2022-05-14 01:48:14 -07:00
CodeGen [APInt] Remove all uses of zextOrSelf, sextOrSelf and truncOrSelf 2022-05-19 11:23:13 +01:00
CrossTU [clang][analyzer][ctu] Make CTU a two phase analysis 2022-05-18 10:35:52 +02:00
DirectoryWatcher [clang] [DirectoryWatcher] Remove leading \\?\ from GetFinalPathNameByHandleW 2021-11-08 22:21:30 +02:00
Driver [Driver] Refactor /opt/rh detection 2022-05-18 12:40:27 -07:00
Edit [clang] Use true/false instead of 1/0 (NFC) 2022-01-09 00:19:47 -08:00
ExtractAPI Revert ""Re-apply 4b6c2cd642 "Deferred Concept Instantiation Implementation""""" 2022-05-09 09:12:05 -07:00
Format Revert "[clang-format] Fix WhitespaceSensitiveMacros not being honoured when macro closing parenthesis is followed by a newline." 2022-05-18 07:27:45 +02:00
Frontend [clang] Add the flag -ffile-reproducible 2022-05-11 23:04:36 +02:00
FrontendTool [C++20][Modules][HU 1/5] Introduce header units as a module type. 2022-03-25 09:17:14 +00:00
Headers [OpenCL] Add cl_khr_subgroup_rotate builtins 2022-05-18 13:02:17 +01:00
Index [AST] Improve traversal of concepts and concept requirements 2022-04-28 09:33:26 +00:00
IndexSerialization
Interpreter [ORC] Return ExecutorAddrs rather than JITEvaluatedSymbols from LLJIT::lookup. 2022-05-05 13:56:00 -07:00
Lex [clang] Avoid suggesting typoed directives in .S files 2022-05-16 15:46:59 -07:00
Parse [MSVC] Add support for pragma alloc_text 2022-05-16 07:00:17 -07:00
Rewrite Add assert on End iteration distance to Rewriter::getRewrittenText. 2022-01-25 17:26:13 +00:00
Sema [APInt] Remove all uses of zextOrSelf, sextOrSelf and truncOrSelf 2022-05-19 11:23:13 +01:00
Serialization [Serialization] Delta-encode consecutive SourceLocations in TypeLoc 2022-05-19 09:40:44 +02:00
StaticAnalyzer [APInt] Remove all uses of zextOrSelf, sextOrSelf and truncOrSelf 2022-05-19 11:23:13 +01:00
Support [RISCV][NFC] Fix build issue 2022-05-16 16:00:23 +08:00
Testing [include-cleaner] Include-cleaner library structure, and simplistic AST walking. 2022-04-29 11:04:11 +02:00
Tooling [Tooling/DependencyScanning] Make skipping excluded PP ranges during dependency scanning the default 2022-04-28 15:23:03 -07:00
CMakeLists.txt [RISCV] Moving RVV intrinsic type related util to clang/Support 2022-04-20 21:13:13 +08:00