Home
last modified time | relevance | path

Searched refs:getVectorParamPos (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/IR/
H A DVPIntrinsicTest.cpp410 EXPECT_EQ(VPReductionIntrinsic::getVectorParamPos(ID).has_value(), false); in TEST_F()
415 EXPECT_EQ(VPReductionIntrinsic::getVectorParamPos(ID).has_value(), true); in TEST_F()
419 EXPECT_EQ(VPReductionIntrinsic::getVectorParamPos(ID), in TEST_F()
420 VPRedI->getVectorParamPos()); in TEST_F()
422 EXPECT_EQ(VPRedI->getVectorParamPos(), 1u); in TEST_F()
/llvm-project-15.0.7/llvm/lib/IR/
H A DIntrinsicInst.cpp532 Params[*VPReductionIntrinsic::getVectorParamPos(VPID)]->getType(); in getDeclarationForParams()
658 unsigned VPReductionIntrinsic::getVectorParamPos() const { in getVectorParamPos() function in VPReductionIntrinsic
659 return *VPReductionIntrinsic::getVectorParamPos(getIntrinsicID()); in getVectorParamPos()
666 Optional<unsigned> VPReductionIntrinsic::getVectorParamPos(Intrinsic::ID ID) { in getVectorParamPos() function in VPReductionIntrinsic
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DIntrinsicInst.h464 unsigned getVectorParamPos() const;
467 static Optional<unsigned> getVectorParamPos(Intrinsic::ID ID);
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DExpandVectorPredication.cpp320 Value *RedOp = VPI.getOperand(VPI.getVectorParamPos()); in expandPredicationInReduction()