Lines Matching defs:VPID
405 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, MASKPOS, VLENPOS) \
406 case Intrinsic::VPID: \
418 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, MASKPOS, VLENPOS) \
419 case Intrinsic::VPID: \
442 VPIntrinsic::getMemoryPointerParamPos(Intrinsic::ID VPID) {
443 switch (VPID) {
465 std::optional<unsigned> VPIntrinsic::getMemoryDataParamPos(Intrinsic::ID VPID) {
466 switch (VPID) {
480 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, MASKPOS, VLENPOS) \
481 case Intrinsic::VPID: \
498 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, ...) case Intrinsic::VPID:
500 #define END_REGISTER_VP_INTRINSIC(VPID) break;
517 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, ...) case Intrinsic::VPID:
519 #define END_REGISTER_VP_INTRINSIC(VPID) break;
534 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, ...) case Intrinsic::VPID:
536 #define END_REGISTER_VP_INTRINSIC(VPID) break;
544 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, ...) \
545 static_assert(doesVPHaveNoFunctionalEquivalent(Intrinsic::VPID) || \
546 getFunctionalOpcodeForVP(Intrinsic::VPID) || \
547 getFunctionalIntrinsicIDForVP(Intrinsic::VPID));
556 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, ...) case Intrinsic::VPID:
558 #define END_REGISTER_VP_INTRINSIC(VPID) break;
569 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, ...) break;
571 #define END_REGISTER_VP_INTRINSIC(VPID) return Intrinsic::VPID;
584 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, ...) break;
586 #define END_REGISTER_VP_INTRINSIC(VPID) return Intrinsic::VPID;
633 Module *M, Intrinsic::ID VPID, Type *ReturnType, ArrayRef<Value *> Params) {
634 assert(isVPIntrinsic(VPID) && "not a VP intrinsic");
636 switch (VPID) {
639 if (VPReductionIntrinsic::isVPReduction(VPID))
641 Params[*VPReductionIntrinsic::getVectorParamPos(VPID)]->getType();
643 VPFunc = Intrinsic::getOrInsertDeclaration(M, VPID, OverloadTy);
661 M, VPID, {ReturnType, Params[0]->getType()});
664 VPFunc = Intrinsic::getOrInsertDeclaration(M, VPID, {Params[0]->getType()});
668 VPFunc = Intrinsic::getOrInsertDeclaration(M, VPID, {Params[1]->getType()});
672 M, VPID, {ReturnType, Params[0]->getType()});
676 M, VPID, {ReturnType, Params[0]->getType(), Params[1]->getType()});
680 M, VPID, {ReturnType, Params[0]->getType()});
684 M, VPID, {Params[0]->getType(), Params[1]->getType()});
688 M, VPID,
693 M, VPID, {Params[0]->getType(), Params[1]->getType()});
696 VPFunc = Intrinsic::getOrInsertDeclaration(M, VPID, ReturnType);
747 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, ...) case Intrinsic::VPID:
749 #define END_REGISTER_VP_INTRINSIC(VPID) break;