• Home
  • Raw
  • Download

Lines Matching refs:getOperand

88     SrcReg = MI.getOperand(1).getReg();  in isCoalescableExtInstr()
89 DstReg = MI.getOperand(0).getReg(); in isCoalescableExtInstr()
103 if (MI->getOperand(1).isImm() && !MI->getOperand(1).getImm() && in isLoadFromStackSlot()
104 MI->getOperand(2).isFI()) { in isLoadFromStackSlot()
105 FrameIndex = MI->getOperand(2).getIndex(); in isLoadFromStackSlot()
106 return MI->getOperand(0).getReg(); in isLoadFromStackSlot()
121 if (MI->getOperand(1).isImm() && !MI->getOperand(1).getImm() && in isStoreToStackSlot()
122 MI->getOperand(2).isFI()) { in isStoreToStackSlot()
123 FrameIndex = MI->getOperand(2).getIndex(); in isStoreToStackSlot()
124 return MI->getOperand(0).getReg(); in isStoreToStackSlot()
142 if (MI->getOperand(3).getImm() != 0) in commuteInstruction()
153 unsigned Reg0 = MI->getOperand(0).getReg(); in commuteInstruction()
154 unsigned Reg1 = MI->getOperand(1).getReg(); in commuteInstruction()
155 unsigned Reg2 = MI->getOperand(2).getReg(); in commuteInstruction()
156 bool Reg1IsKill = MI->getOperand(1).isKill(); in commuteInstruction()
157 bool Reg2IsKill = MI->getOperand(2).isKill(); in commuteInstruction()
170 unsigned MB = MI->getOperand(4).getImm(); in commuteInstruction()
171 unsigned ME = MI->getOperand(5).getImm(); in commuteInstruction()
175 unsigned Reg0 = ChangeReg0 ? Reg2 : MI->getOperand(0).getReg(); in commuteInstruction()
176 bool Reg0IsDead = MI->getOperand(0).isDead(); in commuteInstruction()
186 MI->getOperand(0).setReg(Reg2); in commuteInstruction()
187 MI->getOperand(2).setReg(Reg1); in commuteInstruction()
188 MI->getOperand(1).setReg(Reg2); in commuteInstruction()
189 MI->getOperand(2).setIsKill(Reg1IsKill); in commuteInstruction()
190 MI->getOperand(1).setIsKill(Reg2IsKill); in commuteInstruction()
193 MI->getOperand(4).setImm((ME+1) & 31); in commuteInstruction()
194 MI->getOperand(5).setImm((MB-1) & 31); in commuteInstruction()
233 if (!LastInst->getOperand(0).isMBB()) in AnalyzeBranch()
235 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
238 if (!LastInst->getOperand(2).isMBB()) in AnalyzeBranch()
241 TBB = LastInst->getOperand(2).getMBB(); in AnalyzeBranch()
242 Cond.push_back(LastInst->getOperand(0)); in AnalyzeBranch()
243 Cond.push_back(LastInst->getOperand(1)); in AnalyzeBranch()
247 if (!LastInst->getOperand(0).isMBB()) in AnalyzeBranch()
251 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
258 if (!LastInst->getOperand(0).isMBB()) in AnalyzeBranch()
262 TBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
284 if (!SecondLastInst->getOperand(2).isMBB() || in AnalyzeBranch()
285 !LastInst->getOperand(0).isMBB()) in AnalyzeBranch()
287 TBB = SecondLastInst->getOperand(2).getMBB(); in AnalyzeBranch()
288 Cond.push_back(SecondLastInst->getOperand(0)); in AnalyzeBranch()
289 Cond.push_back(SecondLastInst->getOperand(1)); in AnalyzeBranch()
290 FBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
295 if (!SecondLastInst->getOperand(0).isMBB() || in AnalyzeBranch()
296 !LastInst->getOperand(0).isMBB()) in AnalyzeBranch()
300 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()
304 FBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
309 if (!SecondLastInst->getOperand(0).isMBB() || in AnalyzeBranch()
310 !LastInst->getOperand(0).isMBB()) in AnalyzeBranch()
314 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()
318 FBB = LastInst->getOperand(0).getMBB(); in AnalyzeBranch()
326 if (!SecondLastInst->getOperand(0).isMBB()) in AnalyzeBranch()
328 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()
709 const char *AsmStr = MI->getOperand(0).getSymbolName(); in GetInstSizeInBytes()