Lines Matching refs:MCBinaryExpr
74 const MCBinaryExpr &BE = cast<MCBinaryExpr>(*this); in print()
86 case MCBinaryExpr::Add: in print()
97 case MCBinaryExpr::AShr: OS << ">>"; break; in print()
98 case MCBinaryExpr::And: OS << '&'; break; in print()
99 case MCBinaryExpr::Div: OS << '/'; break; in print()
100 case MCBinaryExpr::EQ: OS << "=="; break; in print()
101 case MCBinaryExpr::GT: OS << '>'; break; in print()
102 case MCBinaryExpr::GTE: OS << ">="; break; in print()
103 case MCBinaryExpr::LAnd: OS << "&&"; break; in print()
104 case MCBinaryExpr::LOr: OS << "||"; break; in print()
105 case MCBinaryExpr::LShr: OS << ">>"; break; in print()
106 case MCBinaryExpr::LT: OS << '<'; break; in print()
107 case MCBinaryExpr::LTE: OS << "<="; break; in print()
108 case MCBinaryExpr::Mod: OS << '%'; break; in print()
109 case MCBinaryExpr::Mul: OS << '*'; break; in print()
110 case MCBinaryExpr::NE: OS << "!="; break; in print()
111 case MCBinaryExpr::Or: OS << '|'; break; in print()
112 case MCBinaryExpr::Shl: OS << "<<"; break; in print()
113 case MCBinaryExpr::Sub: OS << '-'; break; in print()
114 case MCBinaryExpr::Xor: OS << '^'; break; in print()
141 const MCBinaryExpr *MCBinaryExpr::create(Opcode Opc, const MCExpr *LHS, in create()
143 return new (Ctx) MCBinaryExpr(Opc, LHS, RHS); in create()
685 const MCBinaryExpr *ABE = cast<MCBinaryExpr>(this); in evaluateAsRelocatableImpl()
700 case MCBinaryExpr::Sub: in evaluateAsRelocatableImpl()
707 case MCBinaryExpr::Add: in evaluateAsRelocatableImpl()
720 case MCBinaryExpr::AShr: Result = LHS >> RHS; break; in evaluateAsRelocatableImpl()
721 case MCBinaryExpr::Add: Result = LHS + RHS; break; in evaluateAsRelocatableImpl()
722 case MCBinaryExpr::And: Result = LHS & RHS; break; in evaluateAsRelocatableImpl()
723 case MCBinaryExpr::Div: in evaluateAsRelocatableImpl()
734 case MCBinaryExpr::EQ: Result = LHS == RHS; break; in evaluateAsRelocatableImpl()
735 case MCBinaryExpr::GT: Result = LHS > RHS; break; in evaluateAsRelocatableImpl()
736 case MCBinaryExpr::GTE: Result = LHS >= RHS; break; in evaluateAsRelocatableImpl()
737 case MCBinaryExpr::LAnd: Result = LHS && RHS; break; in evaluateAsRelocatableImpl()
738 case MCBinaryExpr::LOr: Result = LHS || RHS; break; in evaluateAsRelocatableImpl()
739 case MCBinaryExpr::LShr: Result = uint64_t(LHS) >> uint64_t(RHS); break; in evaluateAsRelocatableImpl()
740 case MCBinaryExpr::LT: Result = LHS < RHS; break; in evaluateAsRelocatableImpl()
741 case MCBinaryExpr::LTE: Result = LHS <= RHS; break; in evaluateAsRelocatableImpl()
742 case MCBinaryExpr::Mod: Result = LHS % RHS; break; in evaluateAsRelocatableImpl()
743 case MCBinaryExpr::Mul: Result = LHS * RHS; break; in evaluateAsRelocatableImpl()
744 case MCBinaryExpr::NE: Result = LHS != RHS; break; in evaluateAsRelocatableImpl()
745 case MCBinaryExpr::Or: Result = LHS | RHS; break; in evaluateAsRelocatableImpl()
746 case MCBinaryExpr::Shl: Result = uint64_t(LHS) << uint64_t(RHS); break; in evaluateAsRelocatableImpl()
747 case MCBinaryExpr::Sub: Result = LHS - RHS; break; in evaluateAsRelocatableImpl()
748 case MCBinaryExpr::Xor: Result = LHS ^ RHS; break; in evaluateAsRelocatableImpl()
778 const MCBinaryExpr *BE = cast<MCBinaryExpr>(this); in findAssociatedFragment()
789 if (BE->getOpcode() == MCBinaryExpr::Sub) in findAssociatedFragment()