Home
last modified time | relevance | path

Searched refs:VVPOpcode (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVVPISelLowering.cpp44 unsigned VVPOpcode = *VVPOpcodeOpt; in lowerToVVP() local
50 switch (VVPOpcode) { in lowerToVVP()
83 if (isVVPUnaryOp(VVPOpcode)) in lowerToVVP()
84 return CDAG.getNode(VVPOpcode, LegalVecVT, {Op->getOperand(0), Mask, AVL}); in lowerToVVP()
85 if (isVVPBinaryOp(VVPOpcode)) in lowerToVVP()
86 return CDAG.getNode(VVPOpcode, LegalVecVT, in lowerToVVP()
88 if (isVVPReductionOp(VVPOpcode)) { in lowerToVVP()
92 return CDAG.getLegalReductionOpVVP(VVPOpcode, Op.getValueType(), StartV, in lowerToVVP()
96 switch (VVPOpcode) { in lowerToVVP()
105 return CDAG.getNode(VVPOpcode, LegalVecV in lowerToVVP()
[all...]
H A DVECustomDAG.cpp136 bool isVVPUnaryOp(unsigned VVPOpcode) { in isVVPUnaryOp() argument
137 switch (VVPOpcode) { in isVVPUnaryOp()
146 bool isVVPBinaryOp(unsigned VVPOpcode) { in isVVPBinaryOp() argument
147 switch (VVPOpcode) { in isVVPBinaryOp()
562 SDValue VECustomDAG::getLegalReductionOpVVP(unsigned VVPOpcode, EVT ResVT, in getLegalReductionOpVVP() argument
569 bool scalarizeStartParam = StartV && !hasReductionStartParam(VVPOpcode); in getLegalReductionOpVVP()
575 auto ScalarOC = getScalarReductionOpcode(VVPOpcode, IsMaskReduction); in getLegalReductionOpVVP()
581 assert(hasReductionStartParam(VVPOpcode)); in getLegalReductionOpVVP()
583 getNode(VVPOpcode, ResVT, {StartV, VectorV, Mask, AVL}, Flags)); in getLegalReductionOpVVP()
586 getNode(VVPOpcode, ResVT, {VectorV, Mask, AVL}, Flags)); in getLegalReductionOpVVP()
H A DVECustomDAG.h184 SDValue getLegalReductionOpVVP(unsigned VVPOpcode, EVT ResVT, SDValue StartV,