Home
last modified time | relevance | path

Searched refs:getComplex (Results 1 – 20 of 20) sorted by relevance

/llvm-project/mlir/lib/Conversion/ComplexToStandard/
H A DComplexToStandard.cpp85 Value real = b.create<complex::ReOp>(adaptor.getComplex()); in matchAndRewrite()
86 Value imag = b.create<complex::ImOp>(adaptor.getComplex()); in matchAndRewrite()
204 auto type = cast<ComplexType>(adaptor.getComplex().getType()); in matchAndRewrite()
209 rewriter.create<complex::ReOp>(loc, elementType, adaptor.getComplex()); in matchAndRewrite()
211 rewriter.create<complex::ImOp>(loc, elementType, adaptor.getComplex()); in matchAndRewrite()
501 auto type = cast<ComplexType>(adaptor.getComplex().getType()); in matchAndRewrite()
506 rewriter.create<complex::ReOp>(loc, elementType, adaptor.getComplex()); in matchAndRewrite()
508 rewriter.create<complex::ImOp>(loc, elementType, adaptor.getComplex()); in matchAndRewrite()
553 Value real = b.create<complex::ReOp>(adaptor.getComplex()); in matchAndRewrite()
554 Value imag = b.create<complex::ImOp>(adaptor.getComplex()); in matchAndRewrite()
[all...]
/llvm-project/clang/test/CodeGen/
H A Dconditional-gnu-ext.c21 _Complex int getComplex(_Complex int val) { in getComplex() function
32 return getComplex(1+2i) ? : rhs; in complx()
/llvm-project/clang/test/CodeGenCXX/
H A Dconditional-gnu-ext.cpp25 _Complex int getComplex(_Complex int val) { in getComplex() function
36 return getComplex(1+2i) ? : rhs; in cmplx()
/llvm-project/mlir/lib/Conversion/ComplexToSPIRV/
H A DComplexToSPIRV.cpp78 reOp, adaptor.getComplex(), llvm::ArrayRef(0)); in matchAndRewrite()
94 imOp, adaptor.getComplex(), llvm::ArrayRef(1)); in matchAndRewrite()
/llvm-project/mlir/lib/Dialect/Complex/IR/
H A DComplexOps.cpp195 llvm::dyn_cast_if_present<ArrayAttr>(adaptor.getComplex()); in fold()
214 auto createOp = negOp.getComplex().template getDefiningOp<CreateOp>(); in matchAndRewrite()
239 llvm::dyn_cast_if_present<ArrayAttr>(adaptor.getComplex()); in fold()
/llvm-project/mlir/lib/Conversion/ComplexToLLVM/
H A DComplexToLLVM.cpp74 ComplexStructBuilder complexStruct(adaptor.getComplex()); in matchAndRewrite()
128 ComplexStructBuilder complexStruct(adaptor.getComplex()); in matchAndRewrite()
143 ComplexStructBuilder complexStruct(adaptor.getComplex()); in matchAndRewrite()
/llvm-project/clang/lib/CodeGen/
H A DCGValue.h108 static RValue getComplex(llvm::Value *V1, llvm::Value *V2) {
115 static RValue getComplex(const std::pair<llvm::Value *, llvm::Value *> &C) {
116 return getComplex(C.first, C.second);
H A DCGExprComplex.cpp454 return CGF.EmitAtomicStore(RValue::getComplex(Val), lvalue, isInit);
1295 Val = RValue::getComplex(ResVal); in EmitCompoundAssignLValue()
H A DCGCleanup.cpp72 return RValue::getComplex(real, imag); in restore()
H A DCGExpr.cpp246 return RValue::getComplex(EmitComplexExpr(E, ignoreResult, ignoreResult)); in EmitAnyExprToTemp()
1441 return RValue::getComplex(std::make_pair(U, U)); in IsWrappedCXXThis()
2216 return RValue::getComplex(EmitLoadOfComplex(LV, Loc)); in EmitLoadOfLValue()
5555 return RValue::getComplex(EmitLoadOfComplex(FieldLV, Loc)); in EmitCallee()
6226 return RValue::getComplex(EmitLoadOfComplex(lvalue, loc));
H A DCGAtomic.cpp2101 atomics.emitCopyIntoMemory(RValue::getComplex(value));
H A DCGObjCGNU.cpp2998 msgRet = RValue::getComplex(phi, phi2); in GenerateMethodList()
H A DCGCall.cpp6002 return RValue::getComplex(std::make_pair(Real, Imag)); in EmitCall()
H A DCGBuiltin.cpp3441 return RValue::getComplex({Real, Imag}); in EmitBuiltinExpr()
3453 return RValue::getComplex(std::make_pair(Real, Imag)); in EmitBuiltinExpr()
3766 return RValue::getComplex(std::make_pair(Real, Imag)); in EmitBuiltinExpr()
3771 return RValue::getComplex(std::make_pair(Real, Imag)); in EmitBuiltinExpr()
H A DCGObjCMac.cpp1825 return RValue::getComplex(real, imag); in complete()
H A DCGStmtOpenMP.cpp6475 return RValue::getComplex(Res.first, Res.second); in emitOMPAtomicCompareExpr()
H A DCGOpenMPRuntime.cpp630 RValue::getComplex(CGF.EmitLoadOfComplex(LV, DRD->getLocation())); in emitInitWithReductionInitializer()
/llvm-project/clang/test/CodeGenObjC/
H A Ddirect-method.m74 // CHECK-LABEL: define hidden i64 @"\01-[Root getComplex]"(
75 - (struct my_complex_struct)getComplex __attribute__((objc_direct)) {
/llvm-project/mlir/test/mlir-tblgen/
H A Dattr-or-type-format.td73 // ATTR: ::printAttrParamA(odsPrinter, getComplex());
270 // TYPE: odsPrinter << getComplex();
/llvm-project/clang/lib/CodeGen/Targets/
H A DPPC.cpp40 return RValue::getComplex(Real, Imag); in complexTempStructure()