- Oct 03, 2012
-
-
Chad Rosier authored
llvm-svn: 165069
-
Jack Carter authored
The mips 64bit instructions DSLL, DSRA, DSRL, DEXT and DINS get transformed by the assembler or through codegen direct object output to other variants based on the value of the immediate values of the operands. If the code is generated as assembler, this transformation does not occur assuming that it will occur later in the assembler. This code was originally called from MipsAsmPrinter.cpp and we needed to check for OutStreamer.hasRawTextSupport(). This was not a good place for it and has been moved to MCTargetDesc/MipsMCCodeEmitter.cpp where both direct object and the assembler use it it automagically. The test cases have been checked in for a number of weeks now. llvm-svn: 165067
-
Nick Lewycky authored
llvm-svn: 165063
-
- Oct 02, 2012
-
-
Chad Rosier authored
of operand is specific to MS-style inline assembly and should not be generated when parsing normal assembly. The purpose of the wildcard operands are to allow the AsmParser to match multiple instructions (i.e., MCInsts) to a given ms-style asm statement. For the time being the matcher just returns the first match. This patch only implements wildcard matches for memory operands. Support for register wildcards will be added in the near future. llvm-svn: 165057
-
Eric Christopher authored
prologue. Also skip frame setup instructions when looking for the first location. llvm-svn: 165052
-
Eric Christopher authored
llvm-svn: 165051
-
Eric Christopher authored
in the block. llvm-svn: 165050
-
Eric Christopher authored
with just an insert point from the MachineBasicBlock and let the location be updated as we access it. llvm-svn: 165049
-
Andrew Kaylor authored
This adds 'elf' as a recognized target triple environment value and overrides the default generated object format on Windows platforms if that value is present. This patch also enables MCJIT tests on Windows using the new environment value. llvm-svn: 165030
-
Chad Rosier authored
map constraints and MCInst operands to inline asm operands. This replaces the getMCInstOperandNum() function. The logic to determine the constraints are not in place, so we still default to a register constraint (i.e., "r"). Also, we no longer build the MCInst but rather return just the opcode to get the MCInstrDesc. llvm-svn: 164979
-
Jim Grosbach authored
The target backend can support data-in-code load commands even when the assembler doesn't, or vice-versa. Allow targets to opt-in for direct-to-object. PR13973. llvm-svn: 164974
-
- Oct 01, 2012
-
-
Craig Topper authored
llvm-svn: 164926
-
- Sep 30, 2012
-
-
Craig Topper authored
Change getX86SubSuperRegister to take an MVT::SimpleValueType rather than an EVT and add llvm_unreachable to the switches. Helps it compile to dramatically better code. llvm-svn: 164919
-
- Sep 29, 2012
-
-
Bob Wilson authored
llvm-svn: 164899
-
Bob Wilson authored
llvm-svn: 164898
-
Benjamin Kramer authored
llvm-svn: 164897
-
- Sep 28, 2012
-
-
Akira Hatanaka authored
llvm-svn: 164845
-
Akira Hatanaka authored
llvm-svn: 164840
-
Manman Ren authored
second output of SUB with first output of TEST. PR13966 llvm-svn: 164835
-
Reed Kotler authored
2. As part of this, added assembly format FEXT_RI16_SP_explicit_ins and moved other lines for FEXT_RI16 formats to be in the right place in the code. 3. Added mayLoad and mayStore assignements for the load/store instructions added and for ones already there that did not have this assignment. 4. Another patch will deal with the problem of load/store byte/halfword to the stack. This is a particular Mips16 problem. llvm-svn: 164811
-
- Sep 27, 2012
-
-
Akira Hatanaka authored
llvm-svn: 164787
-
Akira Hatanaka authored
llvm-svn: 164786
-
Sylvestre Ledru authored
Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164767 llvm-svn: 164768
-
Sylvestre Ledru authored
llvm-svn: 164767
-
Jush Lu authored
This is a preliminary step towards ELF support; currently ARMFastISel hasn't been used for ELF object files yet. llvm-svn: 164759
-
Akira Hatanaka authored
llvm-svn: 164756
-
Akira Hatanaka authored
llvm-svn: 164755
-
Akira Hatanaka authored
llvm-svn: 164754
-
Akira Hatanaka authored
llvm-svn: 164751
-
Akira Hatanaka authored
llvm-svn: 164750
-
Akira Hatanaka authored
llvm-svn: 164749
-
Akira Hatanaka authored
llvm-svn: 164748
-
Akira Hatanaka authored
llvm-svn: 164747
-
Akira Hatanaka authored
No test cases. These patterns will get tested along with dsp intrinsics. llvm-svn: 164746
-
Akira Hatanaka authored
llvm-svn: 164744
-
- Sep 26, 2012
-
-
Bill Wendling authored
The hasFnAttr method has been replaced by querying the Attributes explicitly. No intended functionality change. llvm-svn: 164725
-
Jim Grosbach authored
If the offset is more than 24-bits, it won't fit in a scattered relocation offset field, so we fall back to using a non-scattered relocation. rdar://12358909 llvm-svn: 164724
-
Akira Hatanaka authored
getMipsRegisterNumbering. llvm-svn: 164720
-
Akira Hatanaka authored
llvm-svn: 164719
-
Akira Hatanaka authored
llvm-svn: 164718
-