- Feb 03, 2010
-
-
Chris Lattner authored
llvm-svn: 95209
-
Chris Lattner authored
llvm-svn: 95208
-
Chris Lattner authored
instead of textually. llvm-svn: 95206
-
Chris Lattner authored
of const ones. non-const ones aren't very useful, because you can't even, say, emit them. llvm-svn: 95205
-
Evan Cheng authored
Allow all types of callee's to be tail called. But avoid automatic tailcall if the callee is a result of bitcast to avoid losing necessary zext / sext etc. llvm-svn: 95195
-
Chris Lattner authored
.o files don't like that. llvm-svn: 95187
-
Chris Lattner authored
the streamer. Demo: $ cat t.ll define i32 @test() nounwind { ret i32 42 } $ llc t.ll -o - ... _test: movl $42, %eax ret $ llc t.ll -o t.o -filetype=obj $ otool -tv t.o t.o: (__TEXT,__text) section _test: 00000000 movl $0x0000002a,%eax 00000005 ret llvm-svn: 95179
-
Chris Lattner authored
the end of the instruction instead of expecting the caller to do it. This currently causes the asm-verbose instruction comments to be on the next line. llvm-svn: 95178
-
Chris Lattner authored
than DEBUG_VALUE :( ) into the target indep AsmPrinter.cpp file. This allows elimination of the NO_ASM_WRITER_BOILERPLATE hack among other things. llvm-svn: 95177
-
Dale Johannesen authored
to have some problems anyway. llvm-svn: 95171
-
Evan Cheng authored
ByVal frame object size should be that of the byval argument, not the size of the type which is just a pointer. This is not known to break stuff but is wrong nevertheless. llvm-svn: 95163
-
Evan Cheng authored
llvm-svn: 95160
-
Dale Johannesen authored
llvm-svn: 95159
-
Daniel Dunbar authored
some mechanism for specifying alternative syntaxes, but I'm not sure what form that should take yet. llvm-svn: 95158
-
Chris Lattner authored
mccontext instead of having AsmPrinter do it. This allows other types of MCStreamer's to be passed in. llvm-svn: 95155
-
- Feb 02, 2010
-
-
Chris Lattner authored
llvm-svn: 95144
-
Daniel Dunbar authored
== 1. llvm-svn: 95137
-
Daniel Dunbar authored
MCMachineInstr. This also fixes handling of tied registers for MRMSrcMem instructions. llvm-svn: 95136
-
Chris Lattner authored
eliminate random "code emitter" stuff in Alpha, except for the JIT path. Next up, remove the template cruft. llvm-svn: 95131
-
Evan Cheng authored
llvm-svn: 95130
-
Evan Cheng authored
where callee's arguments are already in the caller's own caller's stack and they line up perfectly. e.g. extern int foo(int a, int b, int c); int bar(int a, int b, int c) { return foo(a, b, c); } llvm-svn: 95053
-
- Feb 01, 2010
-
-
Evan Cheng authored
llvm-svn: 95017
-
Evan Cheng authored
llvm-svn: 94970
-
- Jan 31, 2010
-
-
Evan Cheng authored
Change TAILJMP's to be varargs and transfer implicit uses over from TCRETURN's. Otherwise the missing uses can make post-regalloc scheduling do bad things. This fixes 403.gcc. llvm-svn: 94950
-
Evan Cheng authored
llvm-svn: 94949
-
Evan Cheng authored
llvm-svn: 94946
-
Sean Callanan authored
to the TargetAsmLexer class so that clients can actually use the TargetAsmLexer they get from a Target. llvm-svn: 94940
-
- Jan 30, 2010
-
-
Evan Cheng authored
llvm-svn: 94873
-
Evan Cheng authored
llvm-svn: 94872
-
Daniel Dunbar authored
something totally broken and parsing them as immediates, but the .td file also had the wrong match class so things sortof worked. Except, that is, that we would parse movl $0, %eax as movl 0, %eax Feel free to guess how well that worked. llvm-svn: 94869
-
Daniel Dunbar authored
llvm-svn: 94861
-
Daniel Dunbar authored
register, and use to cleanup a FIXME in X86AsmParser.cpp. llvm-svn: 94859
-
- Jan 29, 2010
-
-
Dale Johannesen authored
llvm-svn: 94843
-
Evan Cheng authored
llvm-svn: 94804
-
Sean Callanan authored
enhanced disassembler, and the necessary makefile rules to build the table for X86. llvm-svn: 94764
-
- Jan 28, 2010
-
-
Evan Cheng authored
Fix a bug introduced by r94490 where it created a X86ISD::CMP whose output type is different from its inputs. This fixes PR6146. llvm-svn: 94731
-
Chris Lattner authored
Move the X86 implementation of function body emission up to AsmPrinter::EmitFunctionBody, which works by calling the virtual EmitInstruction method. llvm-svn: 94716
-
- Jan 27, 2010
-
-
Dale Johannesen authored
per document. llvm-svn: 94693
-
Jeffrey Yasskin authored
Modules and ModuleProviders. Because the "ModuleProvider" simply materializes GlobalValues now, and doesn't provide modules, it's renamed to "GVMaterializer". Code that used to need a ModuleProvider to materialize Functions can now materialize the Functions directly. Functions no longer use a magic linkage to record that they're materializable; they simply ask the GVMaterializer. Because the C ABI must never change, we can't remove LLVMModuleProviderRef or the functions that refer to it. Instead, because Module now exposes the same functionality ModuleProvider used to, we store a Module* in any LLVMModuleProviderRef and translate in the wrapper methods. The bindings to other languages still use the ModuleProvider concept. It would probably be worth some time to update them to follow the C++ more closely, but I don't intend to do it. Fixes http://llvm.org/PR5737 and http://llvm.org/PR5735. llvm-svn: 94686
-
Evan Cheng authored
even when -tailcallopt is not specified and it does not require changing ABI. First case is the most trivial one. Perform tail call optimization when both the caller and callee do not return values and when the callee does not take any input arguments. llvm-svn: 94664
-