- Oct 20, 2009
-
-
Chris Lattner authored
_main: stmsp! sp!, {r7, lr} mov r7, sp sub sp, sp, #4 mov r0, #0 str r0, [sp] ldr r0, LCPI1_0 bl _printf ldr r0, [sp] mov sp, r7 ldmsp! sp!, {r7, pc} Note the unhappy ldm/stm because of modifiers being ignored. llvm-svn: 84546
-
Douglas Gregor authored
t->~T<A0, A1>() Fixes PR5213. llvm-svn: 84545
-
- Oct 19, 2009
-
-
Chris Lattner authored
broken makefile deps :( llvm-svn: 84544
-
Chris Lattner authored
_main: stm , mov r7, sp sub sp, sp, #4 mov r0, #0 str r0, [sp] ldr r0, LCPI1_0 bl _printf ldr r0, [sp] mov sp, r7 ldm , llvm-svn: 84543
-
Chris Lattner authored
lowering stuff. We can now compile hello world to: _main: stm , mov r7, sp sub sp, sp, #4 mov r0, #0 str r0, ldr r0, bl _printf ldr r0, mov sp, r7 ldm , Almost looks like arm code :) llvm-svn: 84542
-
Victor Hernandez authored
Malloc calls are marked NoAlias, so the code below the isMalloc() check makes it redundant. Removing the isMalloc() check. llvm-svn: 84541
-
Chris Lattner authored
llvm-svn: 84540
-
Ted Kremenek authored
alternate DiagnosticClients. To match this API, ASTUnit::LoadFromPCHFile() now takes a corresponding DiagnosticClient* argument as well. The DiagnosticClient object is destroyed when the ASTUnit object is destroyed. The CIndex library now uses this API to create a 'IgnoreDiagnosticsClient' that simply silences diagnostics when using the clang_createTranslationUnitFromSourceFile() function. This fixes <rdar://problem/7312058>. This API can change in the future as we add more flexibility for clients. llvm-svn: 84539
-
Fariborz Jahanian authored
to '+=', '-=', '*=' and '/=' builtin operators and fixes a logic bug exposed by doing this. llvm-svn: 84538
-
Mikhail Glushenkov authored
llvm-svn: 84537
-
Chris Lattner authored
llvm-svn: 84536
-
Chris Lattner authored
_main: stm , mov r7, sp sub sp, sp, #4 mov r0, #0 str r0, llvm-svn: 84535
-
Ted Kremenek authored
Re-order includes so that the logic involving '#ifdef LLVM_ON_WIN32' appears after the main #includes. The ultimate solution is to just use LLVM-portable methods in llvm/System. llvm-svn: 84534
-
Owen Anderson authored
llvm-svn: 84533
-
Chris Lattner authored
we abort: _main: stm , mov r7, sp sub sp, sp, mov r0, str r0, llvm-svn: 84532
-
Chris Lattner authored
llvm-svn: 84531
-
Chris Lattner authored
through mcinst lowering -> mcinstprinter, when llc is passed the -enable-arm-mcinst-printer flag. Currently this is very "aborty". llvm-svn: 84530
-
Owen Anderson authored
at the moment. llvm-svn: 84529
-
Chris Lattner authored
"something" when printing MCInsts, it will just be missing all the operand info. llvm-svn: 84528
-
Chris Lattner authored
llvm-svn: 84527
-
Chris Lattner authored
All of these "subreg32" modifier instructions are handled explicitly by the MCInst lowering phase. If they got to the asmprinter, they would explode. They should eventually be replace with correct use of subregs. llvm-svn: 84526
-
Fariborz Jahanian authored
is a standard convesion and not a user-defined conversion. llvm-svn: 84525
-
Jeffrey Yasskin authored
The JITResolver maps Functions to their canonical stubs and all callsites for lazily-compiled functions to their target Functions. To make Function destruction work, I'm going to need to remove all callsites on destruction, so this patch also adds the reverse mapping for that. There was an incorrect assumption in here that the only stub for a function would be the one caused by needing to lazily compile it, while x86-64 far calls and dlsym-stubs could also cause such stubs, but I didn't look for a test case that the assumption broke. This also adds DenseMapInfo<AssertingVH> so I can use DenseMaps instead of std::maps. llvm-svn: 84522
-
Chris Lattner authored
llvm-svn: 84521
-
Chris Lattner authored
llvm-svn: 84520
-
Chris Lattner authored
llvm-svn: 84519
-
Anders Carlsson authored
llvm-svn: 84518
-
Chris Lattner authored
llvm-svn: 84517
-
Anton Korobeynikov authored
llvm-svn: 84516
-
Chris Lattner authored
llvm-svn: 84515
-
Anders Carlsson authored
llvm-svn: 84514
-
Chris Lattner authored
llvm-svn: 84513
-
Chris Lattner authored
llvm-svn: 84512
-
Chris Lattner authored
llvm-svn: 84510
-
Chris Lattner authored
llvm-svn: 84509
-
Chris Lattner authored
llvm-svn: 84508
-
Stuart Hastings authored
llvm-svn: 84507
-
Nate Begeman authored
llvm-svn: 84506
-
Dan Gohman authored
where a loop's header is being split and it has predecessors which are not contained by the most-nested loop which contains the loop. This fixes PR5235. llvm-svn: 84505
-
Dan Gohman authored
llvm-svn: 84504
-