Lines Matching refs:lir
162 void ArmMir2Lir::SetupTargetResourceMasks(LIR* lir, uint64_t flags, in SetupTargetResourceMasks() argument
165 DCHECK(!lir->flags.use_def_invalid); in SetupTargetResourceMasks()
167 int opcode = lir->opcode; in SetupTargetResourceMasks()
182 def_mask->SetBits(EncodeArmRegList(lir->operands[0])); in SetupTargetResourceMasks()
186 def_mask->SetBits(EncodeArmRegList(lir->operands[1])); in SetupTargetResourceMasks()
190 def_mask->SetBits(EncodeArmRegList(lir->operands[0])); in SetupTargetResourceMasks()
194 for (int i = 0; i < lir->operands[2]; i++) { in SetupTargetResourceMasks()
195 SetupRegMask(def_mask, lir->operands[1] + i); in SetupTargetResourceMasks()
209 use_mask->SetBits(EncodeArmRegList(lir->operands[0])); in SetupTargetResourceMasks()
213 use_mask->SetBits(EncodeArmRegList(lir->operands[1])); in SetupTargetResourceMasks()
217 use_mask->SetBits(EncodeArmRegList(lir->operands[0])); in SetupTargetResourceMasks()
221 for (int i = 0; i < lir->operands[2]; i++) { in SetupTargetResourceMasks()
222 SetupRegMask(use_mask, lir->operands[1] + i); in SetupTargetResourceMasks()
353 std::string ArmMir2Lir::BuildInsnString(const char* fmt, LIR* lir, unsigned char* base_addr) { in BuildInsnString() argument
371 operand = lir->operands[nc-'0']; in BuildInsnString()
451 reinterpret_cast<uintptr_t>(base_addr) + lir->offset + 4 + (operand << 1), in BuildInsnString()
452 lir->target); in BuildInsnString()
455 int offset_1 = lir->operands[0]; in BuildInsnString()
456 int offset_2 = NEXT_LIR(lir)->operands[0]; in BuildInsnString()
458 (((reinterpret_cast<uintptr_t>(base_addr) + lir->offset + 4) & in BuildInsnString()
470 DecodeRegList(lir->opcode, operand, tbuf, arraysize(tbuf)); in BuildInsnString()
537 bool ArmMir2Lir::IsUnconditionalBranch(LIR* lir) { in IsUnconditionalBranch() argument
538 return ((lir->opcode == kThumbBUncond) || (lir->opcode == kThumb2BUncond)); in IsUnconditionalBranch()