reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/lib/AST/Interp/Block.h
   29 class InterpState;
tools/clang/lib/AST/Interp/EvalEmitter.h
   30 class InterpState;
tools/clang/lib/AST/Interp/InterpFrame.h
   26 class InterpState;
tools/clang/lib/AST/Interp/Pointer.h
   30 class InterpState;

References

tools/clang/lib/AST/Interp/Context.cpp
  122     InterpState State(Parent, *P, Stk, *this);
tools/clang/lib/AST/Interp/EvalEmitter.h
   89   InterpState S;
tools/clang/lib/AST/Interp/Interp.cpp
   34 static bool Ret(InterpState &S, CodePtr &PC, APValue &Result) {
   56 static bool RetVoid(InterpState &S, CodePtr &PC, APValue &Result) {
   74 static bool RetValue(InterpState &S, CodePtr &Pt, APValue &Result) {
   82 static bool Jmp(InterpState &S, CodePtr &PC, int32_t Offset) {
   87 static bool Jt(InterpState &S, CodePtr &PC, int32_t Offset) {
   94 static bool Jf(InterpState &S, CodePtr &PC, int32_t Offset) {
  101 static bool CheckInitialized(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
  112 static bool CheckActive(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
  144 static bool CheckTemporary(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
  164 static bool CheckGlobal(InterpState &S, CodePtr OpPC, const Pointer &Ptr) {
  181 bool CheckExtern(InterpState &S, CodePtr OpPC, const Pointer &Ptr) {
  194 bool CheckArray(InterpState &S, CodePtr OpPC, const Pointer &Ptr) {
  202 bool CheckLive(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
  231 bool CheckNull(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
  240 bool CheckRange(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
  249 bool CheckRange(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
  258 bool CheckConst(InterpState &S, CodePtr OpPC, const Pointer &Ptr) {
  270 bool CheckMutable(InterpState &S, CodePtr OpPC, const Pointer &Ptr) {
  283 bool CheckLoad(InterpState &S, CodePtr OpPC, const Pointer &Ptr) {
  301 bool CheckStore(InterpState &S, CodePtr OpPC, const Pointer &Ptr) {
  315 bool CheckInvoke(InterpState &S, CodePtr OpPC, const Pointer &Ptr) {
  325 bool CheckInit(InterpState &S, CodePtr OpPC, const Pointer &Ptr) {
  333 bool CheckCallable(InterpState &S, CodePtr OpPC, Function *F) {
  375 bool CheckThis(InterpState &S, CodePtr OpPC, const Pointer &This) {
  393 bool CheckPure(InterpState &S, CodePtr OpPC, const CXXMethodDecl *MD) {
  401 bool Interpret(InterpState &S, APValue &Result) {
tools/clang/lib/AST/Interp/Interp.h
   47 bool CheckExtern(InterpState &S, CodePtr OpPC, const Pointer &Ptr);
   50 bool CheckArray(InterpState &S, CodePtr OpPC, const Pointer &Ptr);
   53 bool CheckLive(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
   56 bool CheckNull(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
   60 bool CheckRange(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
   64 bool CheckRange(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
   68 bool CheckConst(InterpState &S, CodePtr OpPC, const Pointer &Ptr);
   71 bool CheckMutable(InterpState &S, CodePtr OpPC, const Pointer &Ptr);
   74 bool CheckLoad(InterpState &S, CodePtr OpPC, const Pointer &Ptr);
   77 bool CheckStore(InterpState &S, CodePtr OpPC, const Pointer &Ptr);
   80 bool CheckInvoke(InterpState &S, CodePtr OpPC, const Pointer &Ptr);
   83 bool CheckInit(InterpState &S, CodePtr OpPC, const Pointer &Ptr);
   86 bool CheckCallable(InterpState &S, CodePtr OpPC, Function *F);
   89 bool CheckThis(InterpState &S, CodePtr OpPC, const Pointer &This);
   92 bool CheckPure(InterpState &S, CodePtr OpPC, const CXXMethodDecl *MD);
  102 bool AddSubMulHelper(InterpState &S, CodePtr OpPC, unsigned Bits, const T &LHS,
  132 bool Add(InterpState &S, CodePtr OpPC) {
  140 bool Sub(InterpState &S, CodePtr OpPC) {
  148 bool Mul(InterpState &S, CodePtr OpPC) {
  162 bool CmpHelper(InterpState &S, CodePtr OpPC, CompareFn Fn) {
  171 bool CmpHelperEQ(InterpState &S, CodePtr OpPC, CompareFn Fn) {
  176 inline bool CmpHelper<Pointer>(InterpState &S, CodePtr OpPC, CompareFn Fn) {
  194 inline bool CmpHelperEQ<Pointer>(InterpState &S, CodePtr OpPC, CompareFn Fn) {
  219 bool EQ(InterpState &S, CodePtr OpPC) {
  226 bool NE(InterpState &S, CodePtr OpPC) {
  233 bool LT(InterpState &S, CodePtr OpPC) {
  240 bool LE(InterpState &S, CodePtr OpPC) {
  248 bool GT(InterpState &S, CodePtr OpPC) {
  255 bool GE(InterpState &S, CodePtr OpPC) {
  267 bool InRange(InterpState &S, CodePtr OpPC) {
  281 bool Dup(InterpState &S, CodePtr OpPC) {
  287 bool Pop(InterpState &S, CodePtr OpPC) {
  297 bool Const(InterpState &S, CodePtr OpPC, const T &Arg) {
  307 bool GetLocal(InterpState &S, CodePtr OpPC, uint32_t I) {
  313 bool SetLocal(InterpState &S, CodePtr OpPC, uint32_t I) {
  319 bool GetParam(InterpState &S, CodePtr OpPC, uint32_t I) {
  328 bool SetParam(InterpState &S, CodePtr OpPC, uint32_t I) {
  334 bool GetField(InterpState &S, CodePtr OpPC, uint32_t I) {
  348 bool SetField(InterpState &S, CodePtr OpPC, uint32_t I) {
  363 bool GetFieldPop(InterpState &S, CodePtr OpPC, uint32_t I) {
  377 bool GetThisField(InterpState &S, CodePtr OpPC, uint32_t I) {
  391 bool SetThisField(InterpState &S, CodePtr OpPC, uint32_t I) {
  406 bool GetGlobal(InterpState &S, CodePtr OpPC, uint32_t I) {
  415 bool SetGlobal(InterpState &S, CodePtr OpPC, uint32_t I) {
  421 bool InitGlobal(InterpState &S, CodePtr OpPC, uint32_t I) {
  427 bool InitThisField(InterpState &S, CodePtr OpPC, uint32_t I) {
  440 bool InitThisBitField(InterpState &S, CodePtr OpPC, const Record::Field *F) {
  454 bool InitThisFieldActive(InterpState &S, CodePtr OpPC, uint32_t I) {
  468 bool InitField(InterpState &S, CodePtr OpPC, uint32_t I) {
  478 bool InitBitField(InterpState &S, CodePtr OpPC, const Record::Field *F) {
  488 bool InitFieldActive(InterpState &S, CodePtr OpPC, uint32_t I) {
  502 inline bool GetPtrLocal(InterpState &S, CodePtr OpPC, uint32_t I) {
  507 inline bool GetPtrParam(InterpState &S, CodePtr OpPC, uint32_t I) {
  515 inline bool GetPtrGlobal(InterpState &S, CodePtr OpPC, uint32_t I) {
  520 inline bool GetPtrField(InterpState &S, CodePtr OpPC, uint32_t Off) {
  532 inline bool GetPtrThisField(InterpState &S, CodePtr OpPC, uint32_t Off) {
  542 inline bool GetPtrActiveField(InterpState &S, CodePtr OpPC, uint32_t Off) {
  555 inline bool GetPtrActiveThisField(InterpState &S, CodePtr OpPC, uint32_t Off) {
  568 inline bool GetPtrBase(InterpState &S, CodePtr OpPC, uint32_t Off) {
  576 inline bool GetPtrThisBase(InterpState &S, CodePtr OpPC, uint32_t Off) {
  586 inline bool VirtBaseHelper(InterpState &S, CodePtr OpPC, const RecordDecl *Decl,
  597 inline bool GetPtrVirtBase(InterpState &S, CodePtr OpPC, const RecordDecl *D) {
  604 inline bool GetPtrThisVirtBase(InterpState &S, CodePtr OpPC,
  619 bool Load(InterpState &S, CodePtr OpPC) {
  628 bool LoadPop(InterpState &S, CodePtr OpPC) {
  637 bool Store(InterpState &S, CodePtr OpPC) {
  647 bool StorePop(InterpState &S, CodePtr OpPC) {
  657 bool StoreBitField(InterpState &S, CodePtr OpPC) {
  671 bool StoreBitFieldPop(InterpState &S, CodePtr OpPC) {
  685 bool InitPop(InterpState &S, CodePtr OpPC) {
  696 bool InitElem(InterpState &S, CodePtr OpPC, uint32_t Idx) {
  707 bool InitElemPop(InterpState &S, CodePtr OpPC, uint32_t Idx) {
  721 template <class T, bool Add> bool OffsetHelper(InterpState &S, CodePtr OpPC) {
  780 bool AddOffset(InterpState &S, CodePtr OpPC) {
  785 bool SubOffset(InterpState &S, CodePtr OpPC) {
  794 inline bool Destroy(InterpState &S, CodePtr OpPC, uint32_t I) {
  803 template <PrimType TIn, PrimType TOut> bool Cast(InterpState &S, CodePtr OpPC) {
  815 bool Zero(InterpState &S, CodePtr OpPC) {
  821 inline bool Null(InterpState &S, CodePtr OpPC) {
  830 inline bool This(InterpState &S, CodePtr OpPC) {
  849 unsigned Trunc(InterpState &S, CodePtr OpPC, unsigned Bits, const T &V) {
  864 inline bool ShiftRight(InterpState &S, CodePtr OpPC, const T &V, unsigned RHS) {
  874 inline bool ShiftLeft(InterpState &S, CodePtr OpPC, const T &V, unsigned RHS) {
  899 inline bool Shr(InterpState &S, CodePtr OpPC) {
  914 inline bool Shl(InterpState &S, CodePtr OpPC) {
  932 inline bool NoRet(InterpState &S, CodePtr OpPC) {
  942 inline bool NarrowPtr(InterpState &S, CodePtr OpPC) {
  948 inline bool ExpandPtr(InterpState &S, CodePtr OpPC) {
  955 bool Interpret(InterpState &S, APValue &Result);
tools/clang/lib/AST/Interp/InterpFrame.cpp
   20 InterpFrame::InterpFrame(InterpState &S, Function *Func, InterpFrame *Caller,
tools/clang/lib/AST/Interp/InterpFrame.h
   35   InterpFrame(InterpState &S, Function *Func, InterpFrame *Caller,
  131   InterpState &S;