- Aug 21, 2008
-
-
Owen Anderson authored
llvm-svn: 55092
-
- Aug 20, 2008
-
-
Dan Gohman authored
out of X86ISelDAGToDAG.cpp C++ code and into tablegen code. Among other things, using tablegen for these things makes them friendlier to FastISel. Tablegen can handle the case of i8 subregs on x86-32, but currently the C++ code for that case uses MVT::Flag in a tricky way, and it happens to schedule better in some cases. So for now, leave the C++ code in place to handle the i8 case on x86-32. llvm-svn: 55078
-
Dan Gohman authored
class hold a MachineRegisterInfo member, and make the MachineBasicBlock be passed in to SelectInstructions rather than the FastISel constructor. llvm-svn: 55076
-
Dan Gohman authored
llvm-svn: 55057
-
Dan Gohman authored
necessary to use dyn_cast in these predicates. llvm-svn: 55055
-
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
-