Home
last modified time | relevance | path

Searched refs:LEA (Results 1 – 25 of 58) sorted by relevance

123

/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Doverlap-shift.ll8 ;; allocator turns the shift into an LEA. This also occurs for ADD.
10 ; Check that the shift gets turned into an LEA.
H A Datom-fixup-lea2.ll10 ; 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 Dadd-ext.ll23 ; 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 Dlea-opt-with-debug.mir3 # 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 Dcmpxchg8b_alloca_regalloc_handling.ll61 ; Check that we add a LEA
93 ; Check that we add a LEA
H A D2007-02-04-OrAddrMode.ll3 ;; This example can't fold the or into an LEA.
H A Dmul-shift-reassoc.ll6 ; Push the shl through the mul to allow an LEA to be formed, instead
H A Dstack-update-frame-opcode.ll11 ; Atoms use LEA to update the SP. Opcode bitness depends on data model.
H A Dlea-opt-memop-check-1.ll14 ; 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 Dmerge-sp-update-lea.ll11 ; the LEA instruction.
H A Datom-fixup-lea1.ll7 ; Test for the FixupLEAs pre-emit pass. An LEA should be substituted for the ADD
H A Dselect_const.ll203 ; 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 Dtwoaddr-lea.ll8 ;; allocator turns the shift into an LEA. This also occurs for ADD.
10 ; Check that the shift gets turned into an LEA.
H A D2010-06-25-CoalescerSubRegDefDead.ll21 ; statement. It can be an ADD or LEA instruction, it's not important which one
H A Datom-fixup-lea3.ll8 ; An LEA should NOT be substituted for the ADD instruction
/llvm-project-15.0.7/llvm/test/CodeGen/X86/GlobalISel/
H A Dadd-ext.ll24 ; 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 DX86SchedPredicates.td28 // 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 DX86ScheduleBtVer2.td36 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 Dsection-reloc-with-addend.s4 # in the immediate operand of an LEA instruction).
/llvm-project-15.0.7/llvm/test/DebugInfo/MIR/InstrRef/
H A Dx86-lea-fixup.mir5 # 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 Dtwoaddr-to-threeaddr-sub.mir5 # Test that a new instruction (LEA) is created when the two-addr add below is
H A Dx86-lea-fixup-2.mir3 # Test that several LEA => ADD transforms get substitutions applied to them,
/llvm-project-15.0.7/bolt/test/X86/
H A Dshrinkwrapping-lea.s2 # there is an LEA instruction.
H A Dframe-opt-lea.s2 # 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 Dv6-jumptable-clobber.mir5 # the block, even though the LEA clobbered it.
10 # transformation is valid because the LEA can be removed, see second test.

123