- Aug 05, 2009
-
-
Dan Gohman authored
Instead of awkwardly encoding calling-convention information with ISD::CALL, ISD::FORMAL_ARGUMENTS, ISD::RET, and ISD::ARG_FLAGS nodes, TargetLowering provides three virtual functions for targets to override: LowerFormalArguments, LowerCall, and LowerRet, which replace the custom lowering done on the special nodes. They provide the same information, but in a more immediately usable format. This also reworks much of the target-independent tail call logic. The decision of whether or not to perform a tail call is now cleanly split between target-independent portions, and the target dependent portion in IsEligibleForTailCallOptimization. This also synchronizes all in-tree targets, to help enable future refactoring and feature work. llvm-svn: 78142
-
Dan Gohman authored
llvm-svn: 78138
-
Dan Gohman authored
calls were originally put in place because errs() at one time was not unbuffered, and these print routines are commonly used with errs() for debugging. However, errs() is now properly unbuffered, so the flush calls are no longer needed. This significantly reduces the number of write(2) calls for regular asm printing when there are many small functions. llvm-svn: 78137
-
Bob Wilson authored
Get rid of yesterday's code to fix the register usage during isel. Select the new DAG nodes to machine instructions. The new pre-alloc pass to choose adjacent registers for these results is not done, so the results of this will generally not assemble yet. llvm-svn: 78136
-
Bruno Cardoso Lopes authored
for ELF to work. 2) RIP addressing: Use SIB bytes for absolute relocations where RegBase=0, IndexReg=0. 3) The JIT can get the real address of cstpools and jmptables during code emission, fix that for object code emission llvm-svn: 78129
-
Evan Cheng authored
llvm-svn: 78126
-
- Aug 04, 2009
-
-
Bob Wilson authored
For other VLDn and VSTn operations, we need to list the multiple registers explicitly anyway, so there's no point in special-casing this one usage. llvm-svn: 78109
-
Mike Stump authored
llvm-svn: 78105
-
Evan Cheng authored
llvm-svn: 78104
-
Chris Lattner authored
still get "intel syntax" instructions from llc with -x86-asm-syntax=intel llvm-svn: 78103
-
David Goodwin authored
llvm-svn: 78101
-
Chris Lattner authored
the masm backend. If anyone cares about masm in the future, we'll have semantic sections it can hang off of. llvm-svn: 78096
-
Jakob Stoklund Olesen authored
The only exception is CC. llvm-svn: 78089
-
Evan Cheng authored
llvm-svn: 78086
-
David Goodwin authored
llvm-svn: 78085
-
Sanjiv Gupta authored
llvm-svn: 78082
-
David Goodwin authored
Initial support for single-precision FP using NEON. Added "neonfp" attribute to enable. Added patterns for some binary FP operations. llvm-svn: 78081
-
Daniel Dunbar authored
llvm-svn: 78070
-
Chris Lattner authored
__TEXT,__ustring section on darwin. llvm-svn: 78068
-
Chris Lattner authored
it is just being used as a prefix, so forward substitute it directly. llvm-svn: 78067
-
Chris Lattner authored
section on ELF targets. llvm-svn: 78066
-
Anton Korobeynikov authored
llvm-svn: 78060
-
Anton Korobeynikov authored
llvm-svn: 78059
-
Evan Cheng authored
llvm-svn: 78057
-
Chris Lattner authored
add new concrete versions for 1/2/4-byte mergable strings. These are not actually created yet. llvm-svn: 78055
-
Daniel Dunbar authored
llvm-svn: 78047
-
Daniel Dunbar authored
llvm-svn: 78043
-
Evan Cheng authored
Remove ARM specific getInlineAsmLength. We'll rely on the simpler (and faster) generic algorithm for now. If more accurate computation is needed, we'll rely on the disassembler. llvm-svn: 78032
-
Evan Cheng authored
llvm-svn: 78031
-
Evan Cheng authored
Emit sub r, #c instead of transforming it to add r, #-c if c fits in 8-bit. This is a bit of pre-mature optimization. 8-bit variant makes it likely it will be narrowed to a 16-bit instruction. llvm-svn: 78030
-
Bob Wilson authored
results to fixed registers. llvm-svn: 78025
-
Bob Wilson authored
llvm-svn: 78024
-
Ted Kremenek authored
llvm-svn: 78020
-
Chris Lattner authored
llvm-svn: 78014
-
Chris Lattner authored
llvm-svn: 78013
-
Chris Lattner authored
replicating the logic manually. llvm-svn: 78011
-
Chris Lattner authored
textual sections. llvm-svn: 78007
-
Chris Lattner authored
llvm-svn: 78006
-
- Aug 03, 2009
-
-
Chris Lattner authored
hey it uses .previous, so it should work :) llvm-svn: 78004
-
Chris Lattner authored
more step towards "semantics sections" llvm-svn: 78002
-