• Home
  • Raw
  • Download

Lines Matching refs:Rule

869 class CallFrameInfo::Rule {  class in dwarf2reader::CallFrameInfo
871 virtual ~Rule() { } in ~Rule()
882 virtual bool operator==(const Rule &rhs) const = 0;
884 bool operator!=(const Rule &rhs) const { return ! (*this == rhs); } in operator !=()
887 virtual Rule *Copy() const = 0;
899 class CallFrameInfo::UndefinedRule: public CallFrameInfo::Rule {
906 bool operator==(const Rule &rhs) const { in operator ==()
912 Rule *Copy() const { return new UndefinedRule(*this); } in Copy()
916 class CallFrameInfo::SameValueRule: public CallFrameInfo::Rule {
923 bool operator==(const Rule &rhs) const { in operator ==()
929 Rule *Copy() const { return new SameValueRule(*this); } in Copy()
934 class CallFrameInfo::OffsetRule: public CallFrameInfo::Rule {
942 bool operator==(const Rule &rhs) const { in operator ==()
950 Rule *Copy() const { return new OffsetRule(*this); } in Copy()
963 class CallFrameInfo::ValOffsetRule: public CallFrameInfo::Rule {
971 bool operator==(const Rule &rhs) const { in operator ==()
979 Rule *Copy() const { return new ValOffsetRule(*this); } in Copy()
988 class CallFrameInfo::RegisterRule: public CallFrameInfo::Rule {
996 bool operator==(const Rule &rhs) const { in operator ==()
1002 Rule *Copy() const { return new RegisterRule(*this); } in Copy()
1008 class CallFrameInfo::ExpressionRule: public CallFrameInfo::Rule {
1016 bool operator==(const Rule &rhs) const { in operator ==()
1022 Rule *Copy() const { return new ExpressionRule(*this); } in Copy()
1028 class CallFrameInfo::ValExpressionRule: public CallFrameInfo::Rule {
1036 bool operator==(const Rule &rhs) const { in operator ==()
1043 Rule *Copy() const { return new ValExpressionRule(*this); } in Copy()
1058 void SetCFARule(Rule *rule) { delete cfa_rule_; cfa_rule_ = rule; } in SetCFARule()
1064 Rule *CFARule() const { return cfa_rule_; } in CFARule()
1068 Rule *RegisterRule(int reg) const;
1071 void SetRegisterRule(int reg, Rule *rule);
1082 typedef std::map<int, Rule *> RuleByNumber;
1089 Rule *cfa_rule_;
1106 CallFrameInfo::Rule *CallFrameInfo::RuleMap::RegisterRule(int reg) const { in RegisterRule()
1115 void CallFrameInfo::RuleMap::SetRegisterRule(int reg, Rule *rule) { in SetRegisterRule()
1118 Rule **slot = &registers_[reg]; in SetRegisterRule()
1271 bool DoRule(unsigned reg, Rule *rule);
1517 Rule *cfa_rule = rules_.CFARule(); in DoInstruction()
1550 Rule *rule = new ValExpressionRule(ops.expression); in DoInstruction()
1709 Rule *rule = new ValOffsetRule(base_register, offset); in DoDefCFA()
1716 Rule *cfa_rule = rules_.CFARule(); in DoDefCFAOffset()
1726 bool CallFrameInfo::State::DoRule(unsigned reg, Rule *rule) { in DoRule()
1755 Rule *rule = cie_rules_.RegisterRule(reg); in DoRestore()