Lines Matching refs:TII
70 const TargetInstrInfo* TII, in adjustStackPointer() argument
76 BuildMI(MBB, InsertPt, DL, TII->get(WebAssembly::CONST_I32), SPReg) in adjustStackPointer()
84 BuildMI(MBB, InsertPt, DL, TII->get(WebAssembly::LOAD_I32), SPReg) in adjustStackPointer()
90 BuildMI(MBB, InsertPt, DL, TII->get(WebAssembly::CONST_I32), OffsetReg) in adjustStackPointer()
93 TII->get(AdjustUp ? WebAssembly::ADD_I32 : WebAssembly::SUB_I32), in adjustStackPointer()
98 BuildMI(MBB, InsertPt, DL, TII->get(WebAssembly::CONST_I32), OffsetReg) in adjustStackPointer()
102 BuildMI(MBB, InsertPt, DL, TII->get(WebAssembly::STORE_I32), WebAssembly::SP32) in adjustStackPointer()
112 const auto *TII = in eliminateCallFramePseudoInstr() local
116 bool IsDestroy = Opc == TII->getCallFrameDestroyOpcode(); in eliminateCallFramePseudoInstr()
120 TII, I, DL); in eliminateCallFramePseudoInstr()
135 const auto *TII = MF.getSubtarget().getInstrInfo(); in emitPrologue() local
140 adjustStackPointer(StackSize, false, MF, MBB, TII, InsertPt, DL); in emitPrologue()
148 const auto *TII = MF.getSubtarget().getInstrInfo(); in emitEpilogue() local
159 BuildMI(MBB, InsertPt, DL, TII->get(WebAssembly::CONST_I32), OffsetReg) in emitEpilogue()
162 BuildMI(MBB, InsertPt, DL, TII->get(WebAssembly::ADD_I32), WebAssembly::SP32) in emitEpilogue()
166 BuildMI(MBB, InsertPt, DL, TII->get(WebAssembly::CONST_I32), OffsetReg) in emitEpilogue()
170 BuildMI(MBB, InsertPt, DL, TII->get(WebAssembly::STORE_I32), WebAssembly::SP32) in emitEpilogue()