Home
last modified time | relevance | path

Searched refs:VPInstruction (Results 1 – 8 of 8) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
DVPlanSLP.cpp50 VPInstruction *VPlanSlp::markFailed() { in markFailed()
57 void VPlanSlp::addCombined(ArrayRef<VPValue *> Operands, VPInstruction *New) { in addCombined()
59 return cast<VPInstruction>(V)->getUnderlyingInstr(); in addCombined()
63 Type *T = cast<VPInstruction>(V)->getUnderlyingInstr()->getType(); in addCombined()
79 return Op && isa<VPInstruction>(Op) && in areVectorizable()
80 cast<VPInstruction>(Op)->getUnderlyingInstr(); in areVectorizable()
91 cast<VPInstruction>(Operands[0])->getUnderlyingInstr(); in areVectorizable()
95 const Instruction *I = cast<VPInstruction>(Op)->getUnderlyingInstr(); in areVectorizable()
105 return cast<VPInstruction>(Op)->getParent() != &this->BB; in areVectorizable()
123 VPBasicBlock *Parent = cast<VPInstruction>(Operands[0])->getParent(); in areVectorizable()
[all …]
DLoopVectorizationPlanner.h47 VPInstruction *createInstruction(unsigned Opcode, in createInstruction()
49 VPInstruction *Instr = new VPInstruction(Opcode, Operands); in createInstruction()
55 VPInstruction *createInstruction(unsigned Opcode, in createInstruction()
117 VPInstruction *insert(VPInstruction *I) const { in insert()
126 VPInstruction *NewVPInst = createInstruction(Opcode, Operands);
137 return createInstruction(VPInstruction::Not, {Operand}); in createNot()
DVPlan.cpp55 const VPInstruction *Instr = dyn_cast<VPInstruction>(&V); in operator <<()
418 if (const auto *PredInst = dyn_cast<VPInstruction>(Pred)) in print()
434 if (const auto *CBI = dyn_cast<VPInstruction>(CBV)) in print()
642 void VPInstruction::generateInstruction(VPTransformState &State, in generateInstruction()
655 case VPInstruction::Not: { in generateInstruction()
661 case VPInstruction::ICmpULE: { in generateInstruction()
676 case VPInstruction::ActiveLaneMask: { in generateInstruction()
690 case VPInstruction::FirstOrderRecurrenceSplice: { in generateInstruction()
719 void VPInstruction::execute(VPTransformState &State) { in execute()
726 void VPInstruction::dump() const { in dump()
[all …]
DVPlan.h773 class VPInstruction : public VPRecipeBase, public VPValue {
801 VPInstruction(unsigned Opcode, ArrayRef<VPValue *> Operands) in VPInstruction() function
805 VPInstruction(unsigned Opcode, ArrayRef<VPInstruction *> Operands) in VPInstruction() function
812 VPInstruction(unsigned Opcode, std::initializer_list<VPValue *> Operands) in VPInstruction() function
813 : VPInstruction(Opcode, ArrayRef<VPValue *>(Operands)) {} in VPInstruction()
820 VPInstruction *clone() const { in clone()
822 return new VPInstruction(Opcode, Operands); in clone()
2403 DenseMap<VPInstruction *, InterleaveGroup<VPInstruction> *>
2409 InterleaveGroup<VPInstruction> *>;
2424 SmallPtrSet<InterleaveGroup<VPInstruction> *, 4> DelSet;
[all …]
DVPlanHCFGBuilder.cpp232 NewVPV = cast<VPInstruction>( in createVPInstructionsForVPBB()
DVPlanValue.h47 friend class VPInstruction; variable
DVPlanTransforms.cpp58 assert(isa<VPInstruction>(Ingredient) && in VPInstructionsToVPRecipes()
DLoopVectorize.cpp8679 BlockMask = Builder.createNaryOp(VPInstruction::ActiveLaneMask, {IV}); in createBlockInMask()
8681 BlockMask = Builder.createNaryOp(VPInstruction::ICmpULE, {IV, BTC}); in createBlockInMask()
9380 auto *RecurSplice = cast<VPInstruction>( in buildVPlanWithVPRecipes()
9381 Builder.createNaryOp(VPInstruction::FirstOrderRecurrenceSplice, in buildVPlanWithVPRecipes()