Searched refs:Imag (Results 1 – 9 of 9) sorted by relevance
/external/clang/include/clang/AST/ |
D | APValue.h | 72 APSInt Real, Imag; member 73 ComplexAPSInt() : Real(1), Imag(1) {} in ComplexAPSInt() 76 APFloat Real, Imag; member 77 ComplexAPFloat() : Real(0.0), Imag(0.0) {} in ComplexAPFloat() 226 return ((ComplexAPSInt*)(char*)Data.buffer)->Imag; in getComplexIntImag() 242 return ((ComplexAPFloat*)(char*)Data.buffer)->Imag; in getComplexFloatImag() 367 ((ComplexAPSInt *)(char *)Data.buffer)->Imag = std::move(I); in setComplexInt() 374 ((ComplexAPFloat *)(char *)Data.buffer)->Imag = std::move(I); in setComplexFloat()
|
D | StmtVisitor.h | 161 UNARYOP_FALLBACK(Real) UNARYOP_FALLBACK(Imag)
|
D | RecursiveASTVisitor.h | 47 OPERATOR(Not) OPERATOR(LNot) OPERATOR(Real) OPERATOR(Imag) \
|
/external/clang/lib/CodeGen/ |
D | CGExprComplex.cpp | 327 llvm::Value *Real = nullptr, *Imag = nullptr; in EmitLoadOfLValue() local 336 Imag = Builder.CreateLoad(ImagP, isVolatile, SrcPtr.getName() + ".imag"); in EmitLoadOfLValue() 339 return ComplexPairTy(Real, Imag); in EmitLoadOfLValue() 374 llvm::Value *Imag = CGF.EmitScalarExpr(IL->getSubExpr()); in VisitImaginaryLiteral() local 375 return ComplexPairTy(llvm::Constant::getNullValue(Imag->getType()), Imag); in VisitImaginaryLiteral() 1007 llvm::Value *Imag = CGF.EmitScalarExpr(E->getInit(1)); in VisitInitListExpr() local 1008 return ComplexPairTy(Real, Imag); in VisitInitListExpr()
|
D | CGBuiltin.cpp | 486 Value *Imag = ComplexVal.second; in EmitBuiltinExpr() local 488 Imag->getType()->isFPOrFPVectorTy() in EmitBuiltinExpr() 489 ? llvm::ConstantFP::getZeroValueForNegation(Imag->getType()) in EmitBuiltinExpr() 490 : llvm::Constant::getNullValue(Imag->getType()); in EmitBuiltinExpr() 492 Imag = Builder.CreateFSub(Zero, Imag, "sub"); in EmitBuiltinExpr() 493 return RValue::getComplex(std::make_pair(Real, Imag)); in EmitBuiltinExpr()
|
D | CGCall.cpp | 3611 llvm::Value *Imag = Builder.CreateExtractValue(CI, 1); in EmitCall() local 3612 return RValue::getComplex(std::make_pair(Real, Imag)); in EmitCall()
|
D | TargetInfo.cpp | 4134 llvm::Value *Imag = CGF.Builder.CreateLoad(ImagAddr, ".vaimag"); in EmitVAArg() local 4137 CGF.EmitStoreOfComplex({Real, Imag}, CGF.MakeAddrLValue(Temp, Ty), in EmitVAArg()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 267 void addComplexUnchecked(QualType EltTy, bool Imag) { in addComplexUnchecked() 269 Entry.ArrayIndex = Imag; in addComplexUnchecked() 1065 void addComplex(EvalInfo &Info, const Expr *E, QualType EltTy, bool Imag) { in addComplex() 1066 if (checkSubobject(Info, E, Imag ? CSK_Imag : CSK_Real)) in addComplex() 1067 Designator.addComplexUnchecked(EltTy, Imag); in addComplex() 2008 bool Imag) { in HandleLValueComplexElement() argument 2009 if (Imag) { in HandleLValueComplexElement() 2015 LVal.addComplex(Info, E, EltTy, Imag); in HandleLValueComplexElement() 8182 APFloat &Imag = Result.FloatImag; in VisitImaginaryLiteral() local 8183 if (!EvaluateFloat(SubExpr, Imag, Info)) in VisitImaginaryLiteral() [all …]
|
D | ItaniumMangle.cpp | 3439 if (const FloatingLiteral *Imag = in mangleExpression() local 3442 mangleFloat(llvm::APFloat(Imag->getValue().getSemantics())); in mangleExpression() 3444 mangleFloat(Imag->getValue()); in mangleExpression()
|