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()
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()
DStmtVisitor.h159 UNARYOP_FALLBACK(Real) UNARYOP_FALLBACK(Imag)
DDataRecursiveASTVisitor.h44 OPERATOR(Not) OPERATOR(LNot) OPERATOR(Real) OPERATOR(Imag) \
DRecursiveASTVisitor.h44 OPERATOR(Not) OPERATOR(LNot) OPERATOR(Real) OPERATOR(Imag) \
/external/clang/lib/CodeGen/
DCGExprComplex.cpp317 llvm::Value *Real=nullptr, *Imag=nullptr; in EmitLoadOfLValue() local
329 Imag = Builder.CreateAlignedLoad(ImagP, AlignI, isVolatile, in EmitLoadOfLValue()
332 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()
998 llvm::Value *Imag = CGF.EmitScalarExpr(E->getInit(1)); in VisitInitListExpr() local
999 return ComplexPairTy(Real, Imag); in VisitInitListExpr()
DCGBuiltin.cpp296 Value *Imag = ComplexVal.second; in EmitBuiltinExpr() local
298 Imag->getType()->isFPOrFPVectorTy() in EmitBuiltinExpr()
299 ? llvm::ConstantFP::getZeroValueForNegation(Imag->getType()) in EmitBuiltinExpr()
300 : llvm::Constant::getNullValue(Imag->getType()); in EmitBuiltinExpr()
302 Imag = Builder.CreateFSub(Zero, Imag, "sub"); in EmitBuiltinExpr()
303 return RValue::getComplex(std::make_pair(Real, Imag)); in EmitBuiltinExpr()
DCGCall.cpp3436 llvm::Value *Imag = Builder.CreateExtractValue(CI, 1); in EmitCall() local
3437 return RValue::getComplex(std::make_pair(Real, Imag)); in EmitCall()
DTargetInfo.cpp3792 llvm::Value *Imag = Builder.CreateLoad(ImagAddr, false, ".vaimag"); in EmitVAArg() local
3800 Builder.CreateStore(Imag, ImagPtr, false); in EmitVAArg()
/external/clang/lib/AST/
DExprConstant.cpp250 void addComplexUnchecked(QualType EltTy, bool Imag) { in addComplexUnchecked()
252 Entry.ArrayIndex = Imag; in addComplexUnchecked()
987 void addComplex(EvalInfo &Info, const Expr *E, QualType EltTy, bool Imag) { in addComplex()
988 if (checkSubobject(Info, E, Imag ? CSK_Imag : CSK_Real)) in addComplex()
989 Designator.addComplexUnchecked(EltTy, Imag); in addComplex()
1924 bool Imag) { in HandleLValueComplexElement() argument
1925 if (Imag) { in HandleLValueComplexElement()
1931 LVal.addComplex(Info, E, EltTy, Imag); in HandleLValueComplexElement()
7823 APFloat &Imag = Result.FloatImag; in VisitImaginaryLiteral() local
7824 if (!EvaluateFloat(SubExpr, Imag, Info)) in VisitImaginaryLiteral()
[all …]
DItaniumMangle.cpp3283 if (const FloatingLiteral *Imag = in mangleExpression() local
3286 mangleFloat(llvm::APFloat(Imag->getValue().getSemantics())); in mangleExpression()
3288 mangleFloat(Imag->getValue()); in mangleExpression()