Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVGatherScatterLowering.cpp453 PHINode *BasePhi; in determineBaseAndStride() local
454 if (!matchStridedRecurrence(VecIndex, L, Stride, BasePhi, Inc, Builder)) in determineBaseAndStride()
457 assert(BasePhi->getNumIncomingValues() == 2 && "Expected 2 operand phi."); in determineBaseAndStride()
458 unsigned IncrementingBlock = BasePhi->getOperand(0) == Inc ? 0 : 1; in determineBaseAndStride()
459 assert(BasePhi->getIncomingValue(IncrementingBlock) == Inc && in determineBaseAndStride()
465 Ops[*VecOperand] = BasePhi; in determineBaseAndStride()
472 BasePhi->getIncomingBlock(1 - IncrementingBlock)->getTerminator()); in determineBaseAndStride()