LLVM 20.0.0git
|
#include "Target/SPIRV/SPIRVInlineAsmLowering.h"
Public Member Functions | |
SPIRVInlineAsmLowering (const SPIRVTargetLowering &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. | |
virtual bool | lowerAsmOperandForConstraint (Value *Val, StringRef Constraint, std::vector< MachineOperand > &Ops, MachineIRBuilder &MIRBuilder) const |
Lower the specified operand into the Ops vector. | |
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 23 of file SPIRVInlineAsmLowering.h.
SPIRVInlineAsmLowering::SPIRVInlineAsmLowering | ( | const SPIRVTargetLowering & | TLI | ) |
Definition at line 21 of file SPIRVInlineAsmLowering.cpp.
|
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 24 of file SPIRVInlineAsmLowering.cpp.
References llvm::MachineOperand::CreateFPImm(), II, and llvm::InlineAsmLowering::lowerAsmOperandForConstraint().