Home
last modified time | relevance | path

Searched refs:ObjCache (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/
DCompileUtils.h47 SimpleCompiler(TargetMachine &TM, ObjectCache *ObjCache = nullptr)
48 : TM(TM), ObjCache(ObjCache) {} in TM()
51 void setObjectCache(ObjectCache *NewCache) { ObjCache = NewCache; } in setObjectCache()
89 if (!ObjCache) in tryToLoadFromObjectCache()
92 return ObjCache->getObject(&M); in tryToLoadFromObjectCache()
96 if (ObjCache) in notifyObjectCompiled()
97 ObjCache->notifyObjectCompiled(&M, ObjBuffer.getMemBufferRef()); in notifyObjectCompiled()
101 ObjectCache *ObjCache = nullptr; variable
111 ObjectCache *ObjCache = nullptr)
112 : JTMB(std::move(JTMB)), ObjCache(ObjCache) {} in JTMB()
[all …]
/external/llvm/include/llvm/ExecutionEngine/Orc/
DIRCompileLayer.h47 : BaseLayer(BaseLayer), Compile(std::move(Compile)), ObjCache(nullptr) {} in IRCompileLayer()
50 void setObjectCache(ObjectCache *NewCache) { ObjCache = NewCache; } in setObjectCache()
69 if (ObjCache) in addModuleSet()
74 if (ObjCache) in addModuleSet()
75 ObjCache->notifyObjectCompiled(&*M, in addModuleSet()
123 std::unique_ptr<MemoryBuffer> ObjBuffer = ObjCache->getObject(&M); in tryToLoadFromObjectCache()
141 ObjectCache *ObjCache; variable
/external/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp74 ObjCache(nullptr) { in MCJIT()
145 ObjCache = NewCache; in setObjectCache()
175 if (ObjCache) { in emitObject()
179 ObjCache->notifyObjectCompiled(M, MB); in emitObject()
199 if (ObjCache) in generateCodeForModule()
200 ObjectToLoad = ObjCache->getObject(M); in generateCodeForModule()
DMCJIT.h196 ObjectCache *ObjCache; variable
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp70 ObjCache(nullptr) { in MCJIT()
141 ObjCache = NewCache; in setObjectCache()
177 if (ObjCache) { in emitObject()
181 ObjCache->notifyObjectCompiled(M, MB); in emitObject()
201 if (ObjCache) in generateCodeForModule()
202 ObjectToLoad = ObjCache->getObject(M); in generateCodeForModule()
DMCJIT.h196 ObjectCache *ObjCache; variable