- Aug 05, 2009
-
-
Evan Cheng authored
After coalescing reg1027's def and kill are both at the same point: %reg1027,0.000000e+00 = [56,814:0) 0@70-(814) bb5: 60 %reg1027<def> = t2MOVr %reg1027, 14, %reg0, %reg0 68 %reg1027<def> = t2LDRi12 %reg1027<kill>, 8, 14, %reg0 76 t2CMPzri %reg1038<kill,undef>, 0, 14, %reg0, %CPSR<imp-def> 84 %reg1027<def> = t2MOVr %reg1027, 14, %reg0, %reg0 96 t2Bcc mbb<bb5,0x2030910>, 1, %CPSR<kill> Do not remove the kill marker on t2LDRi12. llvm-svn: 78178
-
Bruno Cardoso Lopes authored
llvm-svn: 78177
-
Bruno Cardoso Lopes authored
a dirty hack and isn't need anymore since the last x86 code emitter patch) - Add a target-dependent modifier to addend calculation - Use R_X86_64_32S relocation for X86::reloc_absolute_word_sext - Use getELFSectionFlags whenever possible - fix getTextSection to use TLOF and emit the right text section - Handle global emission for static ctors, dtors and Type::PointerTyID - Some minor fixes llvm-svn: 78176
-
Evan Cheng authored
llvm-svn: 78175
-
Chris Lattner authored
llvm-svn: 78169
-
Dan Gohman authored
llvm-svn: 78165
-
Dan Gohman authored
MMX arguments. This fixes PR4684. llvm-svn: 78163
-
Chris Lattner authored
them in the verifier. llvm-svn: 78160
-
Andreas Bolka authored
llvm-svn: 78157
-
Chris Lattner authored
getKindForGlobal. llvm-svn: 78156
-
Andreas Bolka authored
We can not simply apply ZIV testing to the pointer offsets, as this would incorrectly return independence for e.g. (GEP x,0,i; GEP x,1,-i). llvm-svn: 78155
-
Chris Lattner authored
llvm-svn: 78154
-
Andreas Bolka authored
llvm-svn: 78153
-
Evan Cheng authored
llvm-svn: 78151
-
Bob Wilson authored
llvm-svn: 78146
-
Evan Cheng authored
llvm-svn: 78145
-
Evan Cheng authored
llvm-svn: 78144
-
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
-
Evan Cheng authored
llvm-svn: 78141
-
Dan Gohman authored
llvm-svn: 78139
-
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
-
Dan Gohman authored
llvm-svn: 78135
-
Dan Gohman authored
llvm-svn: 78133
-
Dan Gohman authored
fork call. This eliminates a need for <iostream>. Also remove needless fsync calls. llvm-svn: 78131
-
Owen Anderson authored
llvm-svn: 78130
-
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
-
Dan Gohman authored
Add a comment explaining why. llvm-svn: 78128
-
Jeffrey Yasskin authored
address from the reverse mapping, and add a test that this works now. llvm-svn: 78127
-
Evan Cheng authored
llvm-svn: 78126
-
Owen Anderson authored
llvm-svn: 78125
-
Owen Anderson authored
Begin the process of privatizing the type uniquing tables. No API changes yet, but there will be in the near future. llvm-svn: 78122
-
Dan Gohman authored
matches what the comment says, and it avoids spurious BitCast instructions for Argument values. llvm-svn: 78121
-
Dan Gohman authored
and 126 if it is not executable. llvm-svn: 78120
-
Chris Lattner authored
llvm-svn: 78119
-
Benjamin Kramer authored
llvm-svn: 78118
-
Owen Anderson authored
llvm-svn: 78116
-
Owen Anderson authored
Factor some of the constants+context related code out into a separate header, to make LLVMContextImpl.h not hideous. Also, fix some MSVC compile errors. llvm-svn: 78115
-
Evan Cheng authored
llvm-svn: 78113
-