Searched refs:RISCVMCExpr (Results 1 – 6 of 6) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/MCTargetDesc/ |
D | RISCVMCExpr.cpp | 29 const RISCVMCExpr *RISCVMCExpr::create(const MCExpr *Expr, VariantKind Kind, in create() 31 return new (Ctx) RISCVMCExpr(Expr, Kind); in create() 34 void RISCVMCExpr::printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const { in printImpl() 44 bool RISCVMCExpr::evaluateAsRelocatableImpl(MCValue &Res, in evaluateAsRelocatableImpl() 66 void RISCVMCExpr::visitUsedExpr(MCStreamer &Streamer) const { in visitUsedExpr() 70 RISCVMCExpr::VariantKind RISCVMCExpr::getVariantKindForName(StringRef name) { in getVariantKindForName() 71 return StringSwitch<RISCVMCExpr::VariantKind>(name) in getVariantKindForName() 79 StringRef RISCVMCExpr::getVariantKindName(VariantKind Kind) { in getVariantKindName() 94 bool RISCVMCExpr::evaluateAsConstant(int64_t &Res) const { in evaluateAsConstant() 111 int64_t RISCVMCExpr::evaluateAsInt64(int64_t Value) const { in evaluateAsInt64()
|
D | RISCVMCCodeEmitter.cpp | 109 RISCVMCExpr::create(Expr, RISCVMCExpr::VK_RISCV_CALL, Ctx); in expandFunctionCall() 209 const RISCVMCExpr *RVExpr = cast<RISCVMCExpr>(Expr); in getImmOpValue() 212 case RISCVMCExpr::VK_RISCV_None: in getImmOpValue() 213 case RISCVMCExpr::VK_RISCV_Invalid: in getImmOpValue() 215 case RISCVMCExpr::VK_RISCV_LO: in getImmOpValue() 223 case RISCVMCExpr::VK_RISCV_HI: in getImmOpValue() 226 case RISCVMCExpr::VK_RISCV_PCREL_LO: in getImmOpValue() 235 case RISCVMCExpr::VK_RISCV_PCREL_HI: in getImmOpValue() 238 case RISCVMCExpr::VK_RISCV_CALL: in getImmOpValue()
|
D | RISCVMCExpr.h | 24 class RISCVMCExpr : public MCTargetExpr { 42 explicit RISCVMCExpr(const MCExpr *Expr, VariantKind Kind) in RISCVMCExpr() function 46 static const RISCVMCExpr *create(const MCExpr *Expr, VariantKind Kind, 70 static bool classof(const RISCVMCExpr *) { return true; } in classof() argument
|
D | CMakeLists.txt | 6 RISCVMCExpr.cpp
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/AsmParser/ |
D | RISCVAsmParser.cpp | 120 RISCVMCExpr::VariantKind &Kind, 187 bool evaluateConstantImm(int64_t &Imm, RISCVMCExpr::VariantKind &VK) const { in evaluateConstantImm() 190 if (auto *RE = dyn_cast<RISCVMCExpr>(Val)) { in evaluateConstantImm() 195 VK = RISCVMCExpr::VK_RISCV_None; in evaluateConstantImm() 205 RISCVMCExpr::VariantKind VK; in isBareSimmNLsb0() 214 return IsValid && VK == RISCVMCExpr::VK_RISCV_None; in isBareSimmNLsb0() 221 RISCVMCExpr::VariantKind VK; in isBareSymbol() 226 VK == RISCVMCExpr::VK_RISCV_None; in isBareSymbol() 270 RISCVMCExpr::VariantKind VK; in isImmXLen() 277 return IsConstantImm && IsInRange && VK == RISCVMCExpr::VK_RISCV_None; in isImmXLen() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/ |
D | RISCVMCInstLower.cpp | 32 RISCVMCExpr::VariantKind Kind; in lowerSymbolOperand() 38 Kind = RISCVMCExpr::VK_RISCV_None; in lowerSymbolOperand() 41 Kind = RISCVMCExpr::VK_RISCV_LO; in lowerSymbolOperand() 44 Kind = RISCVMCExpr::VK_RISCV_HI; in lowerSymbolOperand() 55 if (Kind != RISCVMCExpr::VK_RISCV_None) in lowerSymbolOperand() 56 ME = RISCVMCExpr::create(ME, Kind, Ctx); in lowerSymbolOperand()
|