Searched refs:Imag (Results 1 - 9 of 9) sorted by relevance

/external/clang/include/clang/AST/
H A DAPValue.h72 APSInt Real, Imag; member in struct:clang::APValue::ComplexAPSInt
73 ComplexAPSInt() : Real(1), Imag(1) {}
76 APFloat Real, Imag; member in struct:clang::APValue::ComplexAPFloat
77 ComplexAPFloat() : Real(0.0), Imag(0.0) {}
226 return ((ComplexAPSInt*)(char*)Data.buffer)->Imag;
242 return ((ComplexAPFloat*)(char*)Data.buffer)->Imag;
367 ((ComplexAPSInt *)(char *)Data.buffer)->Imag = std::move(I);
374 ((ComplexAPFloat *)(char *)Data.buffer)->Imag = std::move(I);
H A DStmtVisitor.h161 UNARYOP_FALLBACK(Real) UNARYOP_FALLBACK(Imag)
H A DRecursiveASTVisitor.h47 OPERATOR(Not) OPERATOR(LNot) OPERATOR(Real) OPERATOR(Imag) \
/external/clang/lib/CodeGen/
H A DCGExprComplex.cpp190 // LNot,Real,Imag never return complex.
317 /// load the real and imaginary pieces, returning them as Real/Imag.
327 llvm::Value *Real = nullptr, *Imag = nullptr; local
336 Imag = Builder.CreateLoad(ImagP, isVolatile, SrcPtr.getName() + ".imag");
339 return ComplexPairTy(Real, Imag);
374 llvm::Value *Imag = CGF.EmitScalarExpr(IL->getSubExpr()); local
375 return ComplexPairTy(llvm::Constant::getNullValue(Imag->getType()), Imag);
1007 llvm::Value *Imag = CGF.EmitScalarExpr(E->getInit(1)); local
1008 return ComplexPairTy(Real, Imag);
[all...]
H A DCGBuiltin.cpp486 Value *Imag = ComplexVal.second; local
488 Imag->getType()->isFPOrFPVectorTy()
489 ? llvm::ConstantFP::getZeroValueForNegation(Imag->getType())
490 : llvm::Constant::getNullValue(Imag->getType());
492 Imag = Builder.CreateFSub(Zero, Imag, "sub");
493 return RValue::getComplex(std::make_pair(Real, Imag));
H A DCGCall.cpp3611 llvm::Value *Imag = Builder.CreateExtractValue(CI, 1);
3612 return RValue::getComplex(std::make_pair(Real, Imag));
H A DTargetInfo.cpp4134 llvm::Value *Imag = CGF.Builder.CreateLoad(ImagAddr, ".vaimag");
4137 CGF.EmitStoreOfComplex({Real, Imag}, CGF.MakeAddrLValue(Temp, Ty),
/external/clang/lib/AST/
H A DExprConstant.cpp267 void addComplexUnchecked(QualType EltTy, bool Imag) { argument
269 Entry.ArrayIndex = Imag;
1065 void addComplex(EvalInfo &Info, const Expr *E, QualType EltTy, bool Imag) { argument
1066 if (checkSubobject(Info, E, Imag ? CSK_Imag : CSK_Real))
1067 Designator.addComplexUnchecked(EltTy, Imag);
2005 /// \param Imag - False for the real component, true for the imaginary.
2008 bool Imag) {
2009 if (Imag) {
2015 LVal.addComplex(Info, E, EltTy, Imag);
8182 APFloat &Imag local
2006 HandleLValueComplexElement(EvalInfo &Info, const Expr *E, LValue &LVal, QualType EltTy, bool Imag) argument
8193 APSInt &Imag = Result.IntImag; local
[all...]
H A DItaniumMangle.cpp3439 if (const FloatingLiteral *Imag =
3442 mangleFloat(llvm::APFloat(Imag->getValue().getSemantics()));
3444 mangleFloat(Imag->getValue());

Completed in 144 milliseconds