Home
last modified time | relevance | path

Searched refs:imaginary (Results 1 – 25 of 26) sorted by relevance

12

/llvm-project-15.0.7/compiler-rt/lib/builtins/
H A Dint_types.h183 float real, imaginary; member
187 double real, imaginary; member
191 long double real, imaginary; member
195 #define COMPLEX_IMAGINARY(x) (x).imaginary
/llvm-project-15.0.7/mlir/lib/Conversion/ComplexToLLVM/
H A DComplexToLLVM.cpp44 Value imaginary) { in setImaginary() argument
45 setPtr(builder, loc, kImaginaryPosInComplexNumberStruct, imaginary); in setImaginary()
48 Value ComplexStructBuilder::imaginary(OpBuilder &builder, Location loc) { in imaginary() function in ComplexStructBuilder
68 Value imag = complexStruct.imaginary(rewriter, op.getLoc()); in matchAndRewrite()
133 Value imaginary = complexStruct.imaginary(rewriter, op.getLoc()); in matchAndRewrite() local
134 rewriter.replaceOp(op, imaginary); in matchAndRewrite()
155 unpacked.lhs.imag(lhs.imaginary(rewriter, loc)); in unpackBinaryComplexOperands()
158 unpacked.rhs.imag(rhs.imaginary(rewriter, loc)); in unpackBinaryComplexOperands()
/llvm-project-15.0.7/llvm/test/Analysis/LoopAccessAnalysis/
H A Dpr31098.ll11 ; dependence distances between the 8 real/imaginary accesses below:
26 ; Complex(float real, float imaginary) : real_(real), imaginary_(imaginary) { }
27 ; Complex(const Complex &rhs) : real_(rhs.real()), imaginary_(rhs.imaginary()) { }
30 ; inline float imaginary() const { return imaginary_; }
/llvm-project-15.0.7/llvm/test/Transforms/LoopVectorize/
H A Dpr31098.ll12 ; dependence distances between the 8 real/imaginary accesses below:
27 ; Complex(float real, float imaginary) : real_(real), imaginary_(imaginary) { }
28 ; Complex(const Complex &rhs) : real_(rhs.real()), imaginary_(rhs.imaginary()) { }
31 ; inline float imaginary() const { return imaginary_; }
H A Dinterleaved-accesses-1.ll21 ; Complex(float real, float imaginary) : real_(real), imaginary_(imaginary) { }
22 ; Complex(const Complex &rhs) : real_(rhs.real()), imaginary_(rhs.imaginary()) { }
25 ; inline float imaginary() const { return imaginary_; }
/llvm-project-15.0.7/mlir/include/mlir/Conversion/ComplexToLLVM/
H A DComplexToLLVM.h32 Value imaginary(OpBuilder &builder, Location loc);
34 void setImaginary(OpBuilder &builder, Location loc, Value imaginary);
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Complex/IR/
H A DComplexOps.td109 attribute containing the real and imaginary parts.
158 AllTypesMatch<["real", "imaginary"]>,
162 TypesMatchWith<"complex element type matches imaginary operand type",
163 "complex", "imaginary",
169 floating-point operands, the real and the imaginary part.
178 let arguments = (ins AnyFloat:$real, AnyFloat:$imaginary);
181 let assemblyFormat = "$real `,` $imaginary attr-dict `:` type($complex)";
278 "complex", "imaginary",
280 let summary = "extracts the imaginary part of a complex number";
282 The `im` op takes a single complex number and extracts the imaginary part.
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/SROA/
H A Dmem-par-metadata-sroa.ll13 ; Complex(float real, float imaginary) : real_(real), imaginary_(imaginary) { }
14 ; Complex(const Complex &rhs) : real_(rhs.real()), imaginary_(rhs.imaginary()) { }
17 ; inline float imaginary() const { return imaginary_; }
/llvm-project-15.0.7/llvm/test/MC/Disassembler/Hexagon/
H A Dxtype_complex.txt46 # Complex multiply real or imaginary
76 # Vector complex multiply real or imaginary
98 # Vector reduce complex multiply real or imaginary
/llvm-project-15.0.7/clang/include/clang/AST/
H A DOperationKinds.def269 /// component with a zero imaginary component.
274 /// of the source's element type. Just discards the imaginary
293 /// the real component with a zero imaginary component.
298 /// source's element type by discarding the imaginary component.
/llvm-project-15.0.7/llvm/test/CodeGen/Generic/MIRDebugify/
H A Dlocations-and-values.mir38 ; There's no attempt to have the locations make sense as it's an imaginary
/llvm-project-15.0.7/llvm/test/CodeGen/RISCV/
H A Drv64i-complex-float.ll6 ; cleared upper bits by shifts to avoid corrupting the imaginary part.
/llvm-project-15.0.7/llvm/test/CodeGen/Hexagon/intrinsics/
H A Dxtype_complex.ll136 ; Complex multiply real or imaginary
223 ; Vector complex multiply real or imaginary
282 ; Vector reduce complex multiply real or imaginary
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dtools.cpp210 Expr<SomeType> &&imaginary, int defaultRealKind) { in ConstructComplex() argument
212 messages, std::move(real), std::move(imaginary), defaultRealKind)}) { in ConstructComplex()
224 std::optional<Expr<SomeType>> &&imaginary, int defaultRealKind) { in ConstructComplex() argument
225 if (auto parts{common::AllPresent(std::move(real), std::move(imaginary))}) { in ConstructComplex()
/llvm-project-15.0.7/llvm/docs/GlobalISel/
H A DPipeline.rst134 It's possible to create an imaginary target such as in `LegalizerHelperTest.cpp <https://github.com…
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DDiagnosticASTKinds.td104 "access real component of|access imaginary component of}0 "
112 "access imaginary component of}0 null pointer">;
H A DDiagnosticGroups.td421 def GNUImaginaryConstant : DiagGroup<"gnu-imaginary-constant">;
/llvm-project-15.0.7/flang/include/flang/Optimizer/Dialect/
H A DFIRTypes.td145 parameter. COMPLEX is a floating point type with a real and imaginary
H A DFIROps.td2450 static constexpr llvm::StringRef getImagAttrName() { return "imaginary"; }
/llvm-project-15.0.7/lldb/docs/use/
H A Dvariable.rst270 … | F | interpret this value as the real and imaginary part of a comple…
312 … | I | interpret this value as the real and imaginary part of a comple…
/llvm-project-15.0.7/mlir/docs/
H A DBufferDeallocationInternals.md374 Consider the following inner-region control-flow sample that uses an imaginary
H A DTargetLLVMIR.md62 - imaginary part.
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DBuiltinTypes.td47 element type, which is composed of a real and imaginary value of that
/llvm-project-15.0.7/clang/include/clang/Tooling/Inclusions/
H A DCSymbolMap.inc526 SYMBOL(imaginary, None, <complex.h>)
/llvm-project-15.0.7/clang/docs/
H A DLanguageExtensions.rst1985 real and imaginary parts of a complex variable in standard C, given that clang
2003 construct a complex number from the given real and imaginary components.

12