Home
last modified time | relevance | path

Searched refs:InterpState (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterp.h43 bool ReturnValue(const InterpState &S, const T &V, APValue &R) { in ReturnValue()
49 bool CheckExtern(InterpState &S, CodePtr OpPC, const Pointer &Ptr);
52 bool CheckArray(InterpState &S, CodePtr OpPC, const Pointer &Ptr);
55 bool CheckLive(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
59 bool CheckDummy(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
63 bool CheckNull(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
67 bool CheckRange(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
71 bool CheckRange(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
75 bool CheckSubobject(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
80 bool CheckDowncast(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
[all …]
H A DInterp.cpp34 static bool RetValue(InterpState &S, CodePtr &Pt, APValue &Result) { in RetValue()
42 static bool Jmp(InterpState &S, CodePtr &PC, int32_t Offset) { in Jmp()
47 static bool Jt(InterpState &S, CodePtr &PC, int32_t Offset) { in Jt()
54 static bool Jf(InterpState &S, CodePtr &PC, int32_t Offset) { in Jf()
61 static void diagnoseMissingInitializer(InterpState &S, CodePtr OpPC, in diagnoseMissingInitializer()
68 static void diagnoseNonConstVariable(InterpState &S, CodePtr OpPC,
70 static bool diagnoseUnknownDecl(InterpState &S, CodePtr OpPC, in diagnoseUnknownDecl()
93 static void diagnoseNonConstVariable(InterpState &S, CodePtr OpPC, in diagnoseNonConstVariable()
125 static bool CheckActive(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckActive()
157 static bool CheckTemporary(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckTemporary()
[all …]
H A DInterpState.cpp18 InterpState::InterpState(State &Parent, Program &P, InterpStack &Stk, in InterpState() function in InterpState
22 InterpState::~InterpState() { in ~InterpState()
36 void InterpState::cleanup() { in cleanup()
48 Frame *InterpState::getCurrentFrame() { in getCurrentFrame()
54 bool InterpState::reportOverflow(const Expr *E, const llvm::APSInt &Value) { in reportOverflow()
60 void InterpState::deallocate(Block *B) { in deallocate()
89 bool InterpState::maybeDiagnoseDanglingAllocations() { in maybeDiagnoseDanglingAllocations()
H A DInterpState.h36 class InterpState final : public State, public SourceMapper {
38 InterpState(State &Parent, Program &P, InterpStack &Stk, Context &Ctx,
41 ~InterpState();
45 InterpState(const InterpState &) = delete;
46 InterpState &operator=(const InterpState &) = delete;
H A DInterpBuiltin.cpp21 static unsigned callArgSize(const InterpState &S, const CallExpr *C) { in callArgSize()
38 PrimType getIntPrimType(const InterpState &S) { in getIntPrimType()
49 PrimType getLongPrimType(const InterpState &S) { in getLongPrimType()
74 static void pushInteger(InterpState &S, const APSInt &Val, QualType QT) { in pushInteger()
91 static void pushInteger(InterpState &S, T Val, QualType QT) { in pushInteger()
107 static bool retPrimValue(InterpState &S, CodePtr OpPC, APValue &Result, in retPrimValue()
134 static bool interp__builtin_is_constant_evaluated(InterpState &S, CodePtr OpPC, in interp__builtin_is_constant_evaluated()
164 static bool interp__builtin_strcmp(InterpState &S, CodePtr OpPC, in interp__builtin_strcmp()
207 static bool interp__builtin_strlen(InterpState &S, CodePtr OpPC, in interp__builtin_strlen()
240 static bool interp__builtin_nan(InterpState &S, CodePtr OpPC, in interp__builtin_nan()
[all …]
H A DInterpFrame.h22 class InterpState; variable
32 InterpFrame(InterpState &S, const Function *Func, InterpFrame *Caller,
39 InterpFrame(InterpState &S, const Function *Func, CodePtr RetPC,
149 InterpState &S;
H A DEvaluationResult.cpp53 static void DiagnoseUninitializedSubobject(InterpState &S, SourceLocation Loc, in DiagnoseUninitializedSubobject()
62 static bool CheckFieldsInitialized(InterpState &S, SourceLocation Loc,
65 static bool CheckArrayInitialized(InterpState &S, SourceLocation Loc, in CheckArrayInitialized()
95 static bool CheckFieldsInitialized(InterpState &S, SourceLocation Loc, in CheckFieldsInitialized()
148 bool EvaluationResult::checkFullyInitialized(InterpState &S, in checkFullyInitialized()
218 bool EvaluationResult::checkReturnValue(InterpState &S, const Context &Ctx, in checkReturnValue()
H A DEvaluationResult.h102 bool checkFullyInitialized(InterpState &S, const Pointer &Ptr) const;
105 bool checkReturnValue(InterpState &S, const Context &Ctx, const Pointer &Ptr,
121 friend class InterpState; variable
H A DInterpBlock.h28 class InterpState; variable
133 friend class InterpState; variable
191 friend class InterpState; variable
H A DDynamicAllocator.h22 class InterpState; variable
71 InterpState &S);
H A DEvalEmitter.h44 InterpState &getState() { return S; } in getState()
94 InterpState S;
H A DInterpFrame.cpp25 InterpFrame::InterpFrame(InterpState &S, const Function *Func, in InterpFrame()
48 InterpFrame::InterpFrame(InterpState &S, const Function *Func, CodePtr RetPC, in InterpFrame()
H A DDynamicAllocator.cpp92 const Block *BlockToDelete, InterpState &S) { in deallocate()
H A DContext.cpp205 InterpState State(Parent, *P, Stk, *this); in Run()
H A DEvalEmitter.cpp136 static bool checkReturnState(InterpState &S) { in checkReturnState()
H A DPointer.h653 friend class InterpState; variable
/freebsd/lib/clang/libclang/
H A DMakefile110 SRCS_MIN+= AST/Interp/InterpState.cpp