Lines Matching refs:Complex
20 ; class Complex {
26 ; Complex() : real_(0), imaginary_(0) { }
27 ; Complex(float real, float imaginary) : real_(real), imaginary_(imaginary) { }
28 ; Complex(const Complex &rhs) : real_(rhs.real()), imaginary_(rhs.imaginary()) { }
33 ; Complex operator+(const Complex& rhs) const
35 ; return Complex(real_ + rhs.real_, imaginary_ + rhs.imaginary_);
38 ; Complex operator-(const Complex& rhs) const
40 ; return Complex(real_ - rhs.real_, imaginary_ - rhs.imaginary_);
44 ; void Test(Complex *out, size_t size)
49 ; Complex t0 = out[offset];
50 ; Complex t1 = out[offset + D];
61 %class.Complex = type { float, float }
80 %0 = getelementptr inbounds %class.Complex, ptr %out, i64 %offset.048, i32 0
82 %imaginary_.i.i = getelementptr inbounds %class.Complex, ptr %out, i64 %offset.048, i32 1
85 %3 = getelementptr inbounds %class.Complex, ptr %out, i64 %add, i32 0
87 %imaginary_.i.i28 = getelementptr inbounds %class.Complex, ptr %out, i64 %add, i32 1