Lines Matching refs:VMetadata
5513 bool matchAssign(const VariablesMetadata *VMetadata, Variable **Var, in matchAssign() argument
5518 const Inst *VarAssign = VMetadata->getSingleDefinition(*Var); in matchAssign()
5521 assert(!VMetadata->isMultiDef(*Var)); in matchAssign()
5528 if (!VMetadata->isMultiDef(SrcVar) || in matchAssign()
5565 bool matchCombinedBaseIndex(const VariablesMetadata *VMetadata, Variable **Base, in matchCombinedBaseIndex() argument
5576 const Inst *BaseInst = VMetadata->getSingleDefinition(*Base); in matchCombinedBaseIndex()
5579 assert(!VMetadata->isMultiDef(*Base)); in matchCombinedBaseIndex()
5585 if (VMetadata->isMultiDef(Var1)) in matchCombinedBaseIndex()
5590 if (VMetadata->isMultiDef(Var2)) in matchCombinedBaseIndex()
5604 bool matchShiftedOffsetReg(const VariablesMetadata *VMetadata, in matchShiftedOffsetReg() argument
5616 auto *IndexInst = VMetadata->getSingleDefinition(*OffsetReg); in matchShiftedOffsetReg()
5619 assert(!VMetadata->isMultiDef(*OffsetReg)); in matchShiftedOffsetReg()
5633 if (VMetadata->isMultiDef(Var) || Const->getType() != IceType_i32) in matchShiftedOffsetReg()
5690 bool matchOffsetBase(const VariablesMetadata *VMetadata, Variable **Base, in matchOffsetBase() argument
5698 const Inst *BaseInst = VMetadata->getSingleDefinition(*Base); in matchOffsetBase()
5702 assert(!VMetadata->isMultiDef(*Base)); in matchOffsetBase()
5799 const VariablesMetadata *VMetadata = Func->getVMetadata(); in formAddressingMode() local
5809 if (matchAssign(VMetadata, &BaseVar, &OffsetImm, &Reason)) { in formAddressingMode()
5814 matchAssign(VMetadata, &OffsetReg, &OffsetImm, &Reason)) { in formAddressingMode()
5818 if (CanHaveIndex && matchCombinedBaseIndex(VMetadata, &BaseVar, &OffsetReg, in formAddressingMode()
5824 if (matchShiftedOffsetReg(VMetadata, &OffsetReg, &ShiftKind, in formAddressingMode()
5830 matchShiftedOffsetReg(VMetadata, &BaseVar, &ShiftKind, in formAddressingMode()
5837 if (matchOffsetBase(VMetadata, &BaseVar, &OffsetImm, &Reason)) { in formAddressingMode()