Lines Matching defs:VPID

432 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, MASKPOS, VLENPOS)                    \
433 case Intrinsic::VPID: \
445 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, MASKPOS, VLENPOS) \
446 case Intrinsic::VPID: \
469 VPIntrinsic::getMemoryPointerParamPos(Intrinsic::ID VPID) {
470 switch (VPID) {
473 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, ...) case Intrinsic::VPID:
475 #define END_REGISTER_VP_INTRINSIC(VPID) break;
489 std::optional<unsigned> VPIntrinsic::getMemoryDataParamPos(Intrinsic::ID VPID) {
490 switch (VPID) {
493 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, ...) case Intrinsic::VPID:
495 #define END_REGISTER_VP_INTRINSIC(VPID) break;
505 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, MASKPOS, VLENPOS) \
506 case Intrinsic::VPID: \
523 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, ...) case Intrinsic::VPID:
525 #define END_REGISTER_VP_INTRINSIC(VPID) break;
542 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, ...) case Intrinsic::VPID:
544 #define END_REGISTER_VP_INTRINSIC(VPID) break;
559 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, ...) case Intrinsic::VPID:
561 #define END_REGISTER_VP_INTRINSIC(VPID) break;
569 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, ...) \
570 static_assert(doesVPHaveNoFunctionalEquivalent(Intrinsic::VPID) || \
571 getFunctionalOpcodeForVP(Intrinsic::VPID) || \
572 getFunctionalIntrinsicIDForVP(Intrinsic::VPID));
581 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, ...) case Intrinsic::VPID:
583 #define END_REGISTER_VP_INTRINSIC(VPID) break;
594 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, ...) break;
596 #define END_REGISTER_VP_INTRINSIC(VPID) return Intrinsic::VPID;
609 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, ...) break;
611 #define END_REGISTER_VP_INTRINSIC(VPID) return Intrinsic::VPID;
657 Function *VPIntrinsic::getDeclarationForParams(Module *M, Intrinsic::ID VPID,
660 assert(isVPIntrinsic(VPID) && "not a VP intrinsic");
662 switch (VPID) {
665 if (VPReductionIntrinsic::isVPReduction(VPID))
667 Params[*VPReductionIntrinsic::getVectorParamPos(VPID)]->getType();
669 VPFunc = Intrinsic::getDeclaration(M, VPID, OverloadTy);
687 Intrinsic::getDeclaration(M, VPID, {ReturnType, Params[0]->getType()});
690 VPFunc = Intrinsic::getDeclaration(M, VPID, {Params[0]->getType()});
694 VPFunc = Intrinsic::getDeclaration(M, VPID, {Params[1]->getType()});
698 M, VPID, {ReturnType, Params[0]->getType()});
702 M, VPID, {ReturnType, Params[0]->getType(), Params[1]->getType()});
706 M, VPID, {ReturnType, Params[0]->getType()});
710 M, VPID, {Params[0]->getType(), Params[1]->getType()});
714 M, VPID,
719 M, VPID, {Params[0]->getType(), Params[1]->getType()});
722 VPFunc = Intrinsic::getDeclaration(M, VPID, ReturnType);
733 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, ...) case Intrinsic::VPID:
735 #define END_REGISTER_VP_INTRINSIC(VPID) break;
745 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, ...) case Intrinsic::VPID:
747 #define END_REGISTER_VP_INTRINSIC(VPID) break;
757 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, ...) case Intrinsic::VPID:
759 #define END_REGISTER_VP_INTRINSIC(VPID) break;
769 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, ...) case Intrinsic::VPID:
771 #define END_REGISTER_VP_INTRINSIC(VPID) break;
801 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, ...) case Intrinsic::VPID:
806 #define END_REGISTER_VP_INTRINSIC(VPID) break;
825 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, ...) case Intrinsic::VPID:
827 #define END_REGISTER_VP_INTRINSIC(VPID) break;
838 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, ...) case Intrinsic::VPID:
840 #define END_REGISTER_VP_INTRINSIC(VPID) break;