Home
last modified time | relevance | path

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

/external/llvm/lib/Target/X86/
DX86MCInstLower.cpp710 MCInst LEA; in LowerTlsAddr() local
712 LEA.setOpcode(X86::LEA64r); in LowerTlsAddr()
713 LEA.addOperand(MCOperand::CreateReg(X86::RDI)); // dest in LowerTlsAddr()
714 LEA.addOperand(MCOperand::CreateReg(X86::RIP)); // base in LowerTlsAddr()
715 LEA.addOperand(MCOperand::CreateImm(1)); // scale in LowerTlsAddr()
716 LEA.addOperand(MCOperand::CreateReg(0)); // index in LowerTlsAddr()
717 LEA.addOperand(MCOperand::CreateExpr(symRef)); // disp in LowerTlsAddr()
718 LEA.addOperand(MCOperand::CreateReg(0)); // seg in LowerTlsAddr()
720 LEA.setOpcode(X86::LEA32r); in LowerTlsAddr()
721 LEA.addOperand(MCOperand::CreateReg(X86::EAX)); // dest in LowerTlsAddr()
[all …]
DX86.td172 "Use LEA for adjusting the stack pointer">;
186 "LEA instruction needs inputs at AG stage">;
188 "LEA instruction with certain arguments is slow">;
DX86ScheduleBtVer2.td37 def JSAGU : ProcResource<1>; // Integer Pipe3: SAGU (also handles 3-operand LEA)
129 // FIXME: SAGU 3-operand LEA
DX86Schedule.td47 def WriteLEA : SchedWrite; // LEA instructions can't fold loads.
DX86ScheduleAtom.td22 def Port1 : FuncUnit; // ALU: ALU1, bit processing, jump, and LEA
DX86InstrArithmetic.td16 // LEA - Load Effective Address
459 let isConvertibleToThreeAddress = 1, CodeSize = 2 in { // Can xform into LEA.
505 let isConvertibleToThreeAddress = 1, CodeSize = 2 in { // Can xform into LEA.
DREADME.txt246 should always try to match LEA first since the LEA matching code does some
DX86InstrShiftRotate.td38 let isConvertibleToThreeAddress = 1 in { // Can transform into LEA.
DX86InstrCompiler.td1133 // 3-addressified into an LEA instruction to avoid copies. However, we also
/external/llvm/test/CodeGen/X86/
Doverlap-shift.ll5 ;; allocator turns the shift into an LEA. This also occurs for ADD.
7 ; Check that the shift gets turned into an LEA.
Datom-fixup-lea2.ll9 ; Test for fixup lea pre-emit pass. LEA instructions should be substituted for
11 ; precede the load within 5 instructions. An LEA should also be substituted for
12 ; an ADD which computes part of the index because it precedes the index LEA
Dtwoaddr-lea.ll5 ;; allocator turns the shift into an LEA. This also occurs for ADD.
7 ; Check that the shift gets turned into an LEA.
Dmul-shift-reassoc.ll5 ; Push the shl through the mul to allow an LEA to be formed, instead
D2007-02-04-OrAddrMode.ll3 ;; This example can't fold the or into an LEA.
Dstack-update-frame-opcode.ll11 ; Atoms use LEA to update the SP. Opcode bitness depends on data model.
Datom-fixup-lea1.ll7 ; Test for the FixupLEAs pre-emit pass. An LEA should be substituted for the ADD
D3addr-or.ll29 ;; Test that OR is only emitted as LEA, not as ADD.
Datom-fixup-lea3.ll6 ; An LEA should NOT be substituted for the ADD instruction
D2010-06-25-CoalescerSubRegDefDead.ll21 ; statement. It can be an ADD or LEA instruction, it's not important which one
/external/llvm/docs/TableGen/
Dindex.rst162 isConvertibleToThreeAddress = 1 in // Can transform into LEA.
/external/llvm/lib/Target/Sparc/
DSparcInstr64Bit.td171 // "LEA" form of add
DSparcInstrInfo.td509 // "LEA" forms of add (patterns to make tblgen happy)