Lines Matching defs:FI
122 /// FoldSelectOpOp - Here we have (select c, TI, FI), and we know that TI and FI
125 Instruction *FI) {
130 Type *FIOpndTy = FI->getOperand(0)->getType();
145 FI->getOperand(0), SI.getName()+".v");
157 if (TI->getOperand(0) == FI->getOperand(0)) {
160 OtherOpF = FI->getOperand(1);
162 } else if (TI->getOperand(1) == FI->getOperand(1)) {
165 OtherOpF = FI->getOperand(0);
169 } else if (TI->getOperand(0) == FI->getOperand(1)) {
172 OtherOpF = FI->getOperand(0);
174 } else if (TI->getOperand(1) == FI->getOperand(0)) {
177 OtherOpF = FI->getOperand(1);
867 if (Instruction *FI = dyn_cast<Instruction>(FalseVal))
868 if (TI->hasOneUse() && FI->hasOneUse()) {
872 if (TI->getOpcode() == FI->getOpcode())
873 if (Instruction *IV = FoldSelectOpOp(SI, TI, FI))
879 FI->getOpcode() == Instruction::Add) ||
881 FI->getOpcode() == Instruction::FAdd)) {
882 AddOp = FI; SubOp = TI;
883 } else if ((FI->getOpcode() == Instruction::Sub &&
885 (FI->getOpcode() == Instruction::FSub &&
887 AddOp = TI; SubOp = FI;