Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DInterp.h45 bool CheckExtern(InterpState &S, CodePtr OpPC, const Pointer &Ptr);
48 bool CheckArray(InterpState &S, CodePtr OpPC, const Pointer &Ptr);
51 bool CheckLive(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
55 bool CheckDummy(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
59 bool CheckNull(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
63 bool CheckRange(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
67 bool CheckRange(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
71 bool CheckSubobject(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
76 bool CheckDowncast(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
80 bool CheckConst(InterpState &S, CodePtr OpPC, const Pointer &Ptr);
[all …]
H A DInterpState.cpp18 InterpState::InterpState(State &Parent, Program &P, InterpStack &Stk, in InterpState() function in InterpState
23 InterpState::InterpState(State &Parent, Program &P, InterpStack &Stk, in InterpState() function in InterpState
29 bool InterpState::inConstantContext() const { in inConstantContext()
36 InterpState::~InterpState() { in ~InterpState()
51 void InterpState::cleanup() { in cleanup()
63 Frame *InterpState::getCurrentFrame() { in getCurrentFrame()
69 bool InterpState::reportOverflow(const Expr *E, const llvm::APSInt &Value) { in reportOverflow()
75 void InterpState::deallocate(Block *B) { in deallocate()
104 bool InterpState::maybeDiagnoseDanglingAllocations() { in maybeDiagnoseDanglingAllocations()
121 StdAllocatorCaller InterpState::getStdAllocatorCaller(StringRef Name) const { in getStdAllocatorCaller()
H A DInterp.cpp31 static bool RetValue(InterpState &S, CodePtr &Pt) { in RetValue()
39 static bool Jmp(InterpState &S, CodePtr &PC, int32_t Offset) { in Jmp()
44 static bool Jt(InterpState &S, CodePtr &PC, int32_t Offset) { in Jt()
51 static bool Jf(InterpState &S, CodePtr &PC, int32_t Offset) { in Jf()
64 static bool BCP(InterpState &S, CodePtr &RealPC, int32_t Offset, PrimType PT) { in BCP()
128 static void diagnoseMissingInitializer(InterpState &S, CodePtr OpPC, in diagnoseMissingInitializer()
135 static void diagnoseNonConstVariable(InterpState &S, CodePtr OpPC,
137 static bool diagnoseUnknownDecl(InterpState &S, CodePtr OpPC, in diagnoseUnknownDecl()
173 static void diagnoseNonConstVariable(InterpState &S, CodePtr OpPC, in diagnoseNonConstVariable()
210 static bool CheckTemporary(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckTemporary()
[all …]
H A DInterpState.h43 class InterpState final : public State, public SourceMapper {
45 InterpState(State &Parent, Program &P, InterpStack &Stk, Context &Ctx,
47 InterpState(State &Parent, Program &P, InterpStack &Stk, Context &Ctx,
50 ~InterpState();
54 InterpState(const InterpState &) = delete;
55 InterpState &operator=(const InterpState &) = delete;
202 InterpStateCCOverride(InterpState &Ctx, bool Value) in InterpStateCCOverride()
216 InterpState &Ctx;
H A DInterpBuiltinBitCast.h18 class InterpState; variable
27 bool DoBitCast(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
30 bool DoBitCastPtr(InterpState &S, CodePtr OpPC, const Pointer &FromPtr,
32 bool DoBitCastPtr(InterpState &S, CodePtr OpPC, const Pointer &FromPtr,
37 bool DoMemcpy(InterpState &S, CodePtr OpPC, const Pointer &SrcPtr,
H A DInterpBuiltin.cpp54 static void pushInteger(InterpState &S, const APSInt &Val, QualType QT) { in pushInteger()
87 static void pushInteger(InterpState &S, T Val, QualType QT) { in pushInteger()
100 static void assignInteger(InterpState &S, const Pointer &Dest, PrimType ValueT, in assignInteger()
131 static void diagnoseNonConstexprBuiltin(InterpState &S, CodePtr OpPC, in diagnoseNonConstexprBuiltin()
145 static bool interp__builtin_is_constant_evaluated(InterpState &S, CodePtr OpPC, in interp__builtin_is_constant_evaluated()
176 static bool interp__builtin_assume(InterpState &S, CodePtr OpPC, in interp__builtin_assume()
184 static bool interp__builtin_strcmp(InterpState &S, CodePtr OpPC, in interp__builtin_strcmp()
266 static bool interp__builtin_strlen(InterpState &S, CodePtr OpPC, in interp__builtin_strlen()
321 static bool interp__builtin_nan(InterpState &S, CodePtr OpPC, in interp__builtin_nan()
383 static bool interp__builtin_inf(InterpState &S, CodePtr OpPC, in interp__builtin_inf()
[all …]
H A DInterpFrame.h22 class InterpState; variable
32 InterpFrame(InterpState &S);
35 InterpFrame(InterpState &S, const Function *Func, InterpFrame *Caller,
42 InterpFrame(InterpState &S, const Function *Func, CodePtr RetPC,
160 InterpState &S;
H A DEvaluationResult.cpp54 static void DiagnoseUninitializedSubobject(InterpState &S, SourceLocation Loc, in DiagnoseUninitializedSubobject()
63 static bool CheckFieldsInitialized(InterpState &S, SourceLocation Loc,
66 static bool CheckArrayInitialized(InterpState &S, SourceLocation Loc, in CheckArrayInitialized()
96 static bool CheckFieldsInitialized(InterpState &S, SourceLocation Loc, in CheckFieldsInitialized()
149 bool EvaluationResult::checkFullyInitialized(InterpState &S, in checkFullyInitialized()
219 bool EvaluationResult::checkReturnValue(InterpState &S, const Context &Ctx, in checkReturnValue()
H A DEvaluationResult.h98 bool checkFullyInitialized(InterpState &S, const Pointer &Ptr) const;
101 bool checkReturnValue(InterpState &S, const Context &Ctx, const Pointer &Ptr,
117 friend class InterpState; variable
H A DInterpBlock.h28 class InterpState; variable
137 friend class InterpState; variable
196 friend class InterpState; variable
H A DDynamicAllocator.h22 class InterpState; variable
82 InterpState &S);
H A DInterpBuiltinBitCast.cpp173 static bool CheckBitcastType(InterpState &S, CodePtr OpPC, QualType T, in CheckBitcastType()
326 bool clang::interp::DoBitCast(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in DoBitCast()
359 bool clang::interp::DoBitCastPtr(InterpState &S, CodePtr OpPC, in DoBitCastPtr()
367 bool clang::interp::DoBitCastPtr(InterpState &S, CodePtr OpPC, in DoBitCastPtr()
471 bool clang::interp::DoMemcpy(InterpState &S, CodePtr OpPC, in DoMemcpy()
H A DInterpFrame.cpp25 InterpFrame::InterpFrame(InterpState &S) in InterpFrame()
29 InterpFrame::InterpFrame(InterpState &S, const Function *Func, in InterpFrame()
52 InterpFrame::InterpFrame(InterpState &S, const Function *Func, CodePtr RetPC, in InterpFrame()
H A DEvalEmitter.h102 InterpState S;
H A DDynamicAllocator.cpp106 const Block *BlockToDelete, InterpState &S) { in deallocate()
H A DContext.cpp352 InterpState State(Parent, *P, Stk, *this, Func); in Run()
H A DPointer.h773 friend class InterpState; variable
/freebsd/lib/clang/libclang/
H A DMakefile81 SRCS_MIN+= AST/ByteCode/InterpState.cpp