Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/IR/
H A DIntrinsicInst.cpp411 switch (VPID) { in getMemoryPointerParamPos()
414 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, ...) case Intrinsic::VPID: in getMemoryPointerParamPos() argument
431 switch (VPID) { in getMemoryDataParamPos()
434 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, ...) case Intrinsic::VPID: in getMemoryDataParamPos() argument
459 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, ...) case Intrinsic::VPID: in getFunctionalOpcodeForVP() argument
474 #define END_REGISTER_VP_INTRINSIC(VPID) return Intrinsic::VPID; in getForOpcode() argument
527 switch (VPID) { in getDeclarationForParams()
573 M, VPID, in getDeclarationForParams()
589 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, ...) case Intrinsic::VPID: in isVPReduction() argument
601 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, ...) case Intrinsic::VPID: in isVPCast() argument
[all …]
H A DVectorBuilder.cpp59 auto VPID = VPIntrinsic::getForOpcode(Opcode); in createVectorInstruction() local
60 if (VPID == Intrinsic::not_intrinsic) in createVectorInstruction()
63 auto MaskPosOpt = VPIntrinsic::getMaskParamPos(VPID); in createVectorInstruction()
64 auto VLenPosOpt = VPIntrinsic::getVectorLengthParamPos(VPID); in createVectorInstruction()
98 auto *VPDecl = VPIntrinsic::getDeclarationForParams(&getModule(), VPID, in createVectorInstruction()
H A DVerifier.cpp4950 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, ...) case Intrinsic::VPID: in visitIntrinsicCall() argument
/llvm-project-15.0.7/llvm/unittests/IR/
H A DVPIntrinsicTest.cpp130 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, ...) \ in TEST_F() argument
132 ScopeVPID = Intrinsic::VPID; in TEST_F()
133 #define END_REGISTER_VP_INTRINSIC(VPID) \ in TEST_F() argument
135 ASSERT_EQ(ScopeVPID.value(), Intrinsic::VPID); \ in TEST_F()
170 ASSERT_TRUE(SeenIDs.count(Intrinsic::VPID)); in TEST_F()
265 Intrinsic::ID VPID = VPIntrinsic::getForOpcode(OC); in TEST_F() local
267 if (VPID == Intrinsic::not_intrinsic) in TEST_F()
271 VPIntrinsic::getFunctionalOpcodeForVP(VPID); in TEST_F()
290 auto VPID = VPDecl.getIntrinsicID(); in TEST_F() local
291 Optional<unsigned> OC = VPIntrinsic::getFunctionalOpcodeForVP(VPID); in TEST_F()
[all …]
H A DVectorBuilderTest.cpp65 auto VPID = VPIntrinsic::getForOpcode(Instruction::OPCODE); \ in TEST_F()
73 ASSERT_EQ(VPIntrin->getIntrinsicID(), VPID); \ in TEST_F()
115 auto VPID = VPIntrinsic::getForOpcode(Instruction::OPCODE); \ in TEST_F()
123 ASSERT_EQ(VPIntrin->getIntrinsicID(), VPID); \ in TEST_F()
161 auto VPID = VPIntrinsic::getForOpcode(Instruction::OPCODE); \ in TEST_F()
169 ASSERT_EQ(VPIntrin->getIntrinsicID(), VPID); \ in TEST_F()
196 auto VPID = VPIntrinsic::getForOpcode(Instruction::OPCODE); \ in TEST_F()
204 ASSERT_EQ(VPIntrin->getIntrinsicID(), VPID); \ in TEST_F()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DVPIntrinsics.def23 // \p VPID The VP intrinsic id.
27 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, MASKPOS, EVLPOS)
32 #define END_REGISTER_VP_INTRINSIC(VPID)
60 #define HELPER_MAP_VPID_TO_VPSD(VPID, VPSD)
69 // \p VPID The canonical name (eg `vp_add`, which at the same time is the
77 #define BEGIN_REGISTER_VP(VPID, MASKPOS, EVLPOS, VPSD, LEGALPOS) \
78 BEGIN_REGISTER_VP_INTRINSIC(VPID, MASKPOS, EVLPOS) \
80 HELPER_MAP_VPID_TO_VPSD(VPID, VPSD)
156 END_REGISTER_VP(VPID, VPSD)
401 END_REGISTER_VP(VPID, VPSD)
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorOps.cpp460 #define BEGIN_REGISTER_VP_SDNODE(VPID, LEGALPOS, ...) \ in LegalizeOp() argument
461 case ISD::VPID: { \ in LegalizeOp()
464 if (ISD::VPID == ISD::VP_SETCC) { \ in LegalizeOp()
H A DSelectionDAGBuilder.cpp6353 #define BEGIN_REGISTER_VP_INTRINSIC(VPID, ...) case Intrinsic::VPID: in visitIntrinsicCall() argument
7370 #define HELPER_MAP_VPID_TO_VPSD(VPID, VPSD) \ in getISDForVPIntrinsic() argument
7371 case Intrinsic::VPID: \ in getISDForVPIntrinsic()