| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | overlap-shift.ll | 8 ;; allocator turns the shift into an LEA. This also occurs for ADD. 10 ; Check that the shift gets turned into an LEA.
|
| H A D | atom-fixup-lea2.ll | 10 ; Test for fixup lea pre-emit pass. LEA instructions should be substituted for 12 ; precede the load within 5 instructions. An LEA should also be substituted for 13 ; an ADD which computes part of the index because it precedes the index LEA
|
| H A D | add-ext.ll | 23 ; we allow LEA formation and eliminate an add instruction. 38 ; Throw in a scale (left shift) because an LEA can do that too. 39 ; Use a negative constant (LEA displacement) to verify that's handled correctly. 124 ; LEA can't scale by 16, but the adds can still be combined into an LEA.
|
| H A D | lea-opt-with-debug.mir | 3 # Test that the optimize LEA pass can remove a redundant LEA even when it is 4 # also used by a DBG_VALUE. Check that the uses of the replaced LEA are updated
|
| H A D | cmpxchg8b_alloca_regalloc_handling.ll | 61 ; Check that we add a LEA 93 ; Check that we add a LEA
|
| H A D | 2007-02-04-OrAddrMode.ll | 3 ;; This example can't fold the or into an LEA.
|
| H A D | mul-shift-reassoc.ll | 6 ; Push the shl through the mul to allow an LEA to be formed, instead
|
| H A D | stack-update-frame-opcode.ll | 11 ; Atoms use LEA to update the SP. Opcode bitness depends on data model.
|
| H A D | lea-opt-memop-check-1.ll | 14 ; Check that the LEA optimization pass works with CPI address displacements. 56 ; Check that the LEA optimization pass works with MCSymbol address displacements.
|
| H A D | merge-sp-update-lea.ll | 11 ; the LEA instruction.
|
| H A D | atom-fixup-lea1.ll | 7 ; Test for the FixupLEAs pre-emit pass. An LEA should be substituted for the ADD
|
| H A D | select_const.ll | 203 ; If the constants differ by a small multiplier, use LEA. 204 ; select Cond, C1, C2 --> add (mul (zext Cond), C1-C2), C2 --> LEA C2(Cond * (C1-C2)) 250 ; Should this be 'sbb x,x' or 'sbb 0,x' with simpler LEA or add? 265 ; No LEA with 8-bit, but this shouldn't need branches or cmov. 280 ; We get an LEA for 16-bit because we ignore the high-bits.
|
| H A D | twoaddr-lea.ll | 8 ;; allocator turns the shift into an LEA. This also occurs for ADD. 10 ; Check that the shift gets turned into an LEA.
|
| H A D | 2010-06-25-CoalescerSubRegDefDead.ll | 21 ; statement. It can be an ADD or LEA instruction, it's not important which one
|
| H A D | atom-fixup-lea3.ll | 8 ; An LEA should NOT be substituted for the ADD instruction
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/GlobalISel/ |
| H A D | add-ext.ll | 24 ; we allow LEA formation and eliminate an add instruction. 40 ; Throw in a scale (left shift) because an LEA can do that too. 41 ; Use a negative constant (LEA displacement) to verify that's handled correctly. 135 ; LEA can't scale by 16, but the adds can still be combined into an LEA.
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86SchedPredicates.td | 28 // A predicate used to check if a LEA instruction uses all three source 59 // 3-operands LEA. Tablegen automatically generates a new method for it in
|
| H A D | X86ScheduleBtVer2.td | 36 def JSAGU : ProcResource<1>; // Integer Pipe3: SAGU (also handles 3-operand LEA) 936 // This write is used for slow LEA instructions. 941 // On Jaguar, a slow LEA is either a 3Ops LEA (base, index, offset), or an LEA 945 // A 3-operand LEA (base, index, offset). 947 // An LEA with a "Scale" different than 1.
|
| /llvm-project-15.0.7/bolt/test/runtime/X86/ |
| H A D | section-reloc-with-addend.s | 4 # in the immediate operand of an LEA instruction).
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/MIR/InstrRef/ |
| H A D | x86-lea-fixup.mir | 5 # Test several LEA <=> ADD transformations that the fixup-leas pass performs, 80 # In this code sequence, an LEA is converted into a subtract that's combined
|
| H A D | twoaddr-to-threeaddr-sub.mir | 5 # Test that a new instruction (LEA) is created when the two-addr add below is
|
| H A D | x86-lea-fixup-2.mir | 3 # Test that several LEA => ADD transforms get substitutions applied to them,
|
| /llvm-project-15.0.7/bolt/test/X86/ |
| H A D | shrinkwrapping-lea.s | 2 # there is an LEA instruction.
|
| H A D | frame-opt-lea.s | 2 # regs when we do not have complete aliasing info (when there is an LEA
|
| /llvm-project-15.0.7/llvm/test/CodeGen/ARM/ |
| H A D | v6-jumptable-clobber.mir | 5 # the block, even though the LEA clobbered it. 10 # transformation is valid because the LEA can be removed, see second test.
|