Lines Matching refs:Interpreter
243 Interpreter::Interpreter(std::unique_ptr<CompilerInstance> CI, in Interpreter() function in Interpreter
272 Interpreter::~Interpreter() { in ~Interpreter()
307 llvm::Expected<std::unique_ptr<Interpreter>>
308 Interpreter::create(std::unique_ptr<CompilerInstance> CI) { in create()
311 std::unique_ptr<Interpreter>(new Interpreter(std::move(CI), Err)); in create()
326 llvm::Expected<std::unique_ptr<Interpreter>>
327 Interpreter::createWithCUDA(std::unique_ptr<CompilerInstance> CI, in createWithCUDA()
338 auto Interp = Interpreter::create(std::move(CI)); in createWithCUDA()
354 const CompilerInstance *Interpreter::getCompilerInstance() const { in getCompilerInstance()
358 CompilerInstance *Interpreter::getCompilerInstance() { in getCompilerInstance()
362 llvm::Expected<llvm::orc::LLJIT &> Interpreter::getExecutionEngine() { in getExecutionEngine()
371 ASTContext &Interpreter::getASTContext() { in getASTContext()
375 const ASTContext &Interpreter::getASTContext() const { in getASTContext()
379 void Interpreter::markUserCodeStart() { in markUserCodeStart()
384 size_t Interpreter::getEffectivePTUSize() const { in getEffectivePTUSize()
391 Interpreter::Parse(llvm::StringRef Code) { in Parse()
417 llvm::Error Interpreter::CreateExecutor() { in CreateExecutor()
450 void Interpreter::ResetExecutor() { IncrExecutor.reset(); } in ResetExecutor()
452 llvm::Error Interpreter::Execute(PartialTranslationUnit &T) { in Execute()
469 llvm::Error Interpreter::ParseAndExecute(llvm::StringRef Code, Value *V) { in ParseAndExecute()
489 Interpreter::getSymbolAddress(GlobalDecl GD) const { in getSymbolAddress()
499 Interpreter::getSymbolAddress(llvm::StringRef IRName) const { in getSymbolAddress()
509 Interpreter::getSymbolAddressFromLinkerName(llvm::StringRef Name) const { in getSymbolAddressFromLinkerName()
518 llvm::Error Interpreter::Undo(unsigned N) { in Undo()
537 llvm::Error Interpreter::LoadDynamicLibrary(const char *name) { in LoadDynamicLibrary()
554 Interpreter::CompileDtorCall(CXXRecordDecl *CXXRD) { in CompileDtorCall()
581 createInProcessRuntimeInterfaceBuilder(Interpreter &Interp, ASTContext &Ctx,
584 std::unique_ptr<RuntimeInterfaceBuilder> Interpreter::FindRuntimeInterface() { in FindRuntimeInterface()
625 : public TypeVisitor<InterfaceKindVisitor, Interpreter::InterfaceKind> {
637 Interpreter::InterfaceKind VisitRecordType(const RecordType *Ty) { in VisitRecordType()
638 return Interpreter::InterfaceKind::WithAlloc; in VisitRecordType()
641 Interpreter::InterfaceKind
643 return Interpreter::InterfaceKind::WithAlloc; in VisitMemberPointerType()
646 Interpreter::InterfaceKind
648 return Interpreter::InterfaceKind::CopyArray; in VisitConstantArrayType()
651 Interpreter::InterfaceKind
654 return Interpreter::InterfaceKind::NoAlloc; in VisitFunctionProtoType()
657 Interpreter::InterfaceKind VisitPointerType(const PointerType *Ty) { in VisitPointerType()
659 return Interpreter::InterfaceKind::NoAlloc; in VisitPointerType()
662 Interpreter::InterfaceKind VisitReferenceType(const ReferenceType *Ty) { in VisitReferenceType()
666 return Interpreter::InterfaceKind::NoAlloc; in VisitReferenceType()
669 Interpreter::InterfaceKind VisitBuiltinType(const BuiltinType *Ty) { in VisitBuiltinType()
680 return Interpreter::InterfaceKind::NoAlloc; in VisitBuiltinType()
683 Interpreter::InterfaceKind VisitEnumType(const EnumType *Ty) { in VisitEnumType()
685 return Interpreter::InterfaceKind::NoAlloc; in VisitEnumType()
711 Interpreter &Interp;
716 InProcessRuntimeInterfaceBuilder(Interpreter &Interp, ASTContext &C, Sema &S) in InProcessRuntimeInterfaceBuilder()
755 Interpreter::InterfaceKind Kind = Visitor.Visit(&*DesugaredTy); in transformForValuePrinting()
757 case Interpreter::InterfaceKind::WithAlloc: in transformForValuePrinting()
758 case Interpreter::InterfaceKind::CopyArray: { in transformForValuePrinting()
763 .getValuePrintingInfo()[Interpreter::InterfaceKind::WithAlloc], in transformForValuePrinting()
779 if (Kind == Interpreter::InterfaceKind::CopyArray) { in transformForValuePrinting()
788 .getValuePrintingInfo()[Interpreter::InterfaceKind::CopyArray], in transformForValuePrinting()
793 B->Interp.getValuePrintingInfo()[Interpreter::InterfaceKind::NewTag]}; in transformForValuePrinting()
808 case Interpreter::InterfaceKind::NoAlloc: { in transformForValuePrinting()
811 B->Interp.getValuePrintingInfo()[Interpreter::InterfaceKind::NoAlloc], in transformForValuePrinting()
822 createInProcessRuntimeInterfaceBuilder(Interpreter &Interp, ASTContext &Ctx, in createInProcessRuntimeInterfaceBuilder()
841 Expr *Interpreter::SynthesizeExpr(Expr *E) { in SynthesizeExpr()
874 VRef = Value(static_cast<Interpreter *>(This), OpaqueType); in __clang_Interpreter_SetValueWithAlloc()
881 Interpreter *I = static_cast<Interpreter *>(This); in __clang_Interpreter_SetValueNoAlloc()