Lines Matching refs:LHS
214 ComplexPairTy LHS; member
529 if (Op.LHS.first->getType()->isFloatingPointTy()) { in EmitBinAdd()
530 ResR = Builder.CreateFAdd(Op.LHS.first, Op.RHS.first, "add.r"); in EmitBinAdd()
531 ResI = Builder.CreateFAdd(Op.LHS.second, Op.RHS.second, "add.i"); in EmitBinAdd()
533 ResR = Builder.CreateAdd(Op.LHS.first, Op.RHS.first, "add.r"); in EmitBinAdd()
534 ResI = Builder.CreateAdd(Op.LHS.second, Op.RHS.second, "add.i"); in EmitBinAdd()
541 if (Op.LHS.first->getType()->isFloatingPointTy()) { in EmitBinSub()
542 ResR = Builder.CreateFSub(Op.LHS.first, Op.RHS.first, "sub.r"); in EmitBinSub()
543 ResI = Builder.CreateFSub(Op.LHS.second, Op.RHS.second, "sub.i"); in EmitBinSub()
545 ResR = Builder.CreateSub(Op.LHS.first, Op.RHS.first, "sub.r"); in EmitBinSub()
546 ResI = Builder.CreateSub(Op.LHS.second, Op.RHS.second, "sub.i"); in EmitBinSub()
556 if (Op.LHS.first->getType()->isFloatingPointTy()) { in EmitBinMul()
557 Value *ResRl = Builder.CreateFMul(Op.LHS.first, Op.RHS.first, "mul.rl"); in EmitBinMul()
558 Value *ResRr = Builder.CreateFMul(Op.LHS.second, Op.RHS.second,"mul.rr"); in EmitBinMul()
561 Value *ResIl = Builder.CreateFMul(Op.LHS.second, Op.RHS.first, "mul.il"); in EmitBinMul()
562 Value *ResIr = Builder.CreateFMul(Op.LHS.first, Op.RHS.second, "mul.ir"); in EmitBinMul()
565 Value *ResRl = Builder.CreateMul(Op.LHS.first, Op.RHS.first, "mul.rl"); in EmitBinMul()
566 Value *ResRr = Builder.CreateMul(Op.LHS.second, Op.RHS.second,"mul.rr"); in EmitBinMul()
569 Value *ResIl = Builder.CreateMul(Op.LHS.second, Op.RHS.first, "mul.il"); in EmitBinMul()
570 Value *ResIr = Builder.CreateMul(Op.LHS.first, Op.RHS.second, "mul.ir"); in EmitBinMul()
577 llvm::Value *LHSr = Op.LHS.first, *LHSi = Op.LHS.second; in EmitBinDiv()
582 if (Op.LHS.first->getType()->isFloatingPointTy()) { in EmitBinDiv()
629 Ops.LHS = Visit(E->getLHS()); in EmitBinOps()
657 LValue LHS = CGF.EmitLValue(E->getLHS()); in EmitCompoundAssignLValue() local
661 ComplexPairTy LHSVal = EmitLoadOfLValue(LHS, E->getExprLoc()); in EmitCompoundAssignLValue()
662 OpInfo.LHS = EmitComplexToComplexCast(LHSVal, LHSTy, OpInfo.Ty); in EmitCompoundAssignLValue()
664 llvm::Value *LHSVal = CGF.EmitLoadOfScalar(LHS, E->getExprLoc()); in EmitCompoundAssignLValue()
665 OpInfo.LHS = EmitScalarToComplexCast(LHSVal, LHSTy, OpInfo.Ty); in EmitCompoundAssignLValue()
674 EmitStoreOfComplex(ResVal, LHS, /*isInit*/ false); in EmitCompoundAssignLValue()
679 CGF.EmitStoreOfScalar(ResVal, LHS, /*isInit*/ false); in EmitCompoundAssignLValue()
683 return LHS; in EmitCompoundAssignLValue()
716 LValue LHS = CGF.EmitLValue(E->getLHS()); in EmitBinAssignLValue() local
719 EmitStoreOfComplex(Val, LHS, /*isInit*/ false); in EmitBinAssignLValue()
721 return LHS; in EmitBinAssignLValue()
762 ComplexPairTy LHS = Visit(E->getTrueExpr()); in VisitAbstractConditionalOperator() local
775 llvm::PHINode *RealPN = Builder.CreatePHI(LHS.first->getType(), 2, "cond.r"); in VisitAbstractConditionalOperator()
776 RealPN->addIncoming(LHS.first, LHSBlock); in VisitAbstractConditionalOperator()
780 llvm::PHINode *ImagPN = Builder.CreatePHI(LHS.first->getType(), 2, "cond.i"); in VisitAbstractConditionalOperator()
781 ImagPN->addIncoming(LHS.second, LHSBlock); in VisitAbstractConditionalOperator()