|
LLVM 23.0.0git
|
#include "Target/RISCV/GISel/RISCVInlineAsmLowering.h"
Public Member Functions | |
| RISCVInlineAsmLowering (const TargetLowering *TLI) | |
| bool | lowerAsmOperandForConstraint (Value *Val, StringRef Constraint, std::vector< MachineOperand > &Ops, MachineIRBuilder &MIRBuilder) const override |
| Lower the specified operand into the Ops vector. | |
| Public Member Functions inherited from llvm::InlineAsmLowering | |
| bool | lowerInlineAsm (MachineIRBuilder &MIRBuilder, const CallBase &CB, std::function< ArrayRef< Register >(const Value &Val)> GetOrCreateVRegs) const |
Lower the given inline asm call instruction GetOrCreateVRegs is a callback to materialize a register for the input and output operands of the inline asm. | |
| InlineAsmLowering (const TargetLowering *TLI) | |
| virtual | ~InlineAsmLowering ()=default |
Additional Inherited Members | |
| Protected Member Functions inherited from llvm::InlineAsmLowering | |
| const TargetLowering * | getTLI () const |
| Getter for generic TargetLowering class. | |
| template<class XXXTargetLowering> | |
| const XXXTargetLowering * | getTLI () const |
| Getter for target specific TargetLowering class. | |
Definition at line 18 of file RISCVInlineAsmLowering.h.
| RISCVInlineAsmLowering::RISCVInlineAsmLowering | ( | const TargetLowering * | TLI | ) |
Definition at line 23 of file RISCVInlineAsmLowering.cpp.
References llvm::InlineAsmLowering::InlineAsmLowering().
|
overridevirtual |
Lower the specified operand into the Ops vector.
Val is the IR input value to be lowered Constraint is the user supplied constraint string Ops is the vector to be filled with the lowered operands
Reimplemented from llvm::InlineAsmLowering.
Definition at line 26 of file RISCVInlineAsmLowering.cpp.
References AbstractManglingParser< Derived, Alloc >::Ops, llvm::MachineOperand::CreateImm(), llvm::dyn_cast(), llvm::isInt(), llvm::isUInt(), llvm::InlineAsmLowering::lowerAsmOperandForConstraint(), and llvm::StringRef::size().