Lines Matching refs:SymbolRefExpr
221 if (const LanaiMCExpr *SymbolRefExpr = dyn_cast<LanaiMCExpr>(Imm.Value)) in isHiImm16() local
222 return SymbolRefExpr->getKind() == LanaiMCExpr::VK_Lanai_ABS_HI; in isHiImm16()
226 if (const LanaiMCExpr *SymbolRefExpr = in isHiImm16() local
228 return SymbolRefExpr->getKind() == LanaiMCExpr::VK_Lanai_ABS_HI; in isHiImm16()
258 if (const LanaiMCExpr *SymbolRefExpr = dyn_cast<LanaiMCExpr>(Imm.Value)) in isLoImm16() local
259 return SymbolRefExpr->getKind() == LanaiMCExpr::VK_Lanai_ABS_LO; in isLoImm16()
263 if (const LanaiMCExpr *SymbolRefExpr = in isLoImm16() local
265 return SymbolRefExpr->getKind() == LanaiMCExpr::VK_Lanai_ABS_LO; in isLoImm16()
282 if (const LanaiMCExpr *SymbolRefExpr = dyn_cast<LanaiMCExpr>(Imm.Value)) in isLoImm16Signed() local
283 return SymbolRefExpr->getKind() == LanaiMCExpr::VK_Lanai_ABS_LO; in isLoImm16Signed()
287 if (const LanaiMCExpr *SymbolRefExpr = in isLoImm16Signed() local
289 return SymbolRefExpr->getKind() == LanaiMCExpr::VK_Lanai_ABS_LO; in isLoImm16Signed()
329 if (const LanaiMCExpr *SymbolRefExpr = dyn_cast<LanaiMCExpr>(Imm.Value)) in isLoImm21() local
330 return SymbolRefExpr->getKind() == LanaiMCExpr::VK_Lanai_None; in isLoImm21()
331 if (const MCSymbolRefExpr *SymbolRefExpr = in isLoImm21() local
333 return SymbolRefExpr->getKind() == MCSymbolRefExpr::VK_None; in isLoImm21()
338 if (const LanaiMCExpr *SymbolRefExpr = in isLoImm21() local
340 return SymbolRefExpr->getKind() == LanaiMCExpr::VK_Lanai_None; in isLoImm21()
341 if (const MCSymbolRefExpr *SymbolRefExpr = in isLoImm21() local
343 return SymbolRefExpr->getKind() == MCSymbolRefExpr::VK_None; in isLoImm21()
456 const LanaiMCExpr *SymbolRefExpr = dyn_cast<LanaiMCExpr>(getImm()); in addLoImm16Operands() local
457 assert(SymbolRefExpr->getKind() == LanaiMCExpr::VK_Lanai_ABS_LO); in addLoImm16Operands()
486 const LanaiMCExpr *SymbolRefExpr = dyn_cast<LanaiMCExpr>(getImm()); in addHiImm16Operands() local
487 assert(SymbolRefExpr->getKind() == LanaiMCExpr::VK_Lanai_ABS_HI); in addHiImm16Operands()
516 const LanaiMCExpr *SymbolRefExpr = dyn_cast<LanaiMCExpr>(getImm()); in addLoImm21Operands() local
517 assert(SymbolRefExpr && in addLoImm21Operands()
518 SymbolRefExpr->getKind() == LanaiMCExpr::VK_Lanai_None); in addLoImm21Operands()
523 const MCSymbolRefExpr *SymbolRefExpr = in addLoImm21Operands() local
525 assert(SymbolRefExpr && in addLoImm21Operands()
526 SymbolRefExpr->getKind() == MCSymbolRefExpr::VK_None); in addLoImm21Operands()
532 const LanaiMCExpr *SymbolRefExpr = in addLoImm21Operands() local
534 assert(SymbolRefExpr && in addLoImm21Operands()
535 SymbolRefExpr->getKind() == LanaiMCExpr::VK_Lanai_None); in addLoImm21Operands()
828 if (const LanaiMCExpr *SymbolRefExpr = dyn_cast<LanaiMCExpr>(Op.getImm())) in shouldBeSls() local
829 return SymbolRefExpr->getKind() == LanaiMCExpr::VK_Lanai_None; in shouldBeSls()