/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/ |
D | VPlanValue.h | 32 class VPUser; variable 47 SmallVector<VPUser *, 1> Users; 93 void addUser(VPUser &User) { Users.push_back(&User); } in addUser() 95 typedef SmallVectorImpl<VPUser *>::iterator user_iterator; 96 typedef SmallVectorImpl<VPUser *>::const_iterator const_user_iterator; 131 class VPUser : public VPValue { 136 VPUser(const unsigned char SC) : VPValue(SC) {} in VPUser() function 137 VPUser(const unsigned char SC, ArrayRef<VPValue *> Operands) : VPValue(SC) { in VPUser() function 143 VPUser() : VPValue(VPValue::VPUserSC) {} in VPUser() function 144 VPUser(ArrayRef<VPValue *> Operands) : VPUser(VPValue::VPUserSC, Operands) {} in VPUser() function [all …]
|
D | VPlanSLP.cpp | 164 auto *U = cast<VPUser>(V); in getOperands() 233 for (unsigned I = 0, EV1 = cast<VPUser>(V1)->getNumOperands(); I < EV1; ++I) in getLAScore() 234 for (unsigned J = 0, EV2 = cast<VPUser>(V2)->getNumOperands(); J < EV2; ++J) in getLAScore() 235 Score += getLAScore(cast<VPUser>(V1)->getOperand(I), in getLAScore() 236 cast<VPUser>(V2)->getOperand(J), MaxLevel - 1, IAI); in getLAScore()
|
D | VPlan.h | 652 class VPInstruction : public VPUser, public VPRecipeBase { 681 : VPUser(VPValue::VPInstructionSC, Operands), in VPInstruction() 845 std::unique_ptr<VPUser> User; 854 User.reset(new VPUser(Masks)); in VPBlendRecipe() 874 VPUser User; 962 std::unique_ptr<VPUser> User; 967 User.reset(new VPUser({BlockInMask})); in VPBranchOnMaskRecipe() 1024 VPUser User;
|
D | VPlan.cpp | 755 for (VPUser *User : users()) in replaceAllUsesWith()
|
/external/llvm-project/llvm/lib/Transforms/Vectorize/ |
D | VPlanValue.h | 36 class VPUser; variable 56 SmallVector<VPUser *, 1> Users; 121 void addUser(VPUser &User) { Users.push_back(&User); } in addUser() 124 void removeUser(VPUser &User) { in removeUser() 128 erase_if(Users, [&User, &Found](VPUser *Other) { in removeUser() 139 typedef SmallVectorImpl<VPUser *>::iterator user_iterator; 140 typedef SmallVectorImpl<VPUser *>::const_iterator const_user_iterator; 177 class VPUser { 185 VPUser() {} in VPUser() function 186 VPUser(ArrayRef<VPValue *> Operands) { in VPUser() function [all …]
|
D | VPlan.h | 702 VPUser *toVPUser(); 723 inline bool VPUser::classof(const VPRecipeBase *Recipe) { in classof() 741 class VPInstruction : public VPUser, public VPValue, public VPRecipeBase { 767 : VPUser(Operands), VPValue(VPValue::VPVInstructionSC), in VPInstruction() 835 class VPWidenRecipe : public VPRecipeBase, public VPValue, public VPUser { 840 VPUser(Operands) {} in VPWidenRecipe() 861 class VPWidenCallRecipe : public VPRecipeBase, public VPValue, public VPUser { 867 VPValue(VPValue::VPVWidenCallSC, &I), VPUser(CallArguments) {} in VPWidenCallRecipe() 885 class VPWidenSelectRecipe : public VPRecipeBase, public VPValue, public VPUser { 895 VPValue(VPValue::VPVWidenSelectSC, &I), VPUser(Operands), in VPWidenSelectRecipe() [all …]
|
D | VPlan.cpp | 93 VPUser *VPRecipeBase::toVPUser() { in toVPUser() 1039 VPUser *User = Users[J]; in replaceAllUsesWith() 1067 void VPUser::printOperands(raw_ostream &O, VPSlotTracker &SlotTracker) const { in printOperands()
|
D | LoopVectorize.cpp | 484 void widenInstruction(Instruction &I, VPValue *Def, VPUser &Operands, 488 void widenCallInstruction(CallInst &I, VPValue *Def, VPUser &ArgOperands, 492 void widenSelectInstruction(SelectInst &I, VPValue *VPDef, VPUser &Operands, 508 void widenGEP(GetElementPtrInst *GEP, VPValue *VPDef, VPUser &Indices, 522 void scalarizeInstruction(Instruction *Instr, VPUser &Operands, 2838 void InnerLoopVectorizer::scalarizeInstruction(Instruction *Instr, VPUser &User, in scalarizeInstruction() 4514 VPUser &Operands, unsigned UF, in widenGEP() 4733 VPUser &User, in widenInstruction() 4841 VPUser &ArgOperands, in widenCallInstruction() 4911 VPUser &Operands, in widenSelectInstruction()
|
/external/llvm-project/llvm/unittests/Transforms/Vectorize/ |
D | VPlanTest.cpp | 364 EXPECT_TRUE(isa<VPUser>(&Recipe)); in TEST() 366 EXPECT_TRUE(isa<VPUser>(BaseR)); in TEST() 382 EXPECT_TRUE(isa<VPUser>(&WidenR)); in TEST() 384 EXPECT_TRUE(isa<VPUser>(WidenRBase)); in TEST() 401 EXPECT_TRUE(isa<VPUser>(&Recipe)); in TEST() 403 EXPECT_TRUE(isa<VPUser>(BaseR)); in TEST() 424 EXPECT_TRUE(isa<VPUser>(&WidenSelectR)); in TEST() 426 EXPECT_TRUE(isa<VPUser>(BaseR)); in TEST() 444 EXPECT_TRUE(isa<VPUser>(&Recipe)); in TEST() 446 EXPECT_TRUE(isa<VPUser>(BaseR)); in TEST() [all …]
|
/external/llvm-project/llvm/docs/Proposals/ |
D | VectorizationPlan.rst | 151 VPUser, but no operands. 153 :VPUser: 154 A VPUser represents an entity that uses a number of VPValues as operands. 155 VPUser is similar in some aspects to LLVM's User class. 163 A VPInstruction is both a VPRecipe and a VPUser. It models a single
|