Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/unittests/Interpreter/
H A DInterpreterTest.cpp55 PTU &R2(cantFail(Interp->Parse("int i;"))); in TEST()
73 auto R2 = Interp->Parse("int var2 = f();"); in TEST()
113 auto R1 = Interp->Parse( in TEST()
143 auto Err1 = Interp->Undo(); in TEST()
148 auto Err3 = Interp->Undo(2); in TEST()
153 auto Err4 = Interp->Parse("int x = 42;"); in TEST()
155 auto Err5 = Interp->Undo(); in TEST()
157 auto Err6 = Interp->Parse("int x = 24;"); in TEST()
161 auto Err8 = Interp->Undo(); in TEST()
167 auto Err10 = Interp->Parse("int y = ;"); in TEST()
[all …]
H A DIncrementalProcessingTest.cpp56 auto Interp = llvm::cantFail(Interpreter::create(std::move(CI))); in TEST() local
60 PTUs[0] = &llvm::cantFail(Interp->Parse(TestProgram1)); in TEST()
64 PTUs[1] = &llvm::cantFail(Interp->Parse(TestProgram2)); in TEST()
/llvm-project-15.0.7/clang/lib/AST/
H A DCMakeLists.txt69 Interp/Context.cpp
71 Interp/Disasm.cpp
73 Interp/Frame.cpp
74 Interp/Function.cpp
75 Interp/Interp.cpp
80 Interp/Pointer.cpp
81 Interp/PrimType.cpp
82 Interp/Program.cpp
83 Interp/Record.cpp
84 Interp/Source.cpp
[all …]
/llvm-project-15.0.7/llvm/utils/gn/secondary/clang/lib/AST/
H A DBUILD.gn6 td_file = "Interp/Opcodes.td"
97 "Interp/Context.cpp",
99 "Interp/Disasm.cpp",
101 "Interp/Frame.cpp",
102 "Interp/Function.cpp",
103 "Interp/Interp.cpp",
108 "Interp/Pointer.cpp",
110 "Interp/Program.cpp",
111 "Interp/Record.cpp",
112 "Interp/Source.cpp",
[all …]
/llvm-project-15.0.7/clang/unittests/Interpreter/ExceptionTests/
H A DInterpreterExceptionTest.cpp97 std::unique_ptr<Interpreter> Interp = createInterpreter(); in TEST() local
99 const clang::CompilerInstance *CI = Interp->getCompilerInstance(); in TEST()
119 llvm::cantFail(Interp->ParseAndExecute("")); in TEST()
120 auto Sym = Interp->getSymbolAddress("__cxa_throw"); in TEST()
127 llvm::cantFail(Interp->ParseAndExecute(ExceptionCode)); in TEST()
130 (int (*)())llvm::cantFail(Interp->getSymbolAddress("throw_exception")); in TEST()
/llvm-project-15.0.7/clang/tools/clang-repl/
H A DClangRepl.cpp102 auto Interp = ExitOnErr(clang::Interpreter::create(std::move(CI))); in main() local
104 if (auto Err = Interp->ParseAndExecute(input)) in main()
115 if (auto Err = Interp->Undo()) in main()
120 if (auto Err = Interp->ParseAndExecute(*Line)) in main()
132 return checkDiagErrors(Interp->getCompilerInstance()); in main()
/llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugLoc.cpp129 DWARFLocationInterpreter Interp( in dumpLocationList() local
137 Expected<Optional<DWARFLocationExpression>> Loc = Interp.Interpret(E); in dumpLocationList()
176 DWARFLocationInterpreter Interp(BaseAddr, std::move(LookupAddr)); in visitAbsoluteLocationList() local
178 Expected<Optional<DWARFLocationExpression>> Loc = Interp.Interpret(E); in visitAbsoluteLocationList()
/llvm-project-15.0.7/clang/lib/Interpreter/
H A DInterpreter.cpp191 auto Interp = in create() local
195 return std::move(Interp); in create()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp125 if (ExecutionEngine *Interp = builder.create()) { in LLVMCreateInterpreterForModule() local
126 *OutInterp = wrap(Interp); in LLVMCreateInterpreterForModule()
/llvm-project-15.0.7/utils/bazel/llvm-project-overlay/clang/
H A DBUILD.bazel643 "lib/AST/Interp/Opcodes.inc",
646 td_file = "lib/AST/Interp/Opcodes.td",
647 td_srcs = ["lib/AST/Interp/Opcodes.td"],
708 "lib/AST/Interp/*.cpp",
709 "lib/AST/Interp/*.h",
712 "lib/AST/Interp/Opcodes.inc",
728 "-I$(GENDIR)/external/llvm-project/clang/lib/AST/Interp",
/llvm-project-15.0.7/clang/docs/
H A DConstantInterpreter.rst35 implemented as generic template methods in ``Interp.h`` and instantiated
H A DClangFormattedStatus.rst442 * - clang/lib/AST/Interp
/llvm-project-15.0.7/clang/docs/tools/
H A Dclang-formatted-files.txt327 clang/lib/AST/Interp/Context.cpp
328 clang/lib/AST/Interp/Context.h
330 clang/lib/AST/Interp/Disasm.cpp
332 clang/lib/AST/Interp/Frame.cpp
333 clang/lib/AST/Interp/Frame.h
335 clang/lib/AST/Interp/Opcode.h
338 clang/lib/AST/Interp/Record.h
339 clang/lib/AST/Interp/Source.cpp
340 clang/lib/AST/Interp/Source.h
341 clang/lib/AST/Interp/State.cpp
[all …]