Home | History | Annotate | Download | only in InstCombine

Lines Matching full:instruction

24 Instruction *InstCombiner::FoldPHIArgBinOpIntoPHI(PHINode &PN) {
25 Instruction *FirstInst = cast<Instruction>(PN.getIncomingValue(0));
45 Instruction *I = dyn_cast<Instruction>(PN.getIncomingValue(i));
101 Instruction *InInst = cast<Instruction>(PN.getIncomingValue(i));
130 Instruction *InstCombiner::FoldPHIArgGEPIntoPHI(PHINode &PN) {
287 Instruction *InstCombiner::FoldPHIArgLoadIntoPHI(PHINode &PN) {
391 Instruction *InstCombiner::FoldPHIArgOpIntoPHI(PHINode &PN) {
392 Instruction *FirstInst = cast<Instruction>(PN.getIncomingValue(0));
399 // Scan the instruction, looking for input operations that can be folded away.
400 // If all input operands to the phi are the same instruction (e.g. a cast from
436 Instruction *I = dyn_cast<Instruction>(PN.getIncomingValue(i));
465 Value *NewInVal = cast<Instruction>(PN.getIncomingValue(i))->getOperand(0);
559 Instruction *Inst; // The trunc instruction.
561 PHIUsageRecord(unsigned pn, unsigned Sh, Instruction *User)
620 Instruction *InstCombiner::SliceUpIllegalIntegerPHI(PHINode &FirstPhi) {
657 Instruction *User = cast<Instruction>(*UI);
673 if (User->getOpcode() != Instruction::LShr ||
769 cast<Instruction>(Res)));
794 Instruction *InstCombiner::visitPHINode(PHINode &PN) {
800 if (isa<Instruction>(PN.getIncomingValue(0)) &&
801 isa<Instruction>(PN.getIncomingValue(1)) &&
802 cast<Instruction>(PN.getIncomingValue(0))->getOpcode() ==
803 cast<Instruction>(PN.getIncomingValue(1))->getOpcode() &&
807 if (Instruction *Result = FoldPHIArgOpIntoPHI(PN))
814 Instruction *PHIUser = cast<Instruction>(PN.use_back());
888 // modified any of the operands of an instruction. However, since we
900 if (Instruction *Res = SliceUpIllegalIntegerPHI(PN))