Lines Matching defs:S
43 bool ReturnValue(const InterpState &S, const T &V, APValue &R) { in ReturnValue()
151 bool CheckShift(InterpState &S, CodePtr OpPC, const LT &LHS, const RT &RHS, in CheckShift()
195 bool CheckDivRem(InterpState &S, CodePtr OpPC, const T &LHS, const T &RHS) { in CheckDivRem()
222 bool CheckArraySize(InterpState &S, CodePtr OpPC, SizeT *NumElements, in CheckArraySize()
275 bool Ret(InterpState &S, CodePtr &PC, APValue &Result) { in Ret()
309 inline bool RetVoid(InterpState &S, CodePtr &PC, APValue &Result) { in RetVoid()
332 bool AddSubMulHelper(InterpState &S, CodePtr OpPC, unsigned Bits, const T &LHS, in AddSubMulHelper()
371 bool Add(InterpState &S, CodePtr OpPC) { in Add()
378 inline bool Addf(InterpState &S, CodePtr OpPC, llvm::RoundingMode RM) { in Addf()
389 bool Sub(InterpState &S, CodePtr OpPC) { in Sub()
396 inline bool Subf(InterpState &S, CodePtr OpPC, llvm::RoundingMode RM) { in Subf()
407 bool Mul(InterpState &S, CodePtr OpPC) { in Mul()
414 inline bool Mulf(InterpState &S, CodePtr OpPC, llvm::RoundingMode RM) { in Mulf()
425 inline bool Mulc(InterpState &S, CodePtr OpPC) { in Mulc()
480 inline bool Divc(InterpState &S, CodePtr OpPC) { in Divc()
555 bool BitAnd(InterpState &S, CodePtr OpPC) { in BitAnd()
572 bool BitOr(InterpState &S, CodePtr OpPC) { in BitOr()
589 bool BitXor(InterpState &S, CodePtr OpPC) { in BitXor()
606 bool Rem(InterpState &S, CodePtr OpPC) { in Rem()
626 bool Div(InterpState &S, CodePtr OpPC) { in Div()
642 inline bool Divf(InterpState &S, CodePtr OpPC, llvm::RoundingMode RM) { in Divf()
660 bool Inv(InterpState &S, CodePtr OpPC) { in Inv()
676 bool Neg(InterpState &S, CodePtr OpPC) { in Neg()
718 bool IncDecHelper(InterpState &S, CodePtr OpPC, const Pointer &Ptr) { in IncDecHelper()
776 bool Inc(InterpState &S, CodePtr OpPC) { in Inc()
788 bool IncPop(InterpState &S, CodePtr OpPC) { in IncPop()
801 bool Dec(InterpState &S, CodePtr OpPC) { in Dec()
813 bool DecPop(InterpState &S, CodePtr OpPC) { in DecPop()
822 bool IncDecFloatHelper(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in IncDecFloatHelper()
841 inline bool Incf(InterpState &S, CodePtr OpPC, llvm::RoundingMode RM) { in Incf()
849 inline bool IncfPop(InterpState &S, CodePtr OpPC, llvm::RoundingMode RM) { in IncfPop()
857 inline bool Decf(InterpState &S, CodePtr OpPC, llvm::RoundingMode RM) { in Decf()
865 inline bool DecfPop(InterpState &S, CodePtr OpPC, llvm::RoundingMode RM) { in DecfPop()
876 bool Comp(InterpState &S, CodePtr OpPC) { in Comp()
894 bool CmpHelper(InterpState &S, CodePtr OpPC, CompareFn Fn) { in CmpHelper()
906 bool CmpHelperEQ(InterpState &S, CodePtr OpPC, CompareFn Fn) { in CmpHelperEQ()
1064 bool EQ(InterpState &S, CodePtr OpPC) { in EQ()
1071 bool CMP3(InterpState &S, CodePtr OpPC, const ComparisonCategoryInfo *CmpInfo) { in CMP3()
1095 bool NE(InterpState &S, CodePtr OpPC) { in NE()
1102 bool LT(InterpState &S, CodePtr OpPC) { in LT()
1109 bool LE(InterpState &S, CodePtr OpPC) { in LE()
1117 bool GT(InterpState &S, CodePtr OpPC) { in GT()
1124 bool GE(InterpState &S, CodePtr OpPC) { in GE()
1136 bool InRange(InterpState &S, CodePtr OpPC) { in InRange()
1150 bool Dup(InterpState &S, CodePtr OpPC) { in Dup()
1156 bool Pop(InterpState &S, CodePtr OpPC) { in Pop()
1166 bool Const(InterpState &S, CodePtr OpPC, const T &Arg) { in Const()
1176 bool GetLocal(InterpState &S, CodePtr OpPC, uint32_t I) { in GetLocal()
1188 bool SetLocal(InterpState &S, CodePtr OpPC, uint32_t I) { in SetLocal()
1194 bool GetParam(InterpState &S, CodePtr OpPC, uint32_t I) { in GetParam()
1203 bool SetParam(InterpState &S, CodePtr OpPC, uint32_t I) { in SetParam()
1211 bool GetField(InterpState &S, CodePtr OpPC, uint32_t I) { in GetField()
1225 bool SetField(InterpState &S, CodePtr OpPC, uint32_t I) { in SetField()
1243 bool GetFieldPop(InterpState &S, CodePtr OpPC, uint32_t I) { in GetFieldPop()
1257 bool GetThisField(InterpState &S, CodePtr OpPC, uint32_t I) { in GetThisField()
1271 bool SetThisField(InterpState &S, CodePtr OpPC, uint32_t I) { in SetThisField()
1286 bool GetGlobal(InterpState &S, CodePtr OpPC, uint32_t I) { in GetGlobal()
1304 bool GetGlobalUnchecked(InterpState &S, CodePtr OpPC, uint32_t I) { in GetGlobalUnchecked()
1313 bool SetGlobal(InterpState &S, CodePtr OpPC, uint32_t I) { in SetGlobal()
1319 bool InitGlobal(InterpState &S, CodePtr OpPC, uint32_t I) { in InitGlobal()
1330 bool InitGlobalTemp(InterpState &S, CodePtr OpPC, uint32_t I, in InitGlobalTemp()
1352 inline bool InitGlobalTempComp(InterpState &S, CodePtr OpPC, in InitGlobalTempComp()
1371 bool InitThisField(InterpState &S, CodePtr OpPC, uint32_t I) { in InitThisField()
1386 bool InitThisBitField(InterpState &S, CodePtr OpPC, const Record::Field *F, in InitThisBitField()
1402 bool InitThisFieldActive(InterpState &S, CodePtr OpPC, uint32_t I) { in InitThisFieldActive()
1419 bool InitField(InterpState &S, CodePtr OpPC, uint32_t I) { in InitField()
1429 bool InitBitField(InterpState &S, CodePtr OpPC, const Record::Field *F) { in InitBitField()
1440 bool InitFieldActive(InterpState &S, CodePtr OpPC, uint32_t I) { in InitFieldActive()
1454 inline bool GetPtrLocal(InterpState &S, CodePtr OpPC, uint32_t I) { in GetPtrLocal()
1459 inline bool GetPtrParam(InterpState &S, CodePtr OpPC, uint32_t I) { in GetPtrParam()
1467 inline bool GetPtrGlobal(InterpState &S, CodePtr OpPC, uint32_t I) { in GetPtrGlobal()
1474 inline bool GetPtrField(InterpState &S, CodePtr OpPC, uint32_t Off) { in GetPtrField()
1496 inline bool GetPtrFieldPop(InterpState &S, CodePtr OpPC, uint32_t Off) { in GetPtrFieldPop()
1519 inline bool GetPtrThisField(InterpState &S, CodePtr OpPC, uint32_t Off) { in GetPtrThisField()
1529 inline bool GetPtrActiveField(InterpState &S, CodePtr OpPC, uint32_t Off) { in GetPtrActiveField()
1542 inline bool GetPtrActiveThisField(InterpState &S, CodePtr OpPC, uint32_t Off) { in GetPtrActiveThisField()
1555 inline bool GetPtrDerivedPop(InterpState &S, CodePtr OpPC, uint32_t Off) { in GetPtrDerivedPop()
1568 inline bool GetPtrBase(InterpState &S, CodePtr OpPC, uint32_t Off) { in GetPtrBase()
1578 inline bool GetPtrBasePop(InterpState &S, CodePtr OpPC, uint32_t Off) { in GetPtrBasePop()
1588 inline bool GetMemberPtrBasePop(InterpState &S, CodePtr OpPC, int32_t Off) { in GetMemberPtrBasePop()
1594 inline bool GetPtrThisBase(InterpState &S, CodePtr OpPC, uint32_t Off) { in GetPtrThisBase()
1604 inline bool FinishInitPop(InterpState &S, CodePtr OpPC) { in FinishInitPop()
1613 inline bool FinishInit(InterpState &S, CodePtr OpPC) { in FinishInit()
1622 inline bool Dump(InterpState &S, CodePtr OpPC) { in Dump()
1627 inline bool VirtBaseHelper(InterpState &S, CodePtr OpPC, const RecordDecl *Decl, in VirtBaseHelper()
1638 inline bool GetPtrVirtBasePop(InterpState &S, CodePtr OpPC, in GetPtrVirtBasePop()
1647 inline bool GetPtrThisVirtBase(InterpState &S, CodePtr OpPC, in GetPtrThisVirtBase()
1663 bool Load(InterpState &S, CodePtr OpPC) { in Load()
1674 bool LoadPop(InterpState &S, CodePtr OpPC) { in LoadPop()
1685 bool Store(InterpState &S, CodePtr OpPC) { in Store()
1697 bool StorePop(InterpState &S, CodePtr OpPC) { in StorePop()
1709 bool StoreBitField(InterpState &S, CodePtr OpPC) { in StoreBitField()
1724 bool StoreBitFieldPop(InterpState &S, CodePtr OpPC) { in StoreBitFieldPop()
1739 bool Init(InterpState &S, CodePtr OpPC) { in Init()
1752 bool InitPop(InterpState &S, CodePtr OpPC) { in InitPop()
1766 bool InitElem(InterpState &S, CodePtr OpPC, uint32_t Idx) { in InitElem()
1780 bool InitElemPop(InterpState &S, CodePtr OpPC, uint32_t Idx) { in InitElemPop()
1792 inline bool Memcpy(InterpState &S, CodePtr OpPC) { in Memcpy()
1802 inline bool ToMemberPtr(InterpState &S, CodePtr OpPC) { in ToMemberPtr()
1810 inline bool CastMemberPtrPtr(InterpState &S, CodePtr OpPC) { in CastMemberPtrPtr()
1825 bool OffsetHelper(InterpState &S, CodePtr OpPC, const T &Offset, in OffsetHelper()
1914 bool AddOffset(InterpState &S, CodePtr OpPC) { in AddOffset()
1921 bool SubOffset(InterpState &S, CodePtr OpPC) { in SubOffset()
1928 static inline bool IncDecPtrHelper(InterpState &S, CodePtr OpPC, in IncDecPtrHelper()
1952 static inline bool IncPtr(InterpState &S, CodePtr OpPC) { in IncPtr()
1961 static inline bool DecPtr(InterpState &S, CodePtr OpPC) { in DecPtr()
1974 inline bool SubPtr(InterpState &S, CodePtr OpPC) { in SubPtr()
2004 inline bool Destroy(InterpState &S, CodePtr OpPC, uint32_t I) { in Destroy()
2013 template <PrimType TIn, PrimType TOut> bool Cast(InterpState &S, CodePtr OpPC) { in Cast()
2022 inline bool CastFP(InterpState &S, CodePtr OpPC, const llvm::fltSemantics *Sem, in CastFP()
2033 bool CastAP(InterpState &S, CodePtr OpPC, uint32_t BitWidth) { in CastAP()
2040 bool CastAPS(InterpState &S, CodePtr OpPC, uint32_t BitWidth) { in CastAPS()
2047 bool CastIntegralFloating(InterpState &S, CodePtr OpPC, in CastIntegralFloating()
2061 bool CastFloatingIntegral(InterpState &S, CodePtr OpPC) { in CastFloatingIntegral()
2090 static inline bool CastFloatingIntegralAP(InterpState &S, CodePtr OpPC, in CastFloatingIntegralAP()
2110 static inline bool CastFloatingIntegralAPS(InterpState &S, CodePtr OpPC, in CastFloatingIntegralAPS()
2131 bool CastPointerIntegral(InterpState &S, CodePtr OpPC) { in CastPointerIntegral()
2145 static inline bool CastPointerIntegralAP(InterpState &S, CodePtr OpPC, in CastPointerIntegralAP()
2161 static inline bool CastPointerIntegralAPS(InterpState &S, CodePtr OpPC, in CastPointerIntegralAPS()
2177 static inline bool PtrPtrCast(InterpState &S, CodePtr OpPC, bool SrcIsVoidPtr) { in PtrPtrCast()
2204 bool Zero(InterpState &S, CodePtr OpPC) { in Zero()
2209 static inline bool ZeroIntAP(InterpState &S, CodePtr OpPC, uint32_t BitWidth) { in ZeroIntAP()
2214 static inline bool ZeroIntAPS(InterpState &S, CodePtr OpPC, uint32_t BitWidth) { in ZeroIntAPS()
2220 inline bool Null(InterpState &S, CodePtr OpPC, const Descriptor *Desc) { in Null()
2230 inline bool This(InterpState &S, CodePtr OpPC) { in This()
2253 inline bool RVOPtr(InterpState &S, CodePtr OpPC) { in RVOPtr()
2267 inline bool DoShift(InterpState &S, CodePtr OpPC, LT &LHS, RT &RHS) { in DoShift()
2329 inline bool Shr(InterpState &S, CodePtr OpPC) { in Shr()
2339 inline bool Shl(InterpState &S, CodePtr OpPC) { in Shl()
2352 inline bool NoRet(InterpState &S, CodePtr OpPC) { in NoRet()
2362 inline bool NarrowPtr(InterpState &S, CodePtr OpPC) { in NarrowPtr()
2368 inline bool ExpandPtr(InterpState &S, CodePtr OpPC) { in ExpandPtr()
2383 inline bool ArrayElemPtr(InterpState &S, CodePtr OpPC) { in ArrayElemPtr()
2399 inline bool ArrayElemPtrPop(InterpState &S, CodePtr OpPC) { in ArrayElemPtrPop()
2415 inline bool ArrayElem(InterpState &S, CodePtr OpPC, uint32_t Index) { in ArrayElem()
2426 inline bool ArrayElemPop(InterpState &S, CodePtr OpPC, uint32_t Index) { in ArrayElemPop()
2437 inline bool CopyArray(InterpState &S, CodePtr OpPC, uint32_t SrcIndex, uint32_t DestIndex, uint32_t… in CopyArray()
2456 inline bool ArrayDecay(InterpState &S, CodePtr OpPC) { in ArrayDecay()
2478 inline bool CallVar(InterpState &S, CodePtr OpPC, const Function *Func, in CallVar()
2528 inline bool Call(InterpState &S, CodePtr OpPC, const Function *Func, in Call()
2577 inline bool CallVirt(InterpState &S, CodePtr OpPC, const Function *Func, in CallVirt()
2620 inline bool CallBI(InterpState &S, CodePtr &PC, const Function *Func, in CallBI()
2635 inline bool CallPtr(InterpState &S, CodePtr OpPC, uint32_t ArgSize, in CallPtr()
2678 inline bool GetFnPtr(InterpState &S, CodePtr OpPC, const Function *Func) { in GetFnPtr()
2685 inline bool GetIntPtr(InterpState &S, CodePtr OpPC, const Descriptor *Desc) { in GetIntPtr()
2692 inline bool GetMemberPtr(InterpState &S, CodePtr OpPC, const Decl *D) { in GetMemberPtr()
2697 inline bool GetMemberPtrBase(InterpState &S, CodePtr OpPC) { in GetMemberPtrBase()
2704 inline bool GetMemberPtrDecl(InterpState &S, CodePtr OpPC) { in GetMemberPtrDecl()
2716 inline bool Invalid(InterpState &S, CodePtr OpPC) { in Invalid()
2723 inline bool Unsupported(InterpState &S, CodePtr OpPC) { in Unsupported()
2731 inline bool Error(InterpState &S, CodePtr OpPC) { return false; } in Error()
2734 inline bool InvalidCast(InterpState &S, CodePtr OpPC, CastKind Kind) { in InvalidCast()
2744 inline bool InvalidDeclRef(InterpState &S, CodePtr OpPC, in InvalidDeclRef()
2750 inline bool SizelessVectorElementSize(InterpState &S, CodePtr OpPC) { in SizelessVectorElementSize()
2759 inline bool Assume(InterpState &S, CodePtr OpPC) { in Assume()
2772 inline bool OffsetOf(InterpState &S, CodePtr OpPC, const OffsetOfExpr *E) { in OffsetOf()
2787 inline bool CheckNonNullArg(InterpState &S, CodePtr OpPC) { in CheckNonNullArg()
2802 inline bool CheckEnumValue(InterpState &S, CodePtr OpPC, const EnumDecl *ED) { in CheckEnumValue()
2814 inline bool DecayPtr(InterpState &S, CodePtr OpPC) { in DecayPtr()
2824 inline bool CheckDecl(InterpState &S, CodePtr OpPC, const VarDecl *VD) { in CheckDecl()
2843 inline bool Alloc(InterpState &S, CodePtr OpPC, const Descriptor *Desc) { in Alloc()
2859 inline bool AllocN(InterpState &S, CodePtr OpPC, PrimType T, const Expr *Source, in AllocN()
2884 inline bool AllocCN(InterpState &S, CodePtr OpPC, const Descriptor *ElementDesc, in AllocCN()
2911 static inline bool Free(InterpState &S, CodePtr OpPC, bool DeleteIsArrayForm) { in Free()
2964 template <typename T> inline T ReadArg(InterpState &S, CodePtr &OpPC) { in ReadArg()