- Apr 15, 2014
-
-
Julien Lerouge authored
appear in the InlineFunctionInfo. llvm-svn: 206308
-
Julien Lerouge authored
beginning of the first new block after inlining. llvm-svn: 206307
-
Duncan P. N. Exon Smith authored
Similar to r202051, add missing loop simplification passes to the LTO optimization pipeline. Patch by Rafael Espindola. llvm-svn: 206306
-
Duncan P. N. Exon Smith authored
Fixup after r206300. <rdar://problem/15500563> llvm-svn: 206305
-
Duncan P. N. Exon Smith authored
Implement DebugInfoVerifier, which steals verification relying on DebugInfoFinder from Verifier. - Adds LegacyDebugInfoVerifierPassPass, a ModulePass which wraps DebugInfoVerifier. Uses -verify-di command-line flag. - Change verifyModule() to invoke DebugInfoVerifier as well as Verifier. - Add a call to createDebugInfoVerifierPass() wherever there was a call to createVerifierPass(). This implementation as a module pass should sidestep efficiency issues, allowing us to turn debug info verification back on. <rdar://problem/15500563> llvm-svn: 206300
-
Duncan P. N. Exon Smith authored
Split out assertion and output helpers from Verifier in preparation for writing the DebugInfoVerifier. <rdar://problem/15500563> llvm-svn: 206299
-
David Blaikie authored
llvm-svn: 206297
-
NAKAMURA Takumi authored
llvm-svn: 206293
-
NAKAMURA Takumi authored
llvm-svn: 206292
-
Tim Northover authored
llvm-svn: 206290
-
Tim Northover authored
Sometimes we need emit the bits that would actually be a MOVN when producing a relocated MOVZ instruction (don't ask). But not always, a check which ARM64 got wrong until now. llvm-svn: 206289
-
Tim Northover authored
I've left the MachO CodeGen as it is, there's a reasonable chance it should use the GOT like ConstPools, but I'm not certain. llvm-svn: 206288
-
Tim Northover authored
llvm-svn: 206287
-
Tim Northover authored
This brings it into line with the AArch64 behaviour and should open the way for certain OpenCL features. llvm-svn: 206286
-
Tim Northover authored
Code is mostly copied directly across, with a slight extension of the ISelDAGToDAG function so that it can cope with the floating-point constants being behind a litpool. llvm-svn: 206285
-
Tim Northover authored
llvm-svn: 206284
-
Tim Northover authored
ARM64 suffered multiple -verify-machineinstr failures (principally over the xsp/xzr issue) because FastISel was completely ignoring which subset of the general-purpose registers each instruction required. More fixes are coming in ARM64 specific FastISel, but this should cover the generic problems. llvm-svn: 206283
-
Tim Northover authored
llvm-svn: 206281
-
NAKAMURA Takumi authored
llvm-svn: 206279
-
Stepan Dyatkovskiy authored
http://reviews.llvm.org/D3328 llvm-svn: 206276
-
Vladimir Medic authored
Current definition of subtract with immediate instruction aliases uses CodeGenOnly defined instructions and post matcher expansion methods to emit real instructions add with immediate. However, they can directly alias add with immediate instruction and remove unnecessary definitions and code in MipsAsmParser.cpp. This patch makes no change in functionality, just removes unnecessary definitions and code. llvm-svn: 206272
-
Chandler Carruth authored
by removing the MallocSlabAllocator entirely and just using MallocAllocator directly. This makes all off these allocators expose and utilize the same core interface. The only ugly part of this is that it exposes the fact that the JIT allocator has no real handling of alignment, any more than the malloc allocator does. =/ It would be nice to fix both of these to support alignments, and then to leverage that in the BumpPtrAllocator to do less over allocation in order to manually align pointers. But, that's another patch for another day. This patch has no functional impact, it just removes the somewhat meaningless wrapper around MallocAllocator. llvm-svn: 206267
-
Alexey Bataev authored
llvm-svn: 206266
-
NAKAMURA Takumi authored
X86JITInfo: [x86] Rework r206240, X86CompilationCallback_SSE() should be called for SSE-enabled code generator, even if LLVM is not built with -msse. llvm-svn: 206261
-
Nick Lewycky authored
Break PseudoSourceValue out of the Value hierarchy. It is now the root of its own tree containing FixedStackPseudoSourceValue (which you can use isa/dyn_cast on) and MipsCallEntry (which you can't). Anything that needs to use either a PseudoSourceValue* and Value* is strongly encouraged to use a MachinePointerInfo instead. llvm-svn: 206255
-
Craig Topper authored
[C++11] More 'nullptr' conversion. In some cases just using a boolean check instead of comparing to nullptr. llvm-svn: 206252
-
David Blaikie authored
llvm-svn: 206250
-
David Blaikie authored
llvm-svn: 206249
-
David Blaikie authored
llvm-svn: 206248
-
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
-
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
llvm-svn: 206228
-
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
-