30 OS << *
F->getReturnType() <<
" @" <<
F->getName() <<
"(";
34 auto *SBArg = cast_or_null<Argument>(Ctx.getValue(&LLVMArg));
38 SBArg->printAsOperand(OS);
57 [&OS] { OS <<
"\n"; });
This class represents an incoming formal argument to a Function.
LLVM Basic Block Representation.
This class implements an extremely fast bulk output stream that can only output to a stream.
LLVM_ABI FunctionType * getFunctionType() const
void dumpOS(raw_ostream &OS) const final
LLVM_ABI void setAlignment(MaybeAlign Align)
Sets the alignment attribute of the Function.
void dumpNameAndArgs(raw_ostream &OS) const
This class can be used for tracking most instruction setters.
llvm::Value * Val
The LLVM Value that corresponds to this SandboxIR Value.
Context & Ctx
All values point to the context.
void interleave(ForwardIterator begin, ForwardIterator end, UnaryFunctor each_fn, NullaryFunctor between_fn)
An STL-style algorithm similar to std::for_each that applies a second functor between every pair of e...
auto cast_or_null(const Y &Val)
decltype(auto) cast(const From &Val)
cast<X> - Return the argument parameter cast to the specified type.
This struct is a compact representation of a valid (non-zero power of two) alignment.
This struct is a compact representation of a valid (power of two) or undefined (0) alignment.