reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/CodeGen/CGExprComplex.cpp
  580     ResR = Builder.CreateFAdd(Op.LHS.first,  Op.RHS.first,  "add.r");
  581     if (Op.LHS.second && Op.RHS.second)
  582       ResI = Builder.CreateFAdd(Op.LHS.second, Op.RHS.second, "add.i");
  584       ResI = Op.LHS.second ? Op.LHS.second : Op.RHS.second;
  587     ResR = Builder.CreateAdd(Op.LHS.first,  Op.RHS.first,  "add.r");
  588     assert(Op.LHS.second && Op.RHS.second &&
  590     ResI = Builder.CreateAdd(Op.LHS.second, Op.RHS.second, "add.i");
  598     ResR = Builder.CreateFSub(Op.LHS.first, Op.RHS.first, "sub.r");
  599     if (Op.LHS.second && Op.RHS.second)
  600       ResI = Builder.CreateFSub(Op.LHS.second, Op.RHS.second, "sub.i");
  603                            : Builder.CreateFNeg(Op.RHS.second, "sub.i");
  606     ResR = Builder.CreateSub(Op.LHS.first, Op.RHS.first, "sub.r");
  607     assert(Op.LHS.second && Op.RHS.second &&
  609     ResI = Builder.CreateSub(Op.LHS.second, Op.RHS.second, "sub.i");
  622   Args.add(RValue::get(Op.RHS.first),
  624   Args.add(RValue::get(Op.RHS.second),
  690     if (Op.LHS.second && Op.RHS.second) {
  701       Value *AC = Builder.CreateFMul(Op.LHS.first, Op.RHS.first, "mul_ac");
  702       Value *BD = Builder.CreateFMul(Op.LHS.second, Op.RHS.second, "mul_bd");
  703       Value *AD = Builder.CreateFMul(Op.LHS.first, Op.RHS.second, "mul_ad");
  704       Value *BC = Builder.CreateFMul(Op.LHS.second, Op.RHS.first, "mul_bc");
  751     assert((Op.LHS.second || Op.RHS.second) &&
  757     ResR = Builder.CreateFMul(Op.LHS.first, Op.RHS.first, "mul.rl");
  760                ? Builder.CreateFMul(Op.LHS.second, Op.RHS.first, "mul.il")
  761                : Builder.CreateFMul(Op.LHS.first, Op.RHS.second, "mul.ir");
  763     assert(Op.LHS.second && Op.RHS.second &&
  765     Value *ResRl = Builder.CreateMul(Op.LHS.first, Op.RHS.first, "mul.rl");
  766     Value *ResRr = Builder.CreateMul(Op.LHS.second, Op.RHS.second, "mul.rr");
  769     Value *ResIl = Builder.CreateMul(Op.LHS.second, Op.RHS.first, "mul.il");
  770     Value *ResIr = Builder.CreateMul(Op.LHS.first, Op.RHS.second, "mul.ir");
  780   llvm::Value *RHSr = Op.RHS.first, *RHSi = Op.RHS.second;
  780   llvm::Value *RHSr = Op.RHS.first, *RHSi = Op.RHS.second;
  839     assert(Op.LHS.second && Op.RHS.second &&
  876     Ops.RHS = ComplexPairTy(CGF.EmitScalarExpr(E->getRHS()), nullptr);
  878     Ops.RHS = Visit(E->getRHS());
  908     OpInfo.RHS = ComplexPairTy(CGF.EmitScalarExpr(E->getRHS()), nullptr);
  912     OpInfo.RHS = Visit(E->getRHS());