Lines Matching defs:LLJIT

1 //===--------- LLJIT.cpp - An ORC-based JIT for compiling LLVM IR ---------===//
9 #include "llvm/ExecutionEngine/Orc/LLJIT.h"
132 class GenericLLVMIRPlatformSupport : public LLJIT::PlatformSupport {
134 GenericLLVMIRPlatformSupport(LLJIT &J, JITDylib &PlatformJD)
488 LLJIT &J;
582 class InactivePlatformSupport : public LLJIT::PlatformSupport {
674 void LLJIT::PlatformSupport::setInitTransform(
675 LLJIT &J, IRTransformLayer::TransformFunction T) {
679 LLJIT::PlatformSupport::~PlatformSupport() = default;
683 LLVM_DEBUG(dbgs() << "Preparing to create LLJIT instance...\n");
705 "LLJIT num-compile-threads is " + Twine(NumCompileThreads) +
724 "LLJIT concurrent compilation support requested, but LLVM was built "
845 SetupProcessSymbolsJITDylib = [](LLJIT &J) -> Expected<JITDylibSP> {
860 LLJIT::~LLJIT() {
865 JITDylibSP LLJIT::getProcessSymbolsJITDylib() { return ProcessSymbols; }
867 JITDylibSP LLJIT::getPlatformJITDylib() { return Platform; }
869 Expected<JITDylib &> LLJIT::createJITDylib(std::string Name) {
878 Expected<JITDylib &> LLJIT::loadPlatformDynamicLibrary(const char *Path) {
891 Error LLJIT::linkStaticLibraryInto(JITDylib &JD,
903 Error LLJIT::linkStaticLibraryInto(JITDylib &JD, const char *Path) {
913 Error LLJIT::addIRModule(ResourceTrackerSP RT, ThreadSafeModule TSM) {
923 Error LLJIT::addIRModule(JITDylib &JD, ThreadSafeModule TSM) {
927 Error LLJIT::addObjectFile(ResourceTrackerSP RT,
934 Error LLJIT::addObjectFile(JITDylib &JD, std::unique_ptr<MemoryBuffer> Obj) {
938 Expected<ExecutorAddr> LLJIT::lookupLinkerMangled(JITDylib &JD,
949 LLJIT::createObjectLinkingLayer(LLJITBuilderState &S, ExecutionSession &ES) {
978 LLJIT::createCompileFunction(LLJITBuilderState &S,
996 LLJIT::LLJIT(LLJITBuilderState &S, Error &Err)
1079 std::string LLJIT::mangle(StringRef UnmangledName) const {
1088 Error LLJIT::applyDataLayout(Module &M) {
1102 Error setUpOrcPlatformManually(LLJIT &J) {
1103 LLVM_DEBUG({ dbgs() << "Setting up orc platform support for LLJIT\n"; });
1110 LoadAndLinkDynLibrary(LLJIT &J) : J(J) {}
1124 LLJIT &J;
1127 Expected<JITDylibSP> ExecutorNativePlatform::operator()(LLJIT &J) {
1209 Expected<JITDylibSP> setUpGenericLLVMIRPlatform(LLJIT &J) {
1211 { dbgs() << "Setting up GenericLLVMIRPlatform support for LLJIT\n"; });
1237 Expected<JITDylibSP> setUpInactivePlatform(LLJIT &J) {
1239 { dbgs() << "Explicitly deactivated platform support for LLJIT\n"; });
1261 LLLazyJIT::LLLazyJIT(LLLazyJITBuilderState &S, Error &Err) : LLJIT(S, Err) {
1263 // If LLJIT construction failed then bail out.
1309 // In-process LLJIT uses eh-frame section wrappers via EPC, so we need to force