Home
last modified time | relevance | path

Searched refs:Nucleus (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DReactor.cpp136 address = Nucleus::allocateStackVariable(getType(), arraySize); in materialize()
160 return Nucleus::createLoad(address, getType(), false, 0); in loadValue()
167 return Nucleus::createStore(value, address, getType(), false, 0); in storeValue()
184 return Nucleus::createGEP(getBaseAddress(), getType(), index, unsignedIndex); in getElementPointer()
221 return Nucleus::createShuffleVector(lhs, rhs, swizzle); in createShuffle4()
247 return Nucleus::createShuffleVector(val, val, swizzle); in createSwizzle4()
266 return Nucleus::createShuffleVector(lhs, rhs, swizzle); in createMask4()
276 storeValue(Nucleus::createConstantBool(x)); in Bool()
311 return RValue<Bool>(Nucleus::createNot(val.value())); in operator !()
316 return RValue<Bool>(Nucleus::createAnd(lhs.value(), rhs.value())); in operator &&()
[all …]
DCoroutine.hpp28 StreamBase(const std::shared_ptr<Routine> &routine, Nucleus::CoroutineHandle handle) in StreamBase()
35 auto pfn = (Nucleus::CoroutineDestroy *)routine->getEntry(Nucleus::CoroutineEntryDestroy); in ~StreamBase()
41 auto pfn = (Nucleus::CoroutineAwait *)routine->getEntry(Nucleus::CoroutineEntryAwait); in await()
47 Nucleus::CoroutineHandle handle;
57 inline Stream(const std::shared_ptr<Routine> &routine, Nucleus::CoroutineHandle handle) in Stream()
130 Value *arg = Nucleus::getArgument(index); in Arg()
150 std::unique_ptr<Nucleus> core;
157 : core(new Nucleus()) in Coroutine()
168 Nucleus::createCoroutine(CToReactorT<Return>::type(), arguments); in Coroutine()
188 std::function<Nucleus::CoroutineHandle()> coroutineBegin = [=] { in operator ()()
[all …]
DLLVMReactor.cpp530 Nucleus::Nucleus() in Nucleus() function in rr::Nucleus
540 jit = new JITBuilder(Nucleus::getDefaultConfig()); in Nucleus()
544 Nucleus::~Nucleus() in ~Nucleus()
553 void Nucleus::setDefaultConfig(const Config &cfg) in setDefaultConfig()
559 void Nucleus::adjustDefaultConfig(const Config::Edit &cfgEdit) in adjustDefaultConfig()
566 Config Nucleus::getDefaultConfig() in getDefaultConfig()
572 std::shared_ptr<Routine> Nucleus::acquireRoutine(const char *name, const Config::Edit *cfgEdit /* =… in acquireRoutine()
648 Value *Nucleus::allocateStackVariable(Type *type, int arraySize) in allocateStackVariable()
663 …Value *size = (sizeof(size_t) == 8) ? Nucleus::createConstantLong(arraySize) : Nucleus::createCons… in allocateStackVariable()
676 BasicBlock *Nucleus::createBasicBlock() in createBasicBlock()
[all …]
DSubzeroReactor.cpp245 rr::Nucleus::OptimizerCallback *optimizerCallback = nullptr;
463 Nucleus::createRetVoid(); in finalizeFunction()
867 std::array<const void *, Nucleus::CoroutineEntryCount> funcs = {};
880 Nucleus::Nucleus() in Nucleus() function in rr::Nucleus
937 Nucleus::~Nucleus() in ~Nucleus()
967 void Nucleus::setDefaultConfig(const Config &cfg) in setDefaultConfig()
973 void Nucleus::adjustDefaultConfig(const Config::Edit &cfgEdit) in adjustDefaultConfig()
980 Config Nucleus::getDefaultConfig() in getDefaultConfig()
1015 Nucleus::OptimizerReport report; in acquireRoutine()
1092 std::shared_ptr<Routine> Nucleus::acquireRoutine(const char *name, const Config::Edit *cfgEdit /* =… in acquireRoutine()
[all …]
DReactor.hpp131 friend class Nucleus;
2454 Value *pointerT = Nucleus::createBitCast(pointerS.value(), Nucleus::getPointerType(T::type())); in Pointer()
2463 Value *pointerT = Nucleus::createBitCast(pointerS, Nucleus::getPointerType(T::type())); in Pointer()
2509 return RValue<Bool>(Nucleus::createICmpEQ(lhs.loadValue(), rhs.loadValue())); in operator ==()
2515 return RValue<Bool>(Nucleus::createICmpNE(lhs.loadValue(), rhs.loadValue())); in operator !=()
2521 …return RValue<T>(Nucleus::createLoad(pointer.value(), T::type(), false, alignment, atomic, memoryO… in Load()
2545Nucleus::createStore(value.value(), pointer.value(), T::type(), false, alignment, atomic, memoryOr… in Store()
2603 Nucleus::createRet(ValueOf<T>(ret)); in Return()
2605 Nucleus::setInsertBlock(Nucleus::createBasicBlock()); in Return()
2625 Value *arg = Nucleus::getArgument(index); in Arg()
[all …]
DOptimizer.hpp24 void optimize(Ice::Cfg *function, Nucleus::OptimizerReport *report = nullptr);
DNucleus.hpp154 class Nucleus class
157 Nucleus();
159 virtual ~Nucleus();
DOptimizer.cpp28 Optimizer(rr::Nucleus::OptimizerReport *report) in Optimizer()
95 rr::Nucleus::OptimizerReport *report = nullptr;
890 void optimize(Ice::Cfg *function, Nucleus::OptimizerReport *report) in optimize()
DCMakeLists.txt29 Nucleus.hpp
/third_party/skia/third_party/externals/swiftshader/src/Shader/
DVertexProgram.cpp117 callRetBlock[dst.label].push_back(Nucleus::createBasicBlock()); in program()
616 Nucleus::setInsertBlock(returnBlock); in program()
1136 labelBlock[labelIndex] = Nucleus::createBasicBlock(); in CALL()
1146 Nucleus::createBr(labelBlock[labelIndex]); in CALL()
1147 Nucleus::setInsertBlock(callRetBlock[labelIndex][callSiteIndex]); in CALL()
1176 labelBlock[labelIndex] = Nucleus::createBasicBlock(); in CALLNZb()
1187 Nucleus::setInsertBlock(callRetBlock[labelIndex][callSiteIndex]); in CALLNZb()
1205 labelBlock[labelIndex] = Nucleus::createBasicBlock(); in CALLNZp()
1219 Nucleus::setInsertBlock(callRetBlock[labelIndex][callSiteIndex]); in CALLNZp()
1230 BasicBlock *endBlock = Nucleus::createBasicBlock(); in ELSE()
[all …]
DPixelProgram.cpp127 callRetBlock[dst.label].push_back(Nucleus::createBasicBlock()); in applyShader()
582 Nucleus::setInsertBlock(returnBlock); in applyShader()
1452 labelBlock[labelIndex] = Nucleus::createBasicBlock(); in CALL()
1462 Nucleus::createBr(labelBlock[labelIndex]); in CALL()
1463 Nucleus::setInsertBlock(callRetBlock[labelIndex][callSiteIndex]); in CALL()
1492 labelBlock[labelIndex] = Nucleus::createBasicBlock(); in CALLNZb()
1503 Nucleus::setInsertBlock(callRetBlock[labelIndex][callSiteIndex]); in CALLNZb()
1521 labelBlock[labelIndex] = Nucleus::createBasicBlock(); in CALLNZp()
1535 Nucleus::setInsertBlock(callRetBlock[labelIndex][callSiteIndex]); in CALLNZp()
1546 BasicBlock *endBlock = Nucleus::createBasicBlock(); in ELSE()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DSpirvShaderControlFlow.cpp382 auto headerBasicBlock = Nucleus::createBasicBlock(); in EmitLoop()
383 auto mergeBasicBlock = Nucleus::createBasicBlock(); in EmitLoop()
386 Nucleus::createBr(headerBasicBlock); in EmitLoop()
387 Nucleus::setInsertBlock(headerBasicBlock); in EmitLoop()
485 Nucleus::createCondBr(AnyTrue(loopActiveLaneMask).value(), headerBasicBlock, mergeBasicBlock); in EmitLoop()
488 Nucleus::setInsertBlock(mergeBasicBlock); in EmitLoop()
/third_party/skia/third_party/externals/swiftshader/tests/ReactorUnitTests/
DReactorUnitTests.cpp428 Nucleus::setOptimizerCallback([](const Nucleus::OptimizerReport *report) { in TEST()
461 Nucleus::setOptimizerCallback([](const Nucleus::OptimizerReport *report) { in TEST()
597 Nucleus::setOptimizerCallback([](const Nucleus::OptimizerReport *report) { in TEST()
632 Nucleus::setOptimizerCallback([](const Nucleus::OptimizerReport *report) { in TEST()
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
DRenderer.cpp2957 rr::Nucleus::adjustDefaultConfig(cfg); in updateConfiguration()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DlibVulkan.cpp130 rr::Nucleus::adjustDefaultConfig(cfg); in setReactorDefaultConfig()
/third_party/NuttX/
DReleaseNotes1384 * Added support for NXP LPC1768 MCU as provided on the Nucleus