- Aug 20, 2008
-
-
Dan Gohman authored
llvm-svn: 55052
-
Dan Gohman authored
llvm-svn: 55047
-
Dale Johannesen authored
llvm-svn: 55029
-
Bill Wendling authored
Just expand it like the other X-bit sub_and_fetches. llvm-svn: 55023
-
Bill Wendling authored
was already present, but not hooked up to anything. llvm-svn: 55018
-
- Aug 19, 2008
-
-
Dan Gohman authored
llvm-svn: 55011
-
Dan Gohman authored
llvm-svn: 55010
-
Dale Johannesen authored
builtins on X86. Change "lock" instructions to be on a separate line. This is needed to work around a bug in the Darwin assembler. llvm-svn: 54999
-
Chris Lattner authored
llvm-svn: 54985
-
Chris Lattner authored
llvm-svn: 54964
-
- Aug 18, 2008
-
-
Chris Lattner authored
llvm-svn: 54950
-
Anton Korobeynikov authored
llvm-svn: 54942
-
Evan Cheng authored
llvm-svn: 54913
-
- Aug 17, 2008
-
-
Evan Cheng authored
Fix a (u)comiss intrinsic lowering bug. It was using anyext which can return junk in higher bits. Patch by Nate Begeman. llvm-svn: 54903
-
Gordon Henriksen authored
llvm-svn: 54902
-
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
-
Cedric Venet authored
- update VC projects. - Add an overload to llvm::Stream for <<, since std::hex and std::dec have type std::ios_base& (*)(std::ios_base&) in VC++. (templating the function don't work, due to ambiguities) - add ../ on several include in X86/AsmPrinter/ llvm-svn: 54898
-
Anton Korobeynikov authored
llvm-svn: 54889
-
Anton Korobeynikov authored
llvm-svn: 54888
-
Anton Korobeynikov authored
llvm-svn: 54887
-
Anton Korobeynikov authored
Move X86 assembler printers into separate directory. This allows JIT-only users not to link it in (use 'x86codegen' llvm-config arg for this) llvm-svn: 54886
-
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
llvm-svn: 54847
-
Anton Korobeynikov authored
llvm-svn: 54846
-
Anton Korobeynikov authored
llvm-svn: 54845
-
Anton Korobeynikov authored
llvm-svn: 54844
-
Anton Korobeynikov authored
Move SLEB/ULEB size calculation routines from AsmPrinter to TargetAsmInfo. This makes JIT asmprinter-free. llvm-svn: 54843
-
Anton Korobeynikov authored
Reduce heap trashing due to std::string construction / concatenation via caching of section flags string representations llvm-svn: 54842
-
- Aug 15, 2008
-
-
Dan Gohman authored
llvm-svn: 54806
-
Dan Gohman authored
llvm-svn: 54803
-
Owen Anderson authored
Convert uses of std::vector in TargetInstrInfo to SmallVector. This change had to be propoagated down into all the targets and up into all clients of this API. llvm-svn: 54802
-
Dan Gohman authored
element inserts with non-constant indices. This fixes CodeGen/X86/vector-variable-idx.ll on machines that have SSE4.1. llvm-svn: 54801
-
- Aug 14, 2008
-
-
Owen Anderson authored
llvm-svn: 54787
-
- Aug 13, 2008
-
-
Dan Gohman authored
llvm-svn: 54750
-
Bruno Cardoso Lopes authored
is lowered properly and covers everything LowerSELECT_CC did. Added method printUnsignedImm in AsmPrinter to print uimm16 operands. This avoid the ugly instruction by instruction checking in printOperand. Added a swap instruction present in the allegrex core. Added two conditional instructions present in the allegrex core : MOVZ and MOVN. They both allow a more efficient SELECT operation for integers. Also added SELECT patterns to optimize MOVZ and MOVN usage. The brcond and setcc patterns were cleaned: redundant and suboptimal patterns were removed. The suboptimals were replaced by more efficient ones. Fixed some instructions that were using immZExt16 instead of immSExt16. llvm-svn: 54724
-
Dale Johannesen authored
rather than the absolute address if the target is within range. llvm-svn: 54708
-
- Aug 12, 2008
-
-
Dale Johannesen authored
llvm-svn: 54700
-
Jim Grosbach authored
llvm-svn: 54695
-
Dale Johannesen authored
non_lazy_ptr mechanism on x86-64 Darwin JIT. Fixes a bunch of last night's failures. llvm-svn: 54692
-
Dale Johannesen authored
model, except for external calls; this makes addressing modes PC-relative. Incomplete. The assertion at the top of Emitter::runOnMachineFunction was obviously bogus (always true) so I removed it. If someone knows what the correct test should be to cover all the various targets, please fix. llvm-svn: 54656
-