- Apr 15, 2014
-
-
Nick Lewycky authored
llvm-svn: 206253
-
Craig Topper authored
[C++11] More 'nullptr' conversion. In some cases just using a boolean check instead of comparing to nullptr. llvm-svn: 206252
-
Chandler Carruth authored
to types which we can compute the size of. The comparison with zero isn't actually interesting here, it's mostly about putting sizeof into a sfinae context. This is particular important for Deallocate as otherwise the void* overload can quickly become ambiguous. llvm-svn: 206251
-
David Blaikie authored
llvm-svn: 206250
-
David Blaikie authored
llvm-svn: 206249
-
David Blaikie authored
llvm-svn: 206248
-
David Majnemer authored
The Ts/Tu/Te manglings should occur before the nested-name's N. llvm-svn: 206247
-
David Blaikie authored
llvm-svn: 206246
-
David Blaikie authored
llvm-svn: 206245
-
David Blaikie authored
MCModule's ctor had to be moved out of line so the definition of MCFunction was available. (ctor requires the dtor of members (in case the ctor throws) which required access to the dtor of MCFunction) llvm-svn: 206244
-
Craig Topper authored
[C++11] More 'nullptr' conversion. In some cases just using a boolean check instead of comparing to nullptr. llvm-svn: 206243
-
David Blaikie authored
llvm-svn: 206242
-
Lang Hames authored
This patch re-introduces the MCContext member that was removed from MCDisassembler in r206063, and requires that an MCContext be passed in at MCDisassembler construction time. (Previously the MCContext member had been initialized in an ad-hoc fashion after construction). The MCCContext member can be used by MCDisassembler sub-classes to construct constant or target-specific MCExprs. This patch updates disassemblers for in-tree targets, and provides the MCRegisterInfo instance that some disassemblers were using through the MCContext (previously those backends were constructing their own MCRegisterInfo instances). llvm-svn: 206241
-
NAKAMURA Takumi authored
*not* Subtarget->hasSSE1() *but* __SSE__, the flag that LLVM libraries are compiled The callback calls internal LLVM JIT libraries. It may be built with -msse (or above). FIXME: JIT may use "host" instead of "generic" by default. llvm-svn: 206240
-
Jim Grosbach authored
Range-based for loops. No functional change intended. llvm-svn: 206239
-
Jim Grosbach authored
llvm-svn: 206238
-
Aaron Ballman authored
llvm-svn: 206237
-
Quentin Colombet authored
Currently, we bind those directives with the last symbol, so if none has been defined, this would lead to a crash of the compiler. <rdar://problem/15939159> llvm-svn: 206236
-
Quentin Colombet authored
<rdar://problem/16582185> llvm-svn: 206235
-
Richard Trieu authored
llvm-svn: 206234
-
Jason Molenda authored
when it is reading the kext table, in case we're reading out of a core file with corrupt contents in this region. <rdar://problem/16601915> llvm-svn: 206233
-
Richard Trieu authored
diagnostics which caused delayed diagnostics on dead paths to be emitted. llvm-svn: 206232
-
Justin Bogner authored
CapturedStmt was being ignored by instrumentation based profiling, and its counters attributed to the containing function. Instead, we need to treat this as a top level entity, like we do with blocks. llvm-svn: 206231
-
Chandler Carruth authored
along with templated overloads much like we have for Allocate. These will facilitate switching the Deallocate interface of all the Allocator classes to accept the size by pre-filling it from the type size where we can do so. I plan to convert several uses to the template variants in subsequent patches prior to adding the Size parameter. No functionality changed, WIP. llvm-svn: 206230
-
Aaron Ballman authored
Fixing a typo, updating the diagnostic wording and logic based on post-commit review feedback. Amends r206186. llvm-svn: 206229
-
Quentin Colombet authored
llvm-svn: 206228
-
Quentin Colombet authored
<rdar://problem/16573920> llvm-svn: 206227
-
Chandler Carruth authored
static_assert added in r206225. I'm looking into a proper fix, but wanted the bots back. llvm-svn: 206226
-
Chandler Carruth authored
rather than defining them (differently!) in both allocators. This also serves as a basis for documenting and even enforcing some of the LLVM-style "allocator" concept methods which must exist with various signatures. I plan on extending and changing the signatures of these to further simplify our allocator model in subsequent commits, so I wanted to factor things as best as I could first. Notably, I'm working to add the 'Size' to the deallocation method of all allocators. This has several implications not the least of which are faster deallocation times on certain allocation libraries (tcmalloc). It also will allow the JIT allocator to fully model the existing allocation interfaces and allow sanitizer poisoning of deallocated regions. The list of advantages goes on. =] But by factoring things first I'll be able to make this easier by first introducing template helpers for the deallocation path. llvm-svn: 206225
-
Reid Kleckner authored
llvm-svn: 206224
-
Richard Smith authored
argument to __builtin_va_arg. Patch by Rahul Jain, some test massaging and IR emission order changes by me. llvm-svn: 206223
-
David Blaikie authored
Got bored, removed some manual memory management. Pushed references (rather than pointers) through a few APIs rather than replacing *x with x.get(). llvm-svn: 206222
-
Nick Lewycky authored
Make sure these two files are distinct, or else the modules system may, on certain file systems, treat them as if they were the same file. llvm-svn: 206221
-
Jim Grosbach authored
Missed one in r206094. This brings MC and TargetMachine back into sync. llvm-svn: 206220
-
David Blaikie authored
Changes requested in code review by Eric Christopher of r206130. llvm-svn: 206219
-
Eric Christopher authored
I can't seem to get a testcase to show a difference here, but it's part of the unconditional-br.ll line table weirdness. llvm-svn: 206218
-
Ben Langmuir authored
llvm-svn: 206217
-
NAKAMURA Takumi authored
llvm-svn: 206215
-
Matt Arsenault authored
Fix cases where the Value itself is used, and not the constant value. llvm-svn: 206214
-
Greg Clayton authored
Patch from Michael Tao. llvm-svn: 206213
-