class VPValue
Declaration
class VPValue { /* full declaration omitted */ };
Declared at: llvm/lib/Transforms/Vectorize/VPlanValue.h:38
Member Variables
- protected llvm::Value* UnderlyingVal
Method Overview
- protected VPValue(const unsigned char SC, llvm::Value * UV = nullptr)
- public VPValue(llvm::Value * UV = nullptr)
- public VPValue(const llvm::VPValue &)
- public void addUser(llvm::VPUser & User)
- public unsigned int getNumUsers() const
- protected llvm::Value * getUnderlyingValue()
- public unsigned int getVPValueID() const
- public bool hasMoreThanOneUniqueUser()
- public void printAsOperand(llvm::raw_ostream & OS) const
- public void replaceAllUsesWith(llvm::VPValue * New)
- protected void setUnderlyingValue(llvm::Value * Val)
- public llvm::VPValue::user_iterator user_begin()
- public llvm::VPValue::const_user_iterator user_begin() const
- public llvm::VPValue::user_iterator user_end()
- public llvm::VPValue::const_user_iterator user_end() const
- public llvm::VPValue::user_range users()
- public llvm::VPValue::const_user_range users() const
Methods
¶VPValue(const unsigned char SC,
llvm::Value* UV = nullptr)
VPValue(const unsigned char SC,
llvm::Value* UV = nullptr)
Declared at: llvm/lib/Transforms/Vectorize/VPlanValue.h:53
Parameters
- const unsigned char SC
- llvm::Value* UV = nullptr
¶VPValue(llvm::Value* UV = nullptr)
VPValue(llvm::Value* UV = nullptr)
Declared at: llvm/lib/Transforms/Vectorize/VPlanValue.h:79
Parameters
- llvm::Value* UV = nullptr
¶VPValue(const llvm::VPValue&)
VPValue(const llvm::VPValue&)
Declared at: llvm/lib/Transforms/Vectorize/VPlanValue.h:80
Parameters
- const llvm::VPValue&
¶void addUser(llvm::VPUser& User)
void addUser(llvm::VPUser& User)
Declared at: llvm/lib/Transforms/Vectorize/VPlanValue.h:93
Parameters
- llvm::VPUser& User
¶unsigned int getNumUsers() const
unsigned int getNumUsers() const
Declared at: llvm/lib/Transforms/Vectorize/VPlanValue.h:92
¶llvm::Value* getUnderlyingValue()
llvm::Value* getUnderlyingValue()
Description
Return the underlying Value attached to this VPValue.
Declared at: llvm/lib/Transforms/Vectorize/VPlanValue.h:64
¶unsigned int getVPValueID() const
unsigned int getVPValueID() const
Declared at: llvm/lib/Transforms/Vectorize/VPlanValue.h:86
Returns
an ID for the concrete type of this object. This is used to implement the classof checks. This should not be used for any other purpose, as the values may change as LLVM evolves.
¶bool hasMoreThanOneUniqueUser()
bool hasMoreThanOneUniqueUser()
Description
Returns true if the value has more than one unique user.
Declared at: llvm/lib/Transforms/Vectorize/VPlanValue.h:110
¶void printAsOperand(llvm::raw_ostream& OS) const
void printAsOperand(llvm::raw_ostream& OS) const
Declared at: llvm/lib/Transforms/Vectorize/VPlanValue.h:88
Parameters
¶void replaceAllUsesWith(llvm::VPValue* New)
void replaceAllUsesWith(llvm::VPValue* New)
Declared at: llvm/lib/Transforms/Vectorize/VPlanValue.h:121
Parameters
- llvm::VPValue* New
¶void setUnderlyingValue(llvm::Value* Val)
void setUnderlyingValue(llvm::Value* Val)
Declared at: llvm/lib/Transforms/Vectorize/VPlanValue.h:67
Parameters
- llvm::Value* Val
¶llvm::VPValue::user_iterator user_begin()
llvm::VPValue::user_iterator user_begin()
Declared at: llvm/lib/Transforms/Vectorize/VPlanValue.h:100
¶llvm::VPValue::const_user_iterator user_begin()
const
llvm::VPValue::const_user_iterator user_begin()
const
Declared at: llvm/lib/Transforms/Vectorize/VPlanValue.h:101
¶llvm::VPValue::user_iterator user_end()
llvm::VPValue::user_iterator user_end()
Declared at: llvm/lib/Transforms/Vectorize/VPlanValue.h:102
¶llvm::VPValue::const_user_iterator user_end()
const
llvm::VPValue::const_user_iterator user_end()
const
Declared at: llvm/lib/Transforms/Vectorize/VPlanValue.h:103
¶llvm::VPValue::user_range users()
llvm::VPValue::user_range users()
Declared at: llvm/lib/Transforms/Vectorize/VPlanValue.h:104
¶llvm::VPValue::const_user_range users() const
llvm::VPValue::const_user_range users() const
Declared at: llvm/lib/Transforms/Vectorize/VPlanValue.h:105