Lines Matching defs:E

90   APValue::BaseOrMemberType getAsBaseOrMember(APValue::LValuePathEntry E) {  in getAsBaseOrMember()
98 static const FieldDecl *getAsField(APValue::LValuePathEntry E) { in getAsField()
103 static const CXXRecordDecl *getAsBaseClass(APValue::LValuePathEntry E) { in getAsBaseClass()
108 static bool isVirtualBaseClass(APValue::LValuePathEntry E) { in isVirtualBaseClass()
796 bool SubobjectDesignator::checkSubobject(EvalInfo &Info, const Expr *E, in checkSubobject()
810 const Expr *E, uint64_t N) { in diagnosePointerArithmetic()
1137 E = Frame->Callee->param_end(); I != E; ++I, ++ArgIndex) { in describeCall() local
1155 static bool EvaluateIgnoredValue(EvalInfo &Info, const Expr *E) { in EvaluateIgnoredValue()
1171 static bool IsStringLiteralCall(const CallExpr *E) { in IsStringLiteralCall()
1193 const Expr *E = B.get<const Expr*>(); in IsGlobalLValue() local
1324 static bool CheckLiteralType(EvalInfo &Info, const Expr *E, in CheckLiteralType()
1416 const Expr *E = Value.Base.dyn_cast<const Expr*>(); in IsLiteralLValue() local
1485 static bool EvaluateAsBooleanCondition(const Expr *E, bool &Result, in EvaluateAsBooleanCondition()
1495 static void HandleOverflow(EvalInfo &Info, const Expr *E, in HandleOverflow()
1501 static bool HandleFloatToIntCast(EvalInfo &Info, const Expr *E, in HandleFloatToIntCast()
1516 static bool HandleFloatToFloatCast(EvalInfo &Info, const Expr *E, in HandleFloatToFloatCast()
1528 static APSInt HandleIntToIntCast(EvalInfo &Info, const Expr *E, in HandleIntToIntCast()
1540 static bool HandleIntToFloatCast(EvalInfo &Info, const Expr *E, in HandleIntToFloatCast()
1551 static bool truncateBitfieldValue(EvalInfo &Info, const Expr *E, in truncateBitfieldValue()
1572 static bool EvalAndBitcastToAPInt(EvalInfo &Info, const Expr *E, in EvalAndBitcastToAPInt()
1623 static APSInt CheckedIntArithmetic(EvalInfo &Info, const Expr *E, in CheckedIntArithmetic()
1643 static bool handleIntIntBinOp(EvalInfo &Info, const Expr *E, const APSInt &LHS, in handleIntIntBinOp()
1742 static bool handleFloatFloatBinOp(EvalInfo &Info, const Expr *E, in handleFloatFloatBinOp()
1770 static bool CastToDerivedClass(EvalInfo &Info, const Expr *E, LValue &Result, in CastToDerivedClass()
1799 static bool HandleLValueDirectBase(EvalInfo &Info, const Expr *E, LValue &Obj, in HandleLValueDirectBase()
1813 static bool HandleLValueBase(EvalInfo &Info, const Expr *E, LValue &Obj, in HandleLValueBase()
1838 static bool HandleLValueBasePath(EvalInfo &Info, const CastExpr *E, in HandleLValueBasePath()
1853 static bool HandleLValueMember(EvalInfo &Info, const Expr *E, LValue &LVal, in HandleLValueMember()
1868 static bool HandleLValueIndirectMember(EvalInfo &Info, const Expr *E, in HandleLValueIndirectMember()
1904 static bool HandleLValueArrayAdjustment(EvalInfo &Info, const Expr *E, in HandleLValueArrayAdjustment()
1922 static bool HandleLValueComplexElement(EvalInfo &Info, const Expr *E, in HandleLValueComplexElement()
1943 static bool evaluateVarDeclInit(EvalInfo &Info, const Expr *E, in evaluateVarDeclInit()
2024 E = Derived->bases_end(); I != E; ++I, ++Index) { in getBaseIndex() local
2121 static bool diagnoseUnreadableFields(EvalInfo &Info, const Expr *E, in diagnoseUnreadableFields()
2182 findSubobject(EvalInfo &Info, const Expr *E, const CompleteObject &Obj, in findSubobject()
2379 static bool extractSubobject(EvalInfo &Info, const Expr *E, in extractSubobject()
2391 const Expr *E; member
2439 static bool modifySubobject(EvalInfo &Info, const Expr *E, in modifySubobject()
2505 static CompleteObject findCompleteObject(EvalInfo &Info, const Expr *E, in findCompleteObject()
2747 static bool handleAssignment(EvalInfo &Info, const Expr *E, const LValue &LVal, in handleAssignment()
2769 const Expr *E; member
2867 EvalInfo &Info, const Expr *E, in handleCompoundAssignment()
2887 const Expr *E; member
3017 static bool handleIncDec(EvalInfo &Info, const Expr *E, const LValue &LVal, in handleIncDec()
3162 static bool HandleBaseToDerivedCast(EvalInfo &Info, const CastExpr *E, in HandleBaseToDerivedCast()
3412 if (const Expr *E = dyn_cast<Expr>(S)) { in EvaluateStmt() local
3696 for (ArrayRef<const Expr*>::iterator I = Args.begin(), E = Args.end(); in EvaluateArgs() local
3906 bool DerivedSuccess(const APValue &V, const Expr *E) { in DerivedSuccess()
3909 bool DerivedZeroInitialization(const Expr *E) { in DerivedZeroInitialization()
3917 void CheckPotentialConstantConditional(const ConditionalOperator *E) { in CheckPotentialConstantConditional()
3940 bool HandleConditionalOperator(const ConditionalOperator *E) { in HandleConditionalOperator()
3957 OptionalDiagnostic CCEDiag(const Expr *E, diag::kind D) { in CCEDiag()
3961 bool ZeroInitialization(const Expr *E) { return Error(E); } in ZeroInitialization()
3970 bool Error(const Expr *E, diag::kind D) { in Error()
3974 bool Error(const Expr *E) { in Error()
3981 bool VisitExpr(const Expr *E) { in VisitExpr()
3985 bool VisitParenExpr(const ParenExpr *E) in VisitParenExpr()
3987 bool VisitUnaryExtension(const UnaryOperator *E) in VisitUnaryExtension()
3989 bool VisitUnaryPlus(const UnaryOperator *E) in VisitUnaryPlus()
3991 bool VisitChooseExpr(const ChooseExpr *E) in VisitChooseExpr()
3993 bool VisitGenericSelectionExpr(const GenericSelectionExpr *E) in VisitGenericSelectionExpr()
3995 bool VisitSubstNonTypeTemplateParmExpr(const SubstNonTypeTemplateParmExpr *E) in VisitSubstNonTypeTemplateParmExpr()
3997 bool VisitCXXDefaultArgExpr(const CXXDefaultArgExpr *E) in VisitCXXDefaultArgExpr()
3999 bool VisitCXXDefaultInitExpr(const CXXDefaultInitExpr *E) { in VisitCXXDefaultInitExpr()
4007 bool VisitExprWithCleanups(const ExprWithCleanups *E) in VisitExprWithCleanups()
4010 bool VisitCXXReinterpretCastExpr(const CXXReinterpretCastExpr *E) { in VisitCXXReinterpretCastExpr()
4014 bool VisitCXXDynamicCastExpr(const CXXDynamicCastExpr *E) { in VisitCXXDynamicCastExpr()
4019 bool VisitBinaryOperator(const BinaryOperator *E) { in VisitBinaryOperator()
4041 bool VisitBinaryConditionalOperator(const BinaryConditionalOperator *E) { in VisitBinaryConditionalOperator()
4051 bool VisitConditionalOperator(const ConditionalOperator *E) { in VisitConditionalOperator()
4076 bool VisitOpaqueValueExpr(const OpaqueValueExpr *E) { in VisitOpaqueValueExpr()
4090 bool VisitCallExpr(const CallExpr *E) { in VisitCallExpr()
4175 bool VisitCompoundLiteralExpr(const CompoundLiteralExpr *E) { in VisitCompoundLiteralExpr()
4178 bool VisitInitListExpr(const InitListExpr *E) { in VisitInitListExpr()
4185 bool VisitImplicitValueInitExpr(const ImplicitValueInitExpr *E) { in VisitImplicitValueInitExpr()
4188 bool VisitCXXScalarValueInitExpr(const CXXScalarValueInitExpr *E) { in VisitCXXScalarValueInitExpr()
4191 bool VisitCXXNullPtrLiteralExpr(const CXXNullPtrLiteralExpr *E) { in VisitCXXNullPtrLiteralExpr()
4196 bool VisitMemberExpr(const MemberExpr *E) { in VisitMemberExpr()
4220 bool VisitCastExpr(const CastExpr *E) { in VisitCastExpr()
4272 bool VisitStmtExpr(const StmtExpr *E) { in VisitStmtExpr()
4308 void VisitIgnoredValue(const Expr *E) { in VisitIgnoredValue()
4336 bool Success(const APValue &V, const Expr *E) { in Success()
4341 bool VisitMemberExpr(const MemberExpr *E) { in VisitMemberExpr()
4382 bool VisitBinaryOperator(const BinaryOperator *E) { in VisitBinaryOperator()
4393 bool VisitCastExpr(const CastExpr *E) { in VisitCastExpr()
4454 bool VisitPredefinedExpr(const PredefinedExpr *E) { return Success(E); } in VisitPredefinedExpr()
4458 bool VisitStringLiteral(const StringLiteral *E) { return Success(E); } in VisitStringLiteral()
4459 bool VisitObjCEncodeExpr(const ObjCEncodeExpr *E) { return Success(E); } in VisitObjCEncodeExpr()
4475 bool VisitCastExpr(const CastExpr *E) { in VisitCastExpr()
4500 static bool EvaluateLValue(const Expr *E, LValue &Result, EvalInfo &Info) { in EvaluateLValue()
4506 bool LValueExprEvaluator::VisitDeclRefExpr(const DeclRefExpr *E) { in VisitDeclRefExpr()
4514 bool LValueExprEvaluator::VisitVarDecl(const Expr *E, const VarDecl *VD) { in VisitVarDecl()
4539 const MaterializeTemporaryExpr *E) { in VisitMaterializeTemporaryExpr()
4605 LValueExprEvaluator::VisitCompoundLiteralExpr(const CompoundLiteralExpr *E) { in VisitCompoundLiteralExpr()
4612 bool LValueExprEvaluator::VisitCXXTypeidExpr(const CXXTypeidExpr *E) { in VisitCXXTypeidExpr()
4622 bool LValueExprEvaluator::VisitCXXUuidofExpr(const CXXUuidofExpr *E) { in VisitCXXUuidofExpr()
4626 bool LValueExprEvaluator::VisitMemberExpr(const MemberExpr *E) { in VisitMemberExpr()
4645 bool LValueExprEvaluator::VisitArraySubscriptExpr(const ArraySubscriptExpr *E) { in VisitArraySubscriptExpr()
4661 bool LValueExprEvaluator::VisitUnaryDeref(const UnaryOperator *E) { in VisitUnaryDeref()
4665 bool LValueExprEvaluator::VisitUnaryReal(const UnaryOperator *E) { in VisitUnaryReal()
4674 bool LValueExprEvaluator::VisitUnaryImag(const UnaryOperator *E) { in VisitUnaryImag()
4718 bool LValueExprEvaluator::VisitBinAssign(const BinaryOperator *E) { in VisitBinAssign()
4746 bool Success(const Expr *E) { in Success()
4755 bool Success(const APValue &V, const Expr *E) { in Success()
4759 bool ZeroInitialization(const Expr *E) { in ZeroInitialization()
4766 bool VisitObjCStringLiteral(const ObjCStringLiteral *E) in VisitObjCStringLiteral()
4768 bool VisitObjCBoxedExpr(const ObjCBoxedExpr *E) in VisitObjCBoxedExpr()
4770 bool VisitAddrLabelExpr(const AddrLabelExpr *E) in VisitAddrLabelExpr()
4773 bool VisitBlockExpr(const BlockExpr *E) { in VisitBlockExpr()
4778 bool VisitCXXThisExpr(const CXXThisExpr *E) { in VisitCXXThisExpr()
4797 static bool EvaluatePointer(const Expr* E, LValue& Result, EvalInfo &Info) { in EvaluatePointer()
4802 bool PointerExprEvaluator::VisitBinaryOperator(const BinaryOperator *E) { in VisitBinaryOperator()
4829 bool PointerExprEvaluator::VisitUnaryAddrOf(const UnaryOperator *E) { in VisitUnaryAddrOf()
4833 bool PointerExprEvaluator::VisitCastExpr(const CastExpr* E) { in VisitCastExpr()
4942 static CharUnits GetAlignOfExpr(EvalInfo &Info, const Expr *E) { in GetAlignOfExpr()
4962 bool PointerExprEvaluator::VisitCallExpr(const CallExpr *E) { in VisitCallExpr()
5057 bool Success(const APValue &V, const Expr *E) { in Success()
5061 bool ZeroInitialization(const Expr *E) { in ZeroInitialization()
5070 static bool EvaluateMemberPointer(const Expr *E, MemberPtr &Result, in EvaluateMemberPointer()
5076 bool MemberPointerExprEvaluator::VisitCastExpr(const CastExpr *E) { in VisitCastExpr()
5121 bool MemberPointerExprEvaluator::VisitUnaryAddrOf(const UnaryOperator *E) { in VisitUnaryAddrOf()
5141 bool Success(const APValue &V, const Expr *E) { in Success()
5161 static bool HandleClassZeroInitialization(EvalInfo &Info, const Expr *E, in HandleClassZeroInitialization()
5204 bool RecordExprEvaluator::ZeroInitialization(const Expr *E) { in ZeroInitialization()
5232 bool RecordExprEvaluator::VisitCastExpr(const CastExpr *E) { in VisitCastExpr()
5264 bool RecordExprEvaluator::VisitInitListExpr(const InitListExpr *E) { in VisitInitListExpr()
5338 bool RecordExprEvaluator::VisitCXXConstructExpr(const CXXConstructExpr *E) { in VisitCXXConstructExpr()
5381 const CXXStdInitializerListExpr *E) { in VisitCXXStdInitializerListExpr()
5432 static bool EvaluateRecord(const Expr *E, const LValue &This, in EvaluateRecord()
5454 bool VisitConstructExpr(const Expr *E) { in VisitConstructExpr()
5460 bool VisitCastExpr(const CastExpr *E) { in VisitCastExpr()
5469 bool VisitInitListExpr(const InitListExpr *E) { in VisitInitListExpr()
5472 bool VisitCXXConstructExpr(const CXXConstructExpr *E) { in VisitCXXConstructExpr()
5475 bool VisitCallExpr(const CallExpr *E) { in VisitCallExpr()
5478 bool VisitCXXStdInitializerListExpr(const CXXStdInitializerListExpr *E) { in VisitCXXStdInitializerListExpr()
5485 static bool EvaluateTemporary(const Expr *E, LValue &Result, EvalInfo &Info) { in EvaluateTemporary()
5503 bool Success(const ArrayRef<APValue> &V, const Expr *E) { in Success()
5509 bool Success(const APValue &V, const Expr *E) { in Success()
5516 bool VisitUnaryReal(const UnaryOperator *E) in VisitUnaryReal()
5527 static bool EvaluateVector(const Expr* E, APValue& Result, EvalInfo &Info) { in EvaluateVector()
5532 bool VectorExprEvaluator::VisitCastExpr(const CastExpr* E) { in VisitCastExpr()
5603 VectorExprEvaluator::VisitInitListExpr(const InitListExpr *E) { in VisitInitListExpr()
5652 VectorExprEvaluator::ZeroInitialization(const Expr *E) { in ZeroInitialization()
5666 bool VectorExprEvaluator::VisitUnaryImag(const UnaryOperator *E) { in VisitUnaryImag()
5685 bool Success(const APValue &V, const Expr *E) { in Success()
5692 bool ZeroInitialization(const Expr *E) { in ZeroInitialization()
5717 static bool EvaluateArray(const Expr *E, const LValue &This, in EvaluateArray()
5723 bool ArrayExprEvaluator::VisitInitListExpr(const InitListExpr *E) { in VisitInitListExpr()
5761 for (unsigned I = 0, E = Result.getArrayInitializedElts(); I != E; ++I) in VisitInitListExpr() local
5792 bool ArrayExprEvaluator::VisitCXXConstructExpr(const CXXConstructExpr *E) { in VisitCXXConstructExpr()
5796 bool ArrayExprEvaluator::VisitCXXConstructExpr(const CXXConstructExpr *E, in VisitCXXConstructExpr()
5878 bool Success(const llvm::APSInt &SI, const Expr *E, APValue &Result) { in Success()
5888 bool Success(const llvm::APSInt &SI, const Expr *E) { in Success()
5892 bool Success(const llvm::APInt &I, const Expr *E, APValue &Result) { in Success()
5902 bool Success(const llvm::APInt &I, const Expr *E) { in Success()
5906 bool Success(uint64_t Value, const Expr *E, APValue &Result) { in Success()
5912 bool Success(uint64_t Value, const Expr *E) { in Success()
5916 bool Success(CharUnits Size, const Expr *E) { in Success()
5920 bool Success(const APValue &V, const Expr *E) { in Success()
5928 bool ZeroInitialization(const Expr *E) { return Success(0, E); } in ZeroInitialization()
5934 bool VisitIntegerLiteral(const IntegerLiteral *E) { in VisitIntegerLiteral()
5937 bool VisitCharacterLiteral(const CharacterLiteral *E) { in VisitCharacterLiteral()
5942 bool VisitDeclRefExpr(const DeclRefExpr *E) { in VisitDeclRefExpr()
5948 bool VisitMemberExpr(const MemberExpr *E) { in VisitMemberExpr()
5965 bool VisitCXXBoolLiteralExpr(const CXXBoolLiteralExpr *E) { in VisitCXXBoolLiteralExpr()
5969 bool VisitObjCBoolLiteralExpr(const ObjCBoolLiteralExpr *E) { in VisitObjCBoolLiteralExpr()
5974 bool VisitGNUNullExpr(const GNUNullExpr *E) { in VisitGNUNullExpr()
5978 bool VisitTypeTraitExpr(const TypeTraitExpr *E) { in VisitTypeTraitExpr()
5982 bool VisitArrayTypeTraitExpr(const ArrayTypeTraitExpr *E) { in VisitArrayTypeTraitExpr()
5986 bool VisitExpressionTraitExpr(const ExpressionTraitExpr *E) { in VisitExpressionTraitExpr()
6011 static bool EvaluateIntegerOrLValue(const Expr *E, APValue &Result, in EvaluateIntegerOrLValue()
6017 static bool EvaluateInteger(const Expr *E, APSInt &Result, EvalInfo &Info) { in EvaluateInteger()
6034 bool IntExprEvaluator::CheckReferencedDecl(const Expr* E, const Decl* D) { in CheckReferencedDecl()
6060 static int EvaluateBuiltinClassifyType(const CallExpr *E) { in EvaluateBuiltinClassifyType()
6120 const Expr *E = LV.getLValueBase().template dyn_cast<const Expr*>(); in EvaluateBuiltinConstantPForLValue() local
6174 } else if (const Expr *E = B.get<const Expr*>()) { in GetObjectType() local
6182 bool IntExprEvaluator::TryEvaluateBuiltinObjectSize(const CallExpr *E) { in TryEvaluateBuiltinObjectSize()
6227 bool IntExprEvaluator::VisitCallExpr(const CallExpr *E) { in VisitCallExpr()
6550 const Expr *E; member
6584 static bool shouldEnqueue(const BinaryOperator *E) { in shouldEnqueue()
6591 bool Traverse(const BinaryOperator *E) { in Traverse()
6604 bool Success(uint64_t Value, const Expr *E, APValue &Result) { in Success()
6607 bool Success(const APSInt &Value, const Expr *E, APValue &Result) { in Success()
6610 bool Error(const Expr *E) { in Error()
6613 bool Error(const Expr *E, diag::kind D) { in Error()
6617 OptionalDiagnostic CCEDiag(const Expr *E, diag::kind D) { in CCEDiag()
6628 void EvaluateExpr(const Expr *E, EvalResult &Result) { in EvaluateExpr()
6636 void enqueue(const Expr *E) { in enqueue()
6647 VisitBinOpLHSOnly(EvalResult &LHSResult, const BinaryOperator *E, in VisitBinOpLHSOnly()
6693 const BinaryOperator *E, APValue &Result) { in VisitBinOp()
6837 bool IntExprEvaluator::VisitBinaryOperator(const BinaryOperator *E) { in VisitBinaryOperator()
7213 const UnaryExprOrTypeTraitExpr *E) { in VisitUnaryExprOrTypeTraitExpr()
7324 bool IntExprEvaluator::VisitUnaryOperator(const UnaryOperator *E) { in VisitUnaryOperator()
7364 bool IntExprEvaluator::VisitCastExpr(const CastExpr *E) { in VisitCastExpr()
7500 bool IntExprEvaluator::VisitUnaryReal(const UnaryOperator *E) { in VisitUnaryReal()
7513 bool IntExprEvaluator::VisitUnaryImag(const UnaryOperator *E) { in VisitUnaryImag()
7527 bool IntExprEvaluator::VisitSizeOfPackExpr(const SizeOfPackExpr *E) { in VisitSizeOfPackExpr()
7531 bool IntExprEvaluator::VisitCXXNoexceptExpr(const CXXNoexceptExpr *E) { in VisitCXXNoexceptExpr()
7552 bool ZeroInitialization(const Expr *E) { in ZeroInitialization()
7571 static bool EvaluateFloat(const Expr* E, APFloat& Result, EvalInfo &Info) { in EvaluateFloat()
7614 bool FloatExprEvaluator::VisitCallExpr(const CallExpr *E) { in VisitCallExpr()
7676 bool FloatExprEvaluator::VisitUnaryReal(const UnaryOperator *E) { in VisitUnaryReal()
7688 bool FloatExprEvaluator::VisitUnaryImag(const UnaryOperator *E) { in VisitUnaryImag()
7703 bool FloatExprEvaluator::VisitUnaryOperator(const UnaryOperator *E) { in VisitUnaryOperator()
7716 bool FloatExprEvaluator::VisitBinaryOperator(const BinaryOperator *E) { in VisitBinaryOperator()
7728 bool FloatExprEvaluator::VisitFloatingLiteral(const FloatingLiteral *E) { in VisitFloatingLiteral()
7733 bool FloatExprEvaluator::VisitCastExpr(const CastExpr *E) { in VisitCastExpr()
7796 static bool EvaluateComplex(const Expr *E, ComplexValue &Result, in EvaluateComplex()
7802 bool ComplexExprEvaluator::ZeroInitialization(const Expr *E) { in ZeroInitialization()
7818 bool ComplexExprEvaluator::VisitImaginaryLiteral(const ImaginaryLiteral *E) { in VisitImaginaryLiteral()
7843 bool ComplexExprEvaluator::VisitCastExpr(const CastExpr *E) { in VisitCastExpr()
7978 bool ComplexExprEvaluator::VisitBinaryOperator(const BinaryOperator *E) { in VisitBinaryOperator()
8200 bool ComplexExprEvaluator::VisitUnaryOperator(const UnaryOperator *E) { in VisitUnaryOperator()
8232 bool ComplexExprEvaluator::VisitInitListExpr(const InitListExpr *E) { in VisitInitListExpr()
8265 bool Success(const APValue &V, const Expr *E) { in Success()
8270 bool ZeroInitialization(const Expr *E) { in ZeroInitialization()
8276 bool VisitCastExpr(const CastExpr *E) { in VisitCastExpr()
8287 static bool EvaluateAtomic(const Expr *E, APValue &Result, EvalInfo &Info) { in EvaluateAtomic()
8305 bool VisitCastExpr(const CastExpr *E) { in VisitCastExpr()
8315 bool VisitCallExpr(const CallExpr *E) { in VisitCallExpr()
8328 static bool EvaluateVoid(const Expr *E, EvalInfo &Info) { in EvaluateVoid()
8337 static bool Evaluate(APValue &Result, EvalInfo &Info, const Expr *E) { in Evaluate()
8411 const Expr *E, bool AllowNonLiteralTypes) { in EvaluateInPlace()
8432 static bool EvaluateAsRValue(EvalInfo &Info, const Expr *E, APValue &Result) { in EvaluateAsRValue()
8645 static ICEDiag CheckEvalInICE(const Expr* E, const ASTContext &Ctx) { in CheckEvalInICE()
8654 static ICEDiag CheckICE(const Expr* E, const ASTContext &Ctx) { in CheckICE()
9027 const Expr *E, in EvaluateCPlusPlus11IntegralConstantExpr()
9110 for (ArrayRef<const Expr*>::iterator I = Args.begin(), E = Args.end(); in EvaluateWithSubstitution() local
9167 bool Expr::isPotentialConstantExprUnevaluated(Expr *E, in isPotentialConstantExprUnevaluated()