- Feb 09, 2010
-
-
Chris Lattner authored
into TargetOpcodes.h. #include the new TargetOpcodes.h into MachineInstr. Add new inline accessors (like isPHI()) to MachineInstr, and start using them throughout the codebase. llvm-svn: 95687
-
Jim Grosbach authored
tMOVCCi pattern only valid for low registers, as the Thumb1 mov immediate to register instruction only works with low registers. Allowing high registers for the instruction resulted in the assembler choosing the wide (32-bit) encoding for the mov, but LLVM though the instruction was only 16 bits wide, so offset calculations for constant pools became incorrect, leading to out of range constant pool entries. llvm-svn: 95686
-
Johnny Chen authored
For disassembly only. A8.6.300 llvm-svn: 95669
-
Chris Lattner authored
llvm-svn: 95609
-
Jim Grosbach authored
llvm-svn: 95603
-
- Feb 08, 2010
-
-
Johnny Chen authored
The 'R' suffix means the to-integer operations use the rounding mode specified by the FPSCR, encoded as Inst{7} = 0. A8.6.295 llvm-svn: 95584
-
Johnny Chen authored
llvm-svn: 95560
-
Johnny Chen authored
A8.6.331 VMOV (between two ARM core registers and two single-precision registers) llvm-svn: 95548
-
- Feb 06, 2010
-
-
Bob Wilson authored
Radar 7614112. llvm-svn: 95456
-
- Feb 05, 2010
-
-
Johnny Chen authored
llvm-svn: 95397
-
- Feb 03, 2010
-
-
Chris Lattner authored
of const ones. non-const ones aren't very useful, because you can't even, say, emit them. llvm-svn: 95205
-
Chris Lattner authored
llvm-svn: 95181
-
Chris Lattner authored
the end of the instruction instead of expecting the caller to do it. This currently causes the asm-verbose instruction comments to be on the next line. llvm-svn: 95178
-
Chris Lattner authored
than DEBUG_VALUE :( ) into the target indep AsmPrinter.cpp file. This allows elimination of the NO_ASM_WRITER_BOILERPLATE hack among other things. llvm-svn: 95177
-
Jim Grosbach authored
even when -disable-fp-elim is specified. llvm-svn: 95161
-
Evan Cheng authored
llvm-svn: 95160
-
Chris Lattner authored
mccontext instead of having AsmPrinter do it. This allows other types of MCStreamer's to be passed in. llvm-svn: 95155
-
- Feb 02, 2010
-
-
Chris Lattner authored
llvm-svn: 95146
-
Chris Lattner authored
llvm-svn: 95138
-
Chris Lattner authored
llvm-svn: 95134
-
Chris Lattner authored
eliminate random "code emitter" stuff in Alpha, except for the JIT path. Next up, remove the template cruft. llvm-svn: 95131
-
Evan Cheng authored
llvm-svn: 95130
-
Johnny Chen authored
llvm-svn: 95112
-
Johnny Chen authored
Rn operand. llvm-svn: 95025
-
- Jan 31, 2010
-
-
Johnny Chen authored
llvm-svn: 94955
-
- Jan 30, 2010
-
-
Anton Korobeynikov authored
Even if they are suported by the core, they can be disabled (this is just a configuration bit inside some register). Allow unaligned memops on darwin and conservatively disallow them otherwise. llvm-svn: 94889
-
Johnny Chen authored
bit (Inst{22}) and the M bit (Inst{5}) should be left unspecified. For binary format instructions, Inst{6} and Inst{4} need to specified for proper decodings. llvm-svn: 94855
-
- Jan 28, 2010
-
-
Chris Lattner authored
runOnMachineFunction, and switch PPC to use EmitFunctionBody. The two ppc asmprinters now don't heave to define runOnMachineFunction. llvm-svn: 94722
-
Chris Lattner authored
llvm-svn: 94719
-
Chris Lattner authored
Move the X86 implementation of function body emission up to AsmPrinter::EmitFunctionBody, which works by calling the virtual EmitInstruction method. llvm-svn: 94716
-
Chris Lattner authored
Overload it in the ARM backend to do nothing, since is does insane constant pool emission. llvm-svn: 94708
-
Chris Lattner authored
llvm-svn: 94703
-
Chris Lattner authored
MachineFunction::Alignment instead. llvm-svn: 94701
-
- Jan 27, 2010
-
-
Jeffrey Yasskin authored
Modules and ModuleProviders. Because the "ModuleProvider" simply materializes GlobalValues now, and doesn't provide modules, it's renamed to "GVMaterializer". Code that used to need a ModuleProvider to materialize Functions can now materialize the Functions directly. Functions no longer use a magic linkage to record that they're materializable; they simply ask the GVMaterializer. Because the C ABI must never change, we can't remove LLVMModuleProviderRef or the functions that refer to it. Instead, because Module now exposes the same functionality ModuleProvider used to, we store a Module* in any LLVMModuleProviderRef and translate in the wrapper methods. The bindings to other languages still use the ModuleProvider concept. It would probably be worth some time to update them to follow the C++ more closely, but I don't intend to do it. Fixes http://llvm.org/PR5737 and http://llvm.org/PR5735. llvm-svn: 94686
-
Jim Grosbach authored
llvm-svn: 94627
-
Evan Cheng authored
Target independent isel should always pass along the "tail call" property. Change target hook LowerCall's parameter "isTailCall" into a refernce. If the target decides it's impossible to honor the tail call request, it should set isTailCall to false to make target independent isel happy. llvm-svn: 94626
-
Chris Lattner authored
llvm-svn: 94612
-
- Jan 26, 2010
-
-
Chris Lattner authored
Default HasSetDirective to true, since most targets have it. The targets that claim to not have it probably do, or it is spelled differently. These include Blackfin, Mips, Alpha, and PIC16. All of these except pic16 are normal ELF targets, so they almost certainly have it. llvm-svn: 94585
-
Rafael Espindola authored
Original patch by Sandeep Patel and updated by me. llvm-svn: 94582
-
Chris Lattner authored
llvm-svn: 94580
-