| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 165141
|
| |
|
|
|
|
| |
enums. This allows for better encapsulation of the Attributes class.
llvm-svn: 165132
|
| |
|
|
|
|
|
|
|
| |
Corrects a problem whereby MCSchedModel was not being set up when
the CPU type was auto-detected.
Patch by Andy Zhang.
llvm-svn: 165122
|
| |
|
|
|
|
| |
more detail.
llvm-svn: 165099
|
| |
|
|
| |
llvm-svn: 165089
|
| |
|
|
|
|
|
|
|
|
|
| |
Enable the pass by default for targets that request it, and change the
-enable-early-ifcvt to the opposite -disable-early-ifcvt.
There are still some x86 regressions when enabling early if-conversion
because of the missing machine models. Disable the pass for x86 until
machine models are added.
llvm-svn: 165075
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
X86DAGToDAGISel::PreprocessISelDAG(), isel is moving load inside
callseq_start / callseq_end so it can be folded into a call. This can
create a cycle in the DAG when the call is glued to a copytoreg. We
have been lucky this hasn't caused too many issues because the pre-ra
scheduler has special handling of call sequences. However, it has
caused a crash in a specific tailcall case.
rdar://12393897
llvm-svn: 165072
|
| |
|
|
|
|
|
| |
This reverts 165055 and 165052 temporarily while I look at debugger
failures.
llvm-svn: 165071
|
| |
|
|
| |
llvm-svn: 165069
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 165063
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
prologue. Also skip frame setup instructions when looking for the
first location.
llvm-svn: 165052
|
| |
|
|
| |
llvm-svn: 165051
|
| |
|
|
|
|
| |
in the block.
llvm-svn: 165050
|
| |
|
|
|
|
|
| |
with just an insert point from the MachineBasicBlock and let
the location be updated as we access it.
llvm-svn: 165049
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
into a lookup table.
llvm-svn: 164926
|
| |
|
|
|
|
| |
EVT and add llvm_unreachable to the switches. Helps it compile to dramatically better code.
llvm-svn: 164919
|
| |
|
|
| |
llvm-svn: 164899
|
| |
|
|
| |
llvm-svn: 164898
|
| |
|
|
| |
llvm-svn: 164897
|
| |
|
|
| |
llvm-svn: 164845
|
| |
|
|
| |
llvm-svn: 164840
|
| |
|
|
|
|
|
|
| |
second output of SUB with first output of TEST.
PR13966
llvm-svn: 164835
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 164787
|
| |
|
|
| |
llvm-svn: 164786
|
| |
|
|
|
|
| |
See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164767
llvm-svn: 164768
|
| |
|
|
| |
llvm-svn: 164767
|
| |
|
|
|
|
|
| |
This is a preliminary step towards ELF support; currently ARMFastISel hasn't
been used for ELF object files yet.
llvm-svn: 164759
|
| |
|
|
| |
llvm-svn: 164756
|
| |
|
|
| |
llvm-svn: 164755
|
| |
|
|
| |
llvm-svn: 164754
|
| |
|
|
|
|
| |
Field instruction.
llvm-svn: 164751
|
| |
|
|
| |
llvm-svn: 164750
|
| |
|
|
| |
llvm-svn: 164749
|
| |
|
|
| |
llvm-svn: 164748
|
| |
|
|
| |
llvm-svn: 164747
|
| |
|
|
|
|
| |
No test cases. These patterns will get tested along with dsp intrinsics.
llvm-svn: 164746
|
| |
|
|
| |
llvm-svn: 164744
|
| |
|
|
|
|
|
| |
The hasFnAttr method has been replaced by querying the Attributes explicitly. No
intended functionality change.
llvm-svn: 164725
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
getMipsRegisterNumbering.
llvm-svn: 164720
|
| |
|
|
| |
llvm-svn: 164719
|
| |
|
|
| |
llvm-svn: 164718
|
| |
|
|
| |
llvm-svn: 164685
|
| |
|
|
| |
llvm-svn: 164675
|