Lines Matching refs:BaseIndex
476 unsigned BaseIndex = 0);
494 unsigned BaseIndex) { in getSameOpcode() argument
497 return InstructionsState(VL[BaseIndex], nullptr, nullptr); in getSameOpcode()
499 bool IsCastOp = isa<CastInst>(VL[BaseIndex]); in getSameOpcode()
500 bool IsBinOp = isa<BinaryOperator>(VL[BaseIndex]); in getSameOpcode()
501 bool IsCmpOp = isa<CmpInst>(VL[BaseIndex]); in getSameOpcode()
503 IsCmpOp ? cast<CmpInst>(VL[BaseIndex])->getPredicate() in getSameOpcode()
505 unsigned Opcode = cast<Instruction>(VL[BaseIndex])->getOpcode(); in getSameOpcode()
507 unsigned AltIndex = BaseIndex; in getSameOpcode()
523 Type *Ty0 = cast<Instruction>(VL[BaseIndex])->getOperand(0)->getType(); in getSameOpcode()
538 auto *BaseInst = cast<Instruction>(VL[BaseIndex]); in getSameOpcode()
575 if (BaseIndex == AltIndex && BasePred != CurrentPred) { in getSameOpcode()
590 return InstructionsState(VL[BaseIndex], nullptr, nullptr); in getSameOpcode()
593 return InstructionsState(VL[BaseIndex], cast<Instruction>(VL[BaseIndex]), in getSameOpcode()