Home
last modified time | relevance | path

Searched refs:Imag (Results 1 – 10 of 10) sorted by relevance

/external/clang/include/clang/AST/
DAPValue.h72 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()
220 return ((ComplexAPSInt*)(char*)Data)->Imag; in getComplexIntImag()
236 return ((ComplexAPFloat*)(char*)Data)->Imag; in getComplexFloatImag()
361 ((ComplexAPSInt*)(char*)Data)->Imag = I; in setComplexInt()
368 ((ComplexAPFloat*)(char*)Data)->Imag = I; in setComplexFloat()
DStmtVisitor.h158 UNARYOP_FALLBACK(Real) UNARYOP_FALLBACK(Imag)
DRecursiveASTVisitor.h44 OPERATOR(Real) OPERATOR(Imag) \
/external/clang/lib/CodeGen/
DCGExprComplex.cpp294 llvm::Value *Real=0, *Imag=0; in EmitLoadOfLValue() local
305 Imag = Builder.CreateLoad(ImagP, isVolatile, SrcPtr->getName() + ".imag"); in EmitLoadOfLValue()
307 return ComplexPairTy(Real, Imag); in EmitLoadOfLValue()
343 llvm::Value *Imag = CGF.EmitScalarExpr(IL->getSubExpr()); in VisitImaginaryLiteral() local
344 return ComplexPairTy(llvm::Constant::getNullValue(Imag->getType()), Imag); in VisitImaginaryLiteral()
758 llvm::Value *Imag = CGF.EmitScalarExpr(E->getInit(1)); in VisitInitListExpr() local
759 return ComplexPairTy(Real, Imag); in VisitInitListExpr()
DCGBuiltin.cpp260 Value *Imag = ComplexVal.second; in EmitBuiltinExpr() local
262 Imag->getType()->isFPOrFPVectorTy() in EmitBuiltinExpr()
263 ? llvm::ConstantFP::getZeroValueForNegation(Imag->getType()) in EmitBuiltinExpr()
264 : llvm::Constant::getNullValue(Imag->getType()); in EmitBuiltinExpr()
266 Imag = Builder.CreateFSub(Zero, Imag, "sub"); in EmitBuiltinExpr()
267 return RValue::getComplex(std::make_pair(Real, Imag)); in EmitBuiltinExpr()
DCGCall.cpp2405 llvm::Value *Imag = Builder.CreateExtractValue(CI, 1); in EmitCall() local
2406 return RValue::getComplex(std::make_pair(Real, Imag)); in EmitCall()
DTargetInfo.cpp2867 llvm::Value *Imag = Builder.CreateLoad(ImagAddr, false, ".vaimag"); in EmitVAArg() local
2873 Builder.CreateStore(Imag, ImagPtr, false); in EmitVAArg()
/external/clang/lib/AST/
DExprConstant.cpp231 void addComplexUnchecked(QualType EltTy, bool Imag) { in addComplexUnchecked()
233 Entry.ArrayIndex = Imag; in addComplexUnchecked()
764 void addComplex(EvalInfo &Info, const Expr *E, QualType EltTy, bool Imag) { in addComplex()
765 if (checkSubobject(Info, E, Imag ? CSK_Imag : CSK_Real)) in addComplex()
766 Designator.addComplexUnchecked(EltTy, Imag); in addComplex()
1418 bool Imag) { in HandleLValueComplexElement() argument
1419 if (Imag) { in HandleLValueComplexElement()
1425 LVal.addComplex(Info, E, EltTy, Imag); in HandleLValueComplexElement()
5814 APFloat &Imag = Result.FloatImag; in VisitImaginaryLiteral() local
5815 if (!EvaluateFloat(SubExpr, Imag, Info)) in VisitImaginaryLiteral()
[all …]
DItaniumMangle.cpp2891 if (const FloatingLiteral *Imag = in mangleExpression() local
2894 mangleFloat(llvm::APFloat(Imag->getValue().getSemantics())); in mangleExpression()
2896 mangleFloat(Imag->getValue()); in mangleExpression()
/external/clang/tools/libclang/
DRecursiveASTVisitor.h44 OPERATOR(Real) OPERATOR(Imag) \