Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/VE/
H A DVVPISelLowering.cpp44 unsigned VVPOpcode = VVPOpcodeOpt.value(); in lowerToVVP() local
50 switch (VVPOpcode) { in lowerToVVP()
83 if (isVVPUnaryOp(VVPOpcode)) 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, LegalVecVT, {X, Y, Z, Mask, AVL}); in lowerToVVP()
111 return CDAG.getNode(VVPOpcode, LegalVecVT, {OnTrue, OnFalse, Mask, AVL}); 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,