9#ifndef LLVM_SANDBOXIR_ARGUMENT_H
10#define LLVM_SANDBOXIR_ARGUMENT_H
20 :
Value(ClassID::Argument, Arg,
Ctx) {}
25 return From->getSubclassID() == ClassID::Argument;
29 assert(isa<llvm::Argument>(
Val) &&
"Expected Argument!");
BlockVerifier::State From
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
This class represents an incoming formal argument to a Function.
This class implements an extremely fast bulk output stream that can only output to a stream.
Argument of a sandboxir::Function.
void dumpOS(raw_ostream &OS) const final
void printAsOperand(raw_ostream &OS) const
void verify() const final
Should crash if there is something wrong with the instruction.
static bool classof(const sandboxir::Value *From)
A SandboxIR Value has users. This is the base class.
llvm::Value * Val
The LLVM Value that corresponds to this SandboxIR Value.
Context & Ctx
All values point to the context.