Lines Matching refs:BinaryExpr
225 if (const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(Imm.Value)) in isHiImm16() local
227 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())) in isHiImm16()
262 if (const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(Imm.Value)) in isLoImm16() local
264 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())) in isLoImm16()
286 if (const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(Imm.Value)) in isLoImm16Signed() local
288 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())) in isLoImm16Signed()
337 if (const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(Imm.Value)) { in isLoImm21() local
339 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())) in isLoImm21()
342 dyn_cast<MCSymbolRefExpr>(BinaryExpr->getLHS())) in isLoImm21()
462 const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(getImm()); in addLoImm16Operands() local
463 assert(dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS()) && in addLoImm16Operands()
464 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())->getKind() == in addLoImm16Operands()
492 const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(getImm()); in addHiImm16Operands() local
493 assert(dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS()) && in addHiImm16Operands()
494 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())->getKind() == in addHiImm16Operands()
531 const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(getImm()); in addLoImm21Operands() local
533 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS()); in addLoImm21Operands()
833 if (const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(Op.getImm())) { in shouldBeSls() local
835 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS()); in shouldBeSls()