- Oct 20, 2009
-
-
Chris Lattner authored
llvm-svn: 84561
-
Chris Lattner authored
like: @ BB#1: .align 2 LCPI1_0: .long L_.str-(LPC0+8) Note that proper indentation of the label :) llvm-svn: 84558
-
Ted Kremenek authored
llvm-svn: 84555
-
Jim Grosbach authored
appropriate restore location for the spill as well as perform the actual save and restore. The Thumb1 target uses this to make sure R12 is not clobbered while a spilled scavenger register is live there. llvm-svn: 84554
-
Chris Lattner authored
llvm-svn: 84553
-
rdar://problem/7312058Ted Kremenek authored
clang_createTranslationUnit() and clang_createTranslationUnitFromSourceFile(). The user can now specify if the diagnostics from Clang are printed to stderr or are silenced completely. We can obviously evolve this API to be more general in the future. Note: Added a FIXME since I wasn't certain what was the best way to redirect to something analogous to '/dev/null' on Windows. llvm-svn: 84548
-
Owen Anderson authored
numbering first class aggregate instructions while we're at it. llvm-svn: 84547
-
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
-