llvm-project/clang/lib
Hal Finkel bcc06085a8 Add __builtin_assume and __builtin_assume_aligned using @llvm.assume.
This makes use of the recently-added @llvm.assume intrinsic to implement a
__builtin_assume(bool) intrinsic (to provide additional information to the
optimizer). This hooks up __assume in MS-compatibility mode to mirror
__builtin_assume (the semantics have been intentionally kept compatible), and
implements GCC's __builtin_assume_aligned as assume((p - o) & mask == 0). LLVM
now contains special logic to deal with assumptions of this form.

llvm-svn: 217349
2014-09-07 22:58:14 +00:00
..
ARCMigrate Update for llvm API change. 2014-08-27 19:03:27 +00:00
AST Add __builtin_assume and __builtin_assume_aligned using @llvm.assume. 2014-09-07 22:58:14 +00:00
ASTMatchers Separate the matchers by type and statically dispatch to the right list. 2014-09-05 20:15:31 +00:00
Analysis MS format strings: parse the 'Z' printf conversion specifier (PR20808) 2014-09-07 03:03:51 +00:00
Basic Fix some cases where StringRef was being passed by const reference. Remove const from some other StringRefs since its implicitly const already. 2014-08-30 16:55:52 +00:00
CodeGen Add __builtin_assume and __builtin_assume_aligned using @llvm.assume. 2014-09-07 22:58:14 +00:00
Driver Win64: Add the uwtable attribute by default on Win64 2014-09-04 18:13:12 +00:00
Edit Objective-C modernization. Convert -initWithUTF8String messaging 2014-08-25 20:22:25 +00:00
Format clang-format: [JS] Format embedded function literals more efficently. 2014-09-05 09:27:38 +00:00
Frontend -frewrite-includes: Normalize line endings to match the main source file 2014-09-05 16:49:50 +00:00
FrontendTool Provide a BuryPointer for unique_ptrs. 2014-08-29 16:53:14 +00:00
Headers arm_acle: Fix error in ROR implementation 2014-08-28 15:25:52 +00:00
Index Overload SourceManager::overrideFileContents so that unconditionally passing ownership is explicitly done using unique_ptr. 2014-08-27 20:54:45 +00:00
Lex unique_ptrify PTHManager's PerIDCache using the newly added llvm::FreeDeleter 2014-08-29 22:04:45 +00:00
Parse Add error, recovery and fixit for "~A::A() {...}". 2014-09-06 02:06:12 +00:00
Rewrite Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
Sema Add __builtin_assume and __builtin_assume_aligned using @llvm.assume. 2014-09-07 22:58:14 +00:00
Serialization Add -Wunused-local-typedef, a warning that finds unused local typedefs. 2014-09-06 01:25:55 +00:00
StaticAnalyzer [analyzer] Don't crash if malloc() has an unexpected function prototype. 2014-09-05 16:33:51 +00:00
Tooling unique_ptrify JobList::Jobs 2014-09-04 16:04:28 +00:00
CMakeLists.txt Fix build with various feature flag combinations 2014-07-14 22:17:22 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00