Lines Matching refs:Operand

36 unsigned Operand::getIndex() const { return *Index; }  in getIndex()
38 bool Operand::isExplicit() const { return Info; } in isExplicit()
40 bool Operand::isImplicit() const { return !Info; } in isImplicit()
42 bool Operand::isImplicitReg() const { return ImplicitReg; } in isImplicitReg()
44 bool Operand::isDef() const { return IsDef; } in isDef()
46 bool Operand::isUse() const { return !IsDef; } in isUse()
48 bool Operand::isReg() const { return Tracker; } in isReg()
50 bool Operand::isTied() const { return TiedToIndex.has_value(); } in isTied()
52 bool Operand::isVariable() const { return VariableIndex.has_value(); } in isVariable()
54 bool Operand::isMemory() const { in isMemory()
59 bool Operand::isImmediate() const { in isImmediate()
64 unsigned Operand::getTiedToIndex() const { return *TiedToIndex; } in getTiedToIndex()
66 unsigned Operand::getVariableIndex() const { return *VariableIndex; } in getVariableIndex()
68 unsigned Operand::getImplicitReg() const { in getImplicitReg()
73 const RegisterAliasingTracker &Operand::getRegisterAliasing() const { in getRegisterAliasing()
78 const MCOperandInfo &Operand::getExplicitOperandInfo() const { in getExplicitOperandInfo()
94 SmallVector<Operand, 8> Operands, in Instruction() argument
111 SmallVector<Operand, 8> Operands; in create()
115 Operand Operand; in create() local
116 Operand.Index = OpIndex; in create()
117 Operand.IsDef = (OpIndex < Description->getNumDefs()); in create()
120 Operand.Tracker = &RATC.getRegisterClass(OpInfo.RegClass); in create()
127 Operand.TiedToIndex = TiedToIndex; in create()
128 Operand.Info = &OpInfo; in create()
129 Operands.push_back(Operand); in create()
133 Operand Operand; in create() local
134 Operand.Index = OpIndex; in create()
135 Operand.IsDef = true; in create()
136 Operand.Tracker = &RATC.getRegister(*MCPhysReg); in create()
137 Operand.ImplicitReg = MCPhysReg; in create()
138 Operands.push_back(Operand); in create()
142 Operand Operand; in create() local
143 Operand.Index = OpIndex; in create()
144 Operand.IsDef = false; in create()
145 Operand.Tracker = &RATC.getRegister(*MCPhysReg); in create()
146 Operand.ImplicitReg = MCPhysReg; in create()
147 Operands.push_back(Operand); in create()
194 const Operand &Instruction::getPrimaryOperand(const Variable &Var) const { in getPrimaryOperand()
201 return any_of(Operands, [](const Operand &Op) { in hasMemoryOperands()
327 ArrayRef<Operand> Operands, in addOperandIfAlias()