17#include "llvm/IR/IntrinsicsSPIRV.h"
27 Value *ValOp =
nullptr;
34 if (
II->getIntrinsicID() == Intrinsic::spv_track_constant) {
36 ValOp =
II->getOperand(0);
44 ValOp, Constraint,
Ops, MIRBuilder)
const AbstractManglingParser< Derived, Alloc >::OperatorInfo AbstractManglingParser< Derived, Alloc >::Ops[]
uint64_t IntrinsicInst * II
ConstantFP - Floating Point Values [float, double].
InlineAsmLowering(const TargetLowering *TLI)
virtual bool lowerAsmOperandForConstraint(Value *Val, StringRef Constraint, std::vector< MachineOperand > &Ops, MachineIRBuilder &MIRBuilder) const
Lower the specified operand into the Ops vector.
Helper class to build MachineInstr.
static MachineOperand CreateFPImm(const ConstantFP *CFP)
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.
StringRef - Represent a constant reference to a string, i.e.
LLVM Value Representation.
This is an optimization pass for GlobalISel generic memory operations.
decltype(auto) dyn_cast(const From &Val)
dyn_cast<X> - Return the argument parameter cast to the specified type.
bool isa(const From &Val)
isa<X> - Return true if the parameter to the template is an instance of one of the template type argu...