Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
llvm/include/llvm/IR/IntrinsicInst.h
Show First 20 Lines • Show All 394 Lines • ▼ Show 20 Lines | public: | ||||
/// The llvm.vp.* intrinsics for this instruction Opcode | /// The llvm.vp.* intrinsics for this instruction Opcode | ||||
static Intrinsic::ID GetForOpcode(unsigned OC); | static Intrinsic::ID GetForOpcode(unsigned OC); | ||||
// Whether \p ID is a VP intrinsic ID. | // Whether \p ID is a VP intrinsic ID. | ||||
static bool IsVPIntrinsic(Intrinsic::ID); | static bool IsVPIntrinsic(Intrinsic::ID); | ||||
/// \return the mask parameter or nullptr. | /// \return the mask parameter or nullptr. | ||||
Value *getMaskParam() const; | Value *getMaskParam() const; | ||||
void setMaskParam(Value *); | |||||
/// \return the vector length parameter or nullptr. | /// \return the vector length parameter or nullptr. | ||||
Value *getVectorLengthParam() const; | Value *getVectorLengthParam() const; | ||||
void setVectorLengthParam(Value *); | |||||
/// \return whether the vector length param can be ignored. | /// \return whether the vector length param can be ignored. | ||||
bool canIgnoreVectorLengthParam() const; | bool canIgnoreVectorLengthParam() const; | ||||
/// \return the static element count (vector number of elements) the vector | /// \return the static element count (vector number of elements) the vector | ||||
/// length parameter applies to. | /// length parameter applies to. | ||||
ElementCount getStaticVectorLength() const; | ElementCount getStaticVectorLength() const; | ||||
▲ Show 20 Lines • Show All 874 Lines • Show Last 20 Lines |