Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterp.h302 bool Add(InterpState &S, CodePtr OpPC) { in Add()
320 bool Sub(InterpState &S, CodePtr OpPC) { in Sub()
338 bool Mul(InterpState &S, CodePtr OpPC) { in Mul()
409 bool Rem(InterpState &S, CodePtr OpPC) { in Rem()
429 bool Div(InterpState &S, CodePtr OpPC) { in Div()
783 bool EQ(InterpState &S, CodePtr OpPC) { in EQ()
814 bool NE(InterpState &S, CodePtr OpPC) { in NE()
821 bool LT(InterpState &S, CodePtr OpPC) { in LT()
828 bool LE(InterpState &S, CodePtr OpPC) { in LE()
836 bool GT(InterpState &S, CodePtr OpPC) { in GT()
[all …]
H A DInterp.cpp29 static bool RetValue(InterpState &S, CodePtr &Pt, APValue &Result) { in RetValue()
37 static bool Jmp(InterpState &S, CodePtr &PC, int32_t Offset) { in Jmp()
42 static bool Jt(InterpState &S, CodePtr &PC, int32_t Offset) { in Jt()
49 static bool Jf(InterpState &S, CodePtr &PC, int32_t Offset) { in Jf()
56 static void diagnoseNonConstVariable(InterpState &S, CodePtr OpPC, in diagnoseNonConstVariable()
143 static void popArg(InterpState &S, const Expr *Arg) { in popArg()
148 void cleanupAfterFunctionCall(InterpState &S, CodePtr OpPC) { in cleanupAfterFunctionCall()
206 bool CheckLive(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckLive()
278 bool CheckNull(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckNull()
463 bool CheckCallDepth(InterpState &S, CodePtr OpPC) { in CheckCallDepth()
[all …]
H A DInterpState.cpp18 InterpState::InterpState(State &Parent, Program &P, InterpStack &Stk, in InterpState() function in InterpState
22 InterpState::~InterpState() { in ~InterpState()
36 Frame *InterpState::getCurrentFrame() { in getCurrentFrame()
42 bool InterpState::reportOverflow(const Expr *E, const llvm::APSInt &Value) { in reportOverflow()
48 void InterpState::deallocate(Block *B) { in deallocate()
H A DInterpState.h35 class InterpState final : public State, public SourceMapper {
37 InterpState(State &Parent, Program &P, InterpStack &Stk, Context &Ctx,
40 ~InterpState();
42 InterpState(const InterpState &) = delete;
43 InterpState &operator=(const InterpState &) = delete;
H A DInterpBuiltin.cpp26 PrimType getIntPrimType(const InterpState &S) { in getIntPrimType()
37 PrimType getLongPrimType(const InterpState &S) { in getLongPrimType()
66 static void pushInt(InterpState &S, int32_t Val) { in pushInt()
76 static void pushAPSInt(InterpState &S, const APSInt &Val) { in pushAPSInt()
127 static void pushLong(InterpState &S, int64_t Val) { in pushLong()
139 static void pushSizeT(InterpState &S, uint64_t Val) { in pushSizeT()
255 static bool interp__builtin_nan(InterpState &S, CodePtr OpPC, in interp__builtin_nan()
316 static bool interp__builtin_inf(InterpState &S, CodePtr OpPC, in interp__builtin_inf()
338 static bool interp__builtin_fmin(InterpState &S, CodePtr OpPC, in interp__builtin_fmin()
357 static bool interp__builtin_fmax(InterpState &S, CodePtr OpPC, in interp__builtin_fmax()
[all …]
H A DInterpFrame.h24 class InterpState; variable
34 InterpFrame(InterpState &S, const Function *Func, InterpFrame *Caller,
41 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()
135 bool EvaluationResult::checkFullyInitialized(InterpState &S) const { in checkFullyInitialized()
H A DInterpBlock.h28 class InterpState; variable
124 friend class InterpState; variable
173 friend class InterpState; variable
H A DEvalEmitter.h40 InterpState &getState() { return S; } in getState()
86 InterpState S;
H A DInterpFrame.cpp24 InterpFrame::InterpFrame(InterpState &S, const Function *Func, in InterpFrame()
53 InterpFrame::InterpFrame(InterpState &S, const Function *Func, CodePtr RetPC) in InterpFrame()
H A DEvaluationResult.h100 bool checkFullyInitialized(InterpState &S) const;
H A DContext.cpp210 InterpState State(Parent, *P, Stk, *this); in Run()
/freebsd/lib/clang/libclang/
H A DMakefile110 SRCS_MIN+= AST/Interp/InterpState.cpp