Lines Matching refs:Serializer
134 class Serializer { class
137 explicit Serializer(spirv::ModuleOp module, bool emitDebugInfo = false);
528 Serializer::Serializer(spirv::ModuleOp module, bool emitDebugInfo) in Serializer() function in Serializer
532 LogicalResult Serializer::serialize() { in serialize()
556 void Serializer::collect(SmallVectorImpl<uint32_t> &binary) { in collect()
581 void Serializer::printValueIDMap(raw_ostream &os) { in printValueIDMap()
603 uint32_t Serializer::getOrCreateFunctionID(StringRef fnName) { in getOrCreateFunctionID()
612 void Serializer::processCapability() { in processCapability()
618 void Serializer::processDebugInfo() { in processDebugInfo()
631 void Serializer::processExtension() { in processExtension()
640 void Serializer::processMemoryModel() { in processMemoryModel()
647 LogicalResult Serializer::processConstantOp(spirv::ConstantOp op) { in processConstantOp()
655 LogicalResult Serializer::processSpecConstantOp(spirv::SpecConstantOp op) { in processSpecConstantOp()
671 Serializer::processSpecConstantCompositeOp(spirv::SpecConstantCompositeOp op) { in processSpecConstantCompositeOp()
706 LogicalResult Serializer::processUndefOp(spirv::UndefOp op) { in processUndefOp()
722 LogicalResult Serializer::processDecoration(Location loc, uint32_t resultID, in processDecoration()
770 LogicalResult Serializer::processName(uint32_t resultID, StringRef name) { in processName()
783 LogicalResult Serializer::processTypeDecoration<spirv::ArrayType>( in processTypeDecoration()
793 LogicalResult Serializer::processTypeDecoration<spirv::RuntimeArrayType>( in processTypeDecoration()
802 LogicalResult Serializer::processMemberDecoration( in processMemberDecoration()
816 LogicalResult Serializer::processFuncOp(spirv::FuncOp op) { in processFuncOp()
906 LogicalResult Serializer::processVariableOp(spirv::VariableOp op) { in processVariableOp()
946 Serializer::processGlobalVariableOp(spirv::GlobalVariableOp varOp) { in processGlobalVariableOp()
1021 bool Serializer::isInterfaceStructPtrType(Type type) const { in isInterfaceStructPtrType()
1036 LogicalResult Serializer::processType(Location loc, Type type, in processType()
1045 Serializer::processTypeImpl(Location loc, Type type, uint32_t &typeID, in processTypeImpl()
1096 LogicalResult Serializer::prepareBasicType( in prepareBasicType()
1298 Serializer::prepareFunctionType(Location loc, FunctionType type, in prepareFunctionType()
1325 uint32_t Serializer::prepareConstant(Location loc, Type constType, in prepareConstant()
1362 uint32_t Serializer::prepareArrayConstant(Location loc, Type constType, in prepareArrayConstant()
1389 Serializer::prepareDenseElementsConstant(Location loc, Type constType, in prepareDenseElementsConstant()
1430 uint32_t Serializer::prepareConstantScalar(Location loc, Attribute valueAttr, in prepareConstantScalar()
1445 uint32_t Serializer::prepareConstantBool(Location loc, BoolAttr boolAttr, in prepareConstantBool()
1474 uint32_t Serializer::prepareConstantInt(Location loc, IntegerAttr intAttr, in prepareConstantInt()
1540 uint32_t Serializer::prepareConstantFp(Location loc, FloatAttr floatAttr, in prepareConstantFp()
1596 uint32_t Serializer::getOrCreateBlockID(Block *block) { in getOrCreateBlockID()
1603 Serializer::processBlock(Block *block, bool omitLabel, in processBlock()
1636 LogicalResult Serializer::emitPhiForBlockArguments(Block *block) { in emitPhiForBlockArguments()
1711 LogicalResult Serializer::processSelectionOp(spirv::SelectionOp selectionOp) { in processSelectionOp()
1757 LogicalResult Serializer::processLoopOp(spirv::LoopOp loopOp) { in processLoopOp()
1817 LogicalResult Serializer::processBranchConditionalOp( in processBranchConditionalOp()
1834 LogicalResult Serializer::processBranchOp(spirv::BranchOp branchOp) { in processBranchOp()
1844 LogicalResult Serializer::encodeExtensionInstruction( in encodeExtensionInstruction()
1876 LogicalResult Serializer::processAddressOfOp(spirv::AddressOfOp addressOfOp) { in processAddressOfOp()
1888 Serializer::processReferenceOfOp(spirv::ReferenceOfOp referenceOfOp) { in processReferenceOfOp()
1900 LogicalResult Serializer::processOperation(Operation *opInst) { in processOperation()
1936 Serializer::processOp<spirv::EntryPointOp>(spirv::EntryPointOp op) { in processOp()
1970 Serializer::processOp<spirv::ControlBarrierOp>(spirv::ControlBarrierOp op) { in processOp()
1990 Serializer::processOp<spirv::ExecutionModeOp>(spirv::ExecutionModeOp op) { in processOp()
2018 Serializer::processOp<spirv::MemoryBarrierOp>(spirv::MemoryBarrierOp op) { in processOp()
2037 Serializer::processOp<spirv::FunctionCallOp>(spirv::FunctionCallOp op) { in processOp()
2064 Serializer::processOp<spirv::CopyMemoryOp>(spirv::CopyMemoryOp op) { in processOp()
2113 LogicalResult Serializer::emitDecoration(uint32_t target, in emitDecoration()
2125 LogicalResult Serializer::emitDebugLine(SmallVectorImpl<uint32_t> &binary, in emitDebugLine()
2149 Serializer serializer(module, emitDebugInfo); in serialize()