Lines Matching refs:MCBinaryExpr

115     const MCBinaryExpr &BE = cast<MCBinaryExpr>(*this);  in print()
127 case MCBinaryExpr::Add: in print()
138 case MCBinaryExpr::AShr: OS << ">>"; break; in print()
139 case MCBinaryExpr::And: OS << '&'; break; in print()
140 case MCBinaryExpr::Div: OS << '/'; break; in print()
141 case MCBinaryExpr::EQ: OS << "=="; break; in print()
142 case MCBinaryExpr::GT: OS << '>'; break; in print()
143 case MCBinaryExpr::GTE: OS << ">="; break; in print()
144 case MCBinaryExpr::LAnd: OS << "&&"; break; in print()
145 case MCBinaryExpr::LOr: OS << "||"; break; in print()
146 case MCBinaryExpr::LShr: OS << ">>"; break; in print()
147 case MCBinaryExpr::LT: OS << '<'; break; in print()
148 case MCBinaryExpr::LTE: OS << "<="; break; in print()
149 case MCBinaryExpr::Mod: OS << '%'; break; in print()
150 case MCBinaryExpr::Mul: OS << '*'; break; in print()
151 case MCBinaryExpr::NE: OS << "!="; break; in print()
152 case MCBinaryExpr::Or: OS << '|'; break; in print()
153 case MCBinaryExpr::OrNot: OS << '!'; break; in print()
154 case MCBinaryExpr::Shl: OS << "<<"; break; in print()
155 case MCBinaryExpr::Sub: OS << '-'; break; in print()
156 case MCBinaryExpr::Xor: OS << '^'; break; in print()
183 const MCBinaryExpr *MCBinaryExpr::create(Opcode Opc, const MCExpr *LHS, in create()
186 return new (Ctx) MCBinaryExpr(Opc, LHS, RHS, Loc); in create()
892 const MCBinaryExpr *ABE = cast<MCBinaryExpr>(this); in evaluateAsRelocatableImpl()
903 case MCBinaryExpr::EQ: in evaluateAsRelocatableImpl()
906 case MCBinaryExpr::NE: in evaluateAsRelocatableImpl()
921 case MCBinaryExpr::Sub: in evaluateAsRelocatableImpl()
928 case MCBinaryExpr::Add: in evaluateAsRelocatableImpl()
942 case MCBinaryExpr::AShr: Result = LHS >> RHS; break; in evaluateAsRelocatableImpl()
943 case MCBinaryExpr::Add: Result = LHS + RHS; break; in evaluateAsRelocatableImpl()
944 case MCBinaryExpr::And: Result = LHS & RHS; break; in evaluateAsRelocatableImpl()
945 case MCBinaryExpr::Div: in evaluateAsRelocatableImpl()
946 case MCBinaryExpr::Mod: in evaluateAsRelocatableImpl()
955 if (ABE->getOpcode() == MCBinaryExpr::Div) in evaluateAsRelocatableImpl()
960 case MCBinaryExpr::EQ: Result = LHS == RHS; break; in evaluateAsRelocatableImpl()
961 case MCBinaryExpr::GT: Result = LHS > RHS; break; in evaluateAsRelocatableImpl()
962 case MCBinaryExpr::GTE: Result = LHS >= RHS; break; in evaluateAsRelocatableImpl()
963 case MCBinaryExpr::LAnd: Result = LHS && RHS; break; in evaluateAsRelocatableImpl()
964 case MCBinaryExpr::LOr: Result = LHS || RHS; break; in evaluateAsRelocatableImpl()
965 case MCBinaryExpr::LShr: Result = uint64_t(LHS) >> uint64_t(RHS); break; in evaluateAsRelocatableImpl()
966 case MCBinaryExpr::LT: Result = LHS < RHS; break; in evaluateAsRelocatableImpl()
967 case MCBinaryExpr::LTE: Result = LHS <= RHS; break; in evaluateAsRelocatableImpl()
968 case MCBinaryExpr::Mul: Result = LHS * RHS; break; in evaluateAsRelocatableImpl()
969 case MCBinaryExpr::NE: Result = LHS != RHS; break; in evaluateAsRelocatableImpl()
970 case MCBinaryExpr::Or: Result = LHS | RHS; break; in evaluateAsRelocatableImpl()
971 case MCBinaryExpr::OrNot: Result = LHS | ~RHS; break; in evaluateAsRelocatableImpl()
972 case MCBinaryExpr::Shl: Result = uint64_t(LHS) << uint64_t(RHS); break; in evaluateAsRelocatableImpl()
973 case MCBinaryExpr::Sub: Result = LHS - RHS; break; in evaluateAsRelocatableImpl()
974 case MCBinaryExpr::Xor: Result = LHS ^ RHS; break; in evaluateAsRelocatableImpl()
981 case MCBinaryExpr::EQ: in evaluateAsRelocatableImpl()
982 case MCBinaryExpr::GT: in evaluateAsRelocatableImpl()
983 case MCBinaryExpr::GTE: in evaluateAsRelocatableImpl()
984 case MCBinaryExpr::LT: in evaluateAsRelocatableImpl()
985 case MCBinaryExpr::LTE: in evaluateAsRelocatableImpl()
986 case MCBinaryExpr::NE: in evaluateAsRelocatableImpl()
1018 const MCBinaryExpr *BE = cast<MCBinaryExpr>(this); in findAssociatedFragment()
1029 if (BE->getOpcode() == MCBinaryExpr::Sub) in findAssociatedFragment()