Lines Matching defs:Interpreter
1 //===------ Interpreter.cpp - Incremental Compilation and Execution -------===//
42 #include "clang/Interpreter/Interpreter.h"
43 #include "clang/Interpreter/Value.h"
251 Interpreter &Interp;
254 InProcessPrintingASTConsumer(std::unique_ptr<ASTConsumer> C, Interpreter &I)
289 Interpreter &Interp;
294 llvm::Error &Err, Interpreter &I,
364 Interpreter::Interpreter(std::unique_ptr<CompilerInstance> Instance,
392 // Interpreter::Execute
415 Interpreter::~Interpreter() {
452 llvm::Expected<std::unique_ptr<Interpreter>>
453 Interpreter::create(std::unique_ptr<CompilerInstance> CI) {
456 std::unique_ptr<Interpreter>(new Interpreter(std::move(CI), Err));
471 llvm::Expected<std::unique_ptr<Interpreter>>
472 Interpreter::createWithCUDA(std::unique_ptr<CompilerInstance> CI,
483 auto Interp = Interpreter::create(std::move(CI));
499 const CompilerInstance *Interpreter::getCompilerInstance() const {
503 CompilerInstance *Interpreter::getCompilerInstance() { return CI.get(); }
505 llvm::Expected<llvm::orc::LLJIT &> Interpreter::getExecutionEngine() {
514 ASTContext &Interpreter::getASTContext() {
518 const ASTContext &Interpreter::getASTContext() const {
522 void Interpreter::markUserCodeStart() {
527 size_t Interpreter::getEffectivePTUSize() const {
533 Interpreter::RegisterPTU(TranslationUnitDecl *TU,
555 Interpreter::Parse(llvm::StringRef Code) {
586 llvm::Error Interpreter::CreateExecutor() {
619 void Interpreter::ResetExecutor() { IncrExecutor.reset(); }
621 llvm::Error Interpreter::Execute(PartialTranslationUnit &T) {
646 llvm::Error Interpreter::ParseAndExecute(llvm::StringRef Code, Value *V) {
666 Interpreter::getSymbolAddress(GlobalDecl GD) const {
676 Interpreter::getSymbolAddress(llvm::StringRef IRName) const {
686 Interpreter::getSymbolAddressFromLinkerName(llvm::StringRef Name) const {
695 llvm::Error Interpreter::Undo(unsigned N) {
713 llvm::Error Interpreter::LoadDynamicLibrary(const char *name) {
729 std::unique_ptr<llvm::Module> Interpreter::GenModule() {
753 CodeGenerator *Interpreter::getCodeGen() const {