Searched refs:LEA (Results 1 – 22 of 22) sorted by relevance
710 MCInst LEA; in LowerTlsAddr() local712 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 …]
172 "Use LEA for adjusting the stack pointer">;186 "LEA instruction needs inputs at AG stage">;188 "LEA instruction with certain arguments is slow">;
37 def JSAGU : ProcResource<1>; // Integer Pipe3: SAGU (also handles 3-operand LEA)129 // FIXME: SAGU 3-operand LEA
47 def WriteLEA : SchedWrite; // LEA instructions can't fold loads.
22 def Port1 : FuncUnit; // ALU: ALU1, bit processing, jump, and LEA
16 // LEA - Load Effective Address459 let isConvertibleToThreeAddress = 1, CodeSize = 2 in { // Can xform into LEA.505 let isConvertibleToThreeAddress = 1, CodeSize = 2 in { // Can xform into LEA.
246 should always try to match LEA first since the LEA matching code does some
38 let isConvertibleToThreeAddress = 1 in { // Can transform into LEA.
1133 // 3-addressified into an LEA instruction to avoid copies. However, we also
5 ;; allocator turns the shift into an LEA. This also occurs for ADD.7 ; Check that the shift gets turned into an LEA.
9 ; Test for fixup lea pre-emit pass. LEA instructions should be substituted for11 ; precede the load within 5 instructions. An LEA should also be substituted for12 ; an ADD which computes part of the index because it precedes the index LEA
5 ; Push the shl through the mul to allow an LEA to be formed, instead
3 ;; This example can't fold the or into an LEA.
11 ; Atoms use LEA to update the SP. Opcode bitness depends on data model.
7 ; Test for the FixupLEAs pre-emit pass. An LEA should be substituted for the ADD
29 ;; Test that OR is only emitted as LEA, not as ADD.
6 ; An LEA should NOT be substituted for the ADD instruction
21 ; statement. It can be an ADD or LEA instruction, it's not important which one
162 isConvertibleToThreeAddress = 1 in // Can transform into LEA.
171 // "LEA" form of add
509 // "LEA" forms of add (patterns to make tblgen happy)