reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
366 if (llvm::any_of(VL, [](Value *V) { return !isa<Instruction>(V); })) 367 return InstructionsState(VL[BaseIndex], nullptr, nullptr); 369 bool IsCastOp = isa<CastInst>(VL[BaseIndex]); 370 bool IsBinOp = isa<BinaryOperator>(VL[BaseIndex]); 371 unsigned Opcode = cast<Instruction>(VL[BaseIndex])->getOpcode(); 377 for (int Cnt = 0, E = VL.size(); Cnt < E; Cnt++) { 378 unsigned InstOpcode = cast<Instruction>(VL[Cnt])->getOpcode(); 379 if (IsBinOp && isa<BinaryOperator>(VL[Cnt])) { 387 } else if (IsCastOp && isa<CastInst>(VL[Cnt])) { 388 Type *Ty0 = cast<Instruction>(VL[BaseIndex])->getOperand(0)->getType(); 389 Type *Ty1 = cast<Instruction>(VL[Cnt])->getOperand(0)->getType(); 401 return InstructionsState(VL[BaseIndex], nullptr, nullptr); 404 return InstructionsState(VL[BaseIndex], cast<Instruction>(VL[BaseIndex]), 404 return InstructionsState(VL[BaseIndex], cast<Instruction>(VL[BaseIndex]), 405 cast<Instruction>(VL[AltIndex]));