- Aug 21, 2008
-
-
Owen Anderson authored
llvm-svn: 55134
-
Owen Anderson authored
llvm-svn: 55092
-
- Aug 19, 2008
-
-
Chris Lattner authored
llvm-svn: 54978
-
- Aug 17, 2008
-
-
Gordon Henriksen authored
In particular, Collector was confusing to implementors. Several thought that this compile-time class was the place to implement their runtime GC heap. Of course, it doesn't even exist at runtime. Specifically, the renames are: Collector -> GCStrategy CollectorMetadata -> GCFunctionInfo CollectorModuleMetadata -> GCModuleInfo CollectorRegistry -> GCRegistry Function::getCollector -> getGC (setGC, hasGC, clearGC) Several accessors and nested types have also been renamed to be consistent. These changes should be obvious. llvm-svn: 54899
-
Anton Korobeynikov authored
llvm-svn: 54891
-
Anton Korobeynikov authored
llvm-svn: 54885
-
Anton Korobeynikov authored
llvm-svn: 54884
-
Gordon Henriksen authored
Factor GC metadata table assembly generation out of Collector in preparation for splitting AsmPrinter into its own library. llvm-svn: 54881
-
Gordon Henriksen authored
Factor GC metadata table assembly generation out of Collector in preparation for splitting AsmPrinter into its own library. llvm-svn: 54880
-
Chris Lattner authored
returning an std::string by value, it fills in a SmallString/SmallVector passed in. This significantly reduces string thrashing in some cases. More specifically, this: - Adds an operator<< and a print method for APInt that allows you to directly send them to an ostream. - Reimplements APInt::toString to be much simpler and more efficient algorithmically in addition to not thrashing strings quite as much. This speeds up llvm-dis on kc++ by 7%, and may also slightly speed up the asmprinter. This also fixes a bug I introduced into the asmwriter in a previous patch w.r.t. alias printing. llvm-svn: 54873
-
- Aug 16, 2008
-
-
Anton Korobeynikov authored
Move SLEB/ULEB size calculation routines from AsmPrinter to TargetAsmInfo. This makes JIT asmprinter-free. llvm-svn: 54843
-
- Aug 08, 2008
-
-
Anton Korobeynikov authored
llvm-svn: 54540
-
Nick Lewycky authored
is narrower than the pointer. This testcase emits: .byte (((17) - 16) & 255) llvm-svn: 54517
-
- Jul 09, 2008
-
-
Anton Korobeynikov authored
llvm-svn: 53316
-
- Jul 08, 2008
-
-
Evan Cheng authored
llvm-svn: 53237
-
Evan Cheng authored
llvm-svn: 53215
-
- Jul 02, 2008
-
-
Evan Cheng authored
llvm-svn: 52992
-
- Jul 01, 2008
-
-
Owen Anderson authored
Add a version of AsmPrinter::EOL that takes a const char* so that we don't have to do as many implicit std::string constructions. Unfortunately, this doesn't appear to translate to a real speedup in practice. llvm-svn: 52981
-
Dan Gohman authored
llvm-svn: 52944
-
Dan Gohman authored
llvm-svn: 52929
-
- Jun 04, 2008
-
-
Duncan Sands authored
are the same as in unpacked structs, only field positions differ. This only matters for structs containing x86 long double or an apint; it may cause backwards compatibility problems if someone has bitcode containing a packed struct with a field of one of those types. The issue is that only 10 bytes are needed to hold an x86 long double: the store size is 10 bytes, but the ABI size is 12 or 16 bytes (linux/ darwin) which comes from rounding the store size up by the alignment. Because it seemed silly not to pack an x86 long double into 10 bytes in a packed struct, this is what was done. I now think this was a mistake. Reserving the ABI size for an x86 long double field even in a packed struct makes things more uniform: the ABI size is now always used when reserving space for a type. This means that developers are less likely to make mistakes. It also makes life easier for the CBE which otherwise could not represent all LLVM packed structs (PR2402). Front-end people might need to adjust the way they create LLVM structs - see following change to llvm-gcc. llvm-svn: 51928
-
- Jun 03, 2008
-
-
Scott Michel authored
llvm-svn: 51904
-
Scott Michel authored
llvm-svn: 51897
-
Scott Michel authored
constant shows up in the assembly language output. Helps with debugging without a HP calculator having to be handy. llvm-svn: 51885
-
- May 19, 2008
-
-
Dale Johannesen authored
$non_lazy_ptr's and $lazy_ptr's. llvm-svn: 51277
-
- May 05, 2008
-
-
Dan Gohman authored
the code being generated does not require an executable stack. Also, add target-specific code to make use of this on Linux on x86. llvm-svn: 50634
-
- Apr 02, 2008
-
-
Dale Johannesen authored
StripSymbols when EH is on. llvm-svn: 49110
-
- Mar 15, 2008
-
-
Evan Cheng authored
Replace all target specific implicit def instructions with a target independent one: TargetInstrInfo::IMPLICIT_DEF. llvm-svn: 48380
-
- Mar 11, 2008
-
-
Anton Korobeynikov authored
llvm-svn: 48249
-
- Feb 29, 2008
-
-
Evan Cheng authored
llvm-svn: 47765
-
- Feb 28, 2008
-
-
Evan Cheng authored
llvm-svn: 47703
-
- Feb 20, 2008
-
-
Anton Korobeynikov authored
llvm-svn: 47368
-
- Feb 07, 2008
-
-
Nick Lewycky authored
llvm-svn: 46848
-
- Feb 05, 2008
-
-
Evan Cheng authored
Dwarf requires variable entries to be in the source order. Right now, since we are recording variable information at isel time this means parameters would appear in the reverse order. The short term fix is to issue recordVariable() at asm printing time instead. llvm-svn: 46724
-
- Feb 02, 2008
-
-
Evan Cheng authored
llvm-svn: 46667
-
Evan Cheng authored
SDIsel processes llvm.dbg.declare by recording the variable debug information descriptor and its corresponding stack frame index in MachineModuleInfo. This only works if the local variable is "homed" in the stack frame. It does not work for byval parameter, etc. Added ISD::DECLARE node type to represent llvm.dbg.declare intrinsic. Now the intrinsic calls are lowered into a SDNode and lives on through out the codegen passes. For now, since all the debugging information recording is done at isel time, when a ISD::DECLARE node is selected, it has the side effect of also recording the variable. This is a short term solution that should be fixed in time. llvm-svn: 46659
-
- Feb 01, 2008
-
-
Evan Cheng authored
Remove the nasty LABEL hack with a much less evil one. Now llvm.dbg.func.start implies a stoppoint is set. SelectionDAGISel records a new source line but does not create a ISD::LABEL node for this special stoppoint. Asm printer will magically print this label. This ensures nothing is emitted before. llvm-svn: 46635
-
- Jan 29, 2008
-
-
Dale Johannesen authored
llvm-svn: 46485
-
- Jan 27, 2008
-
-
Chris Lattner authored
For long double constants, print an approximation of their value to the .s file to make it easier to read. llvm-svn: 46407
-
- Jan 07, 2008
-
-
Gordon Henriksen authored
up to the various compiler pipelines. This doesn't actually add support for any GC algorithms, which means it temporarily breaks a few tests. To be fixed shortly. llvm-svn: 45669
-