Searched refs:getIfConst (Results 1 – 1 of 1) sorted by relevance
100 std::optional<int64_t> getIfConst(const Value *V);337 std::optional<int64_t> MVEGatherScatterLowering::getIfConst(const Value *V) { in getIfConst() function in MVEGatherScatterLowering348 std::optional<int64_t> Op0 = getIfConst(I->getOperand(0)); in getIfConst()349 std::optional<int64_t> Op1 = getIfConst(I->getOperand(1)); in getIfConst()385 if ((Const = getIfConst(Add->getOperand(0)))) in getVarAndConst()387 else if ((Const = getIfConst(Add->getOperand(1)))) in getVarAndConst()