Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:Opnd0

172     Value *createFSub(Value *Opnd0, Value *Opnd1);
173 Value *createFAdd(Value *Opnd0, Value *Opnd1);
174 Value *createFMul(Value *Opnd0, Value *Opnd1);
175 Value *createFDiv(Value *Opnd0, Value *Opnd1);
359 Value *Opnd0 = I->getOperand(0);
361 if ((C0 = dyn_cast<ConstantFP>(Opnd0)) && C0->isZero())
362 Opnd0 = 0;
367 if (Opnd0) {
369 Addend0.set(1, Opnd0);
375 FAddend &Addend = Opnd0 ? Addend1 : Addend0;
384 if (Opnd0 || Opnd1)
385 return Opnd0 && Opnd1 ? 2 : 1;
515 FAddend Opnd0, Opnd1, Opnd0_0, Opnd0_1, Opnd1_0, Opnd1_1;
517 unsigned OpndNum = FAddend::drillValueDownOneStep(I, Opnd0, Opnd1);
523 if (!Opnd0.isConstant())
524 Opnd0_ExpNum = Opnd0.drillAddendDownOneStep(Opnd0_0, Opnd0_1);
557 const FAddendCoef &CE = Opnd0.getCoef();
558 return CE.isOne() ? Opnd0.getSymVal() : 0;
561 // step 4: Try to optimize Opnd0 + Opnd1_0 [+ Opnd1_1]
564 AllOpnds.push_back(&Opnd0);
740 (Value *Opnd0, Value *Opnd1) {
741 Value *V = Builder->CreateFSub(Opnd0, Opnd1);
753 (Value *Opnd0, Value *Opnd1) {
754 Value *V = Builder->CreateFAdd(Opnd0, Opnd1);
760 Value *FAddCombine::createFMul(Value *Opnd0, Value *Opnd1) {
761 Value *V = Builder->CreateFMul(Opnd0, Opnd1);
767 Value *FAddCombine::createFDiv(Value *Opnd0, Value *Opnd1) {
768 Value *V = Builder->CreateFDiv(Opnd0, Opnd1);