Lines Matching refs:Kind
30 const RISCVMCExpr *RISCVMCExpr::create(const MCExpr *Expr, VariantKind Kind, in create() argument
32 return new (Ctx) RISCVMCExpr(Expr, Kind); in create()
36 VariantKind Kind = getKind(); in printImpl() local
37 bool HasVariant = ((Kind != VK_RISCV_None) && (Kind != VK_RISCV_CALL) && in printImpl()
38 (Kind != VK_RISCV_CALL_PLT)); in printImpl()
129 StringRef RISCVMCExpr::getVariantKindName(VariantKind Kind) { in getVariantKindName() argument
130 switch (Kind) { in getVariantKindName()
218 if (Kind == VK_RISCV_PCREL_HI || Kind == VK_RISCV_PCREL_LO || in evaluateAsConstant()
219 Kind == VK_RISCV_GOT_HI || Kind == VK_RISCV_TPREL_HI || in evaluateAsConstant()
220 Kind == VK_RISCV_TPREL_LO || Kind == VK_RISCV_TPREL_ADD || in evaluateAsConstant()
221 Kind == VK_RISCV_TLS_GOT_HI || Kind == VK_RISCV_TLS_GD_HI || in evaluateAsConstant()
222 Kind == VK_RISCV_TLSDESC_HI || Kind == VK_RISCV_TLSDESC_LOAD_LO || in evaluateAsConstant()
223 Kind == VK_RISCV_TLSDESC_ADD_LO || Kind == VK_RISCV_TLSDESC_CALL || in evaluateAsConstant()
224 Kind == VK_RISCV_CALL || Kind == VK_RISCV_CALL_PLT) in evaluateAsConstant()
238 switch (Kind) { in evaluateAsInt64()