• Home
  • Raw
  • Download

Lines Matching refs:SPIRVModuleImpl

62 class SPIRVModuleImpl : public SPIRVModule {  class
64 SPIRVModuleImpl():SPIRVModule(), NextId(1), in SPIRVModuleImpl() function in SPIRV::SPIRVModuleImpl
75 virtual ~SPIRVModuleImpl();
363 SPIRVModuleImpl::~SPIRVModuleImpl() { in ~SPIRVModuleImpl()
379 SPIRVModuleImpl::addLine(SPIRVEntry* E, SPIRVString* FileName, in addLine()
389 SPIRVModuleImpl::optimizeDecorates() { in optimizeDecorates()
437 SPIRVModuleImpl::addSamplerConstant(SPIRVType* TheType, in addSamplerConstant()
444 SPIRVModuleImpl::addPipeStorageConstant(SPIRVType* TheType, in addPipeStorageConstant()
451 SPIRVModuleImpl::addCapability(SPIRVCapabilityKind Cap) { in addCapability()
461 SPIRVModuleImpl::addCapabilityInternal(SPIRVCapabilityKind Cap) { in addCapabilityInternal()
471 SPIRVModuleImpl::getLiteralAsConstant(unsigned Literal) { in getLiteralAsConstant()
483 SPIRVModuleImpl::layoutEntry(SPIRVEntry* E) { in layoutEntry()
515 SPIRVModuleImpl::addEntry(SPIRVEntry *Entry) { in addEntry()
551 SPIRVModuleImpl::exist(SPIRVId Id) const { in exist()
556 SPIRVModuleImpl::exist(SPIRVId Id, SPIRVEntry **Entry) const { in exist()
569 SPIRVModuleImpl::getId(SPIRVId Id, unsigned increment) { in getId()
579 SPIRVModuleImpl::getEntry(SPIRVId Id) const { in getEntry()
587 SPIRVModuleImpl::getBuiltinSet(SPIRVId SetId) const { in getBuiltinSet()
594 SPIRVModuleImpl::isEntryPoint(SPIRVExecutionModelKind ExecModel, SPIRVId EP) in isEntryPoint()
606 SPIRVModuleImpl::importBuiltinSet(const std::string& BuiltinSetName, in importBuiltinSet()
617 SPIRVModuleImpl::importBuiltinSetWithId(const std::string& BuiltinSetName, in importBuiltinSetWithId()
627 SPIRVModuleImpl::setAlignment(SPIRVValue *V, SPIRVWord A) { in setAlignment()
632 SPIRVModuleImpl::setName(SPIRVEntry *E, const std::string &Name) { in setName()
642 void SPIRVModuleImpl::resolveUnknownStructFields() { in resolveUnknownStructFields()
658 SPIRVModuleImpl::addType(T *Ty) { in addType()
666 SPIRVModuleImpl::addVoidType() { in addVoidType()
671 SPIRVModuleImpl::addArrayType(SPIRVType *ElementType, SPIRVConstant *Length) { in addArrayType()
676 SPIRVModuleImpl::addBoolType() { in addBoolType()
681 SPIRVModuleImpl::addIntegerType(unsigned BitWidth) { in addIntegerType()
691 SPIRVModuleImpl::addFloatType(unsigned BitWidth) { in addFloatType()
697 SPIRVModuleImpl::addPointerType(SPIRVStorageClassKind StorageClass, in addPointerType()
704 SPIRVModuleImpl::addFunctionType(SPIRVType *ReturnType, in addFunctionType()
711 SPIRVModuleImpl::addOpaqueType(const std::string& Name) { in addOpaqueType()
715 SPIRVTypeStruct *SPIRVModuleImpl::openStructType(unsigned NumMembers, in openStructType()
721 void SPIRVModuleImpl::closeStructType(SPIRVTypeStruct *T, bool Packed) { in closeStructType()
727 SPIRVModuleImpl::addVectorType(SPIRVType* CompType, SPIRVWord CompCount) { in addVectorType()
731 SPIRVModuleImpl::addOpaqueGenericType(Op TheOpCode) { in addOpaqueGenericType()
736 SPIRVModuleImpl::addDeviceEventType() { in addDeviceEventType()
741 SPIRVModuleImpl::addQueueType() { in addQueueType()
746 SPIRVModuleImpl::addPipeType() { in addPipeType()
751 SPIRVModuleImpl::addImageType(SPIRVType *SampledType, in addImageType()
758 SPIRVModuleImpl::addImageType(SPIRVType *SampledType, in addImageType()
765 SPIRVModuleImpl::addSamplerType() { in addSamplerType()
770 SPIRVModuleImpl::addPipeStorageType() { in addPipeStorageType()
775 SPIRVModuleImpl::addSampledImageType(SPIRVTypeImage *T) { in addSampledImageType()
779 void SPIRVModuleImpl::createForwardPointers() { in createForwardPointers()
805 SPIRVModuleImpl::addFunction(SPIRVFunction *Func) { in addFunction()
811 SPIRVModuleImpl::addFunction(SPIRVTypeFunction *FuncType, SPIRVId Id) { in addFunction()
817 SPIRVModuleImpl::addBasicBlock(SPIRVFunction *Func, SPIRVId Id) { in addBasicBlock()
822 SPIRVModuleImpl::addDecorate(const SPIRVDecorateGeneric *Dec) { in addDecorate()
835 SPIRVModuleImpl::addEntryPoint(SPIRVExecutionModelKind ExecModel, in addEntryPoint()
845 SPIRVModuleImpl::addForward(SPIRVType *Ty) { in addForward()
850 SPIRVModuleImpl::addForward(SPIRVId Id, SPIRVType *Ty) { in addForward()
855 SPIRVModuleImpl::replaceForward(SPIRVForward *Forward, SPIRVEntry *Entry) { in replaceForward()
874 SPIRVModuleImpl::addConstant(SPIRVValue *C) { in addConstant()
879 SPIRVModuleImpl::addConstant(SPIRVType *Ty, uint64_t V) { in addConstant()
892 SPIRVModuleImpl::addIntegerConstant(SPIRVTypeInt *Ty, uint64_t V) { in addIntegerConstant()
902 SPIRVModuleImpl::addFloatConstant(SPIRVTypeFloat *Ty, float V) { in addFloatConstant()
907 SPIRVModuleImpl::addDoubleConstant(SPIRVTypeFloat *Ty, double V) { in addDoubleConstant()
912 SPIRVModuleImpl::addNullConstant(SPIRVType *Ty) { in addNullConstant()
917 SPIRVModuleImpl::addCompositeConstant(SPIRVType *Ty, in addCompositeConstant()
923 SPIRVModuleImpl::addUndef(SPIRVType *TheType) { in addUndef()
930 SPIRVModuleImpl::addStoreInst(SPIRVValue *Target, SPIRVValue *Source, in addStoreInst()
937 SPIRVModuleImpl::addSwitchInst(SPIRVValue *Select, SPIRVBasicBlock *Default, in addSwitchInst()
944 SPIRVModuleImpl::addGroupInst(Op OpCode, SPIRVType *Type, in addGroupInst()
954 SPIRVModuleImpl::addInstruction(SPIRVInstruction *Inst, SPIRVBasicBlock *BB) { in addInstruction()
963 SPIRVModuleImpl::addLoadInst(SPIRVValue *Source, in addLoadInst()
970 SPIRVModuleImpl::addPhiInst(SPIRVType *Type, in addPhiInst()
976 SPIRVModuleImpl::addExtInst(SPIRVType *TheType, SPIRVWord BuiltinSet, in addExtInst()
984 SPIRVModuleImpl::addExtInst(SPIRVType *TheType, SPIRVWord BuiltinSet, in addExtInst()
992 SPIRVModuleImpl::addCallInst(SPIRVFunction* TheFunction, in addCallInst()
999 SPIRVModuleImpl::addBinaryInst(Op TheOpCode, SPIRVType *Type, in addBinaryInst()
1006 SPIRVModuleImpl::addReturnInst(SPIRVBasicBlock *BB) { in addReturnInst()
1011 SPIRVModuleImpl::addReturnValueInst(SPIRVValue *ReturnValue, SPIRVBasicBlock *BB) { in addReturnValueInst()
1016 SPIRVModuleImpl::addUnaryInst(Op TheOpCode, SPIRVType *TheType, in addUnaryInst()
1023 SPIRVModuleImpl::addVectorExtractDynamicInst(SPIRVValue *TheVector, in addVectorExtractDynamicInst()
1030 SPIRVModuleImpl::addVectorInsertDynamicInst(SPIRVValue *TheVector, in addVectorInsertDynamicInst()
1037 SPIRVModuleImpl::addVectorShuffleInst(SPIRVType * Type, SPIRVValue *Vec1, in addVectorShuffleInst()
1045 SPIRVModuleImpl::addBranchInst(SPIRVLabel *TargetLabel, SPIRVBasicBlock *BB) { in addBranchInst()
1050 SPIRVModuleImpl::addBranchConditionalInst(SPIRVValue *Condition, in addBranchConditionalInst()
1057 SPIRVModuleImpl::addCmpInst(Op TheOpCode, SPIRVType *TheType, in addCmpInst()
1064 SPIRVModuleImpl::addControlBarrierInst(SPIRVValue *ExecKind, in addControlBarrierInst()
1071 SPIRVModuleImpl::addMemoryBarrierInst(Scope ScopeKind, in addMemoryBarrierInst()
1079 SPIRVModuleImpl::addSelectInst(SPIRVValue *Condition, SPIRVValue *Op1, in addSelectInst()
1086 SPIRVModuleImpl::addPtrAccessChainInst(SPIRVType *Type, SPIRVValue *Base, in addPtrAccessChainInst()
1095 SPIRVModuleImpl::addAsyncGroupCopy(SPIRVValue *Scope, in addAsyncGroupCopy()
1103 SPIRVModuleImpl::addCompositeExtractInst(SPIRVType *Type, SPIRVValue *TheVector, in addCompositeExtractInst()
1110 SPIRVModuleImpl::addCompositeInsertInst(SPIRVValue *Object, in addCompositeInsertInst()
1118 SPIRVModuleImpl::addCopyObjectInst(SPIRVType *TheType, SPIRVValue *Operand, in addCopyObjectInst()
1125 SPIRVModuleImpl::addCopyMemoryInst(SPIRVValue *TheTarget, SPIRVValue *TheSource, in addCopyMemoryInst()
1132 SPIRVModuleImpl::addCopyMemorySizedInst(SPIRVValue *TheTarget, in addCopyMemorySizedInst()
1140 SPIRVModuleImpl::addVariable(SPIRVType *Type, bool IsConstant, in addVariable()
1270 SPIRVModuleImpl &MI = *static_cast<SPIRVModuleImpl*>(&M); in operator <<()
1337 void SPIRVModuleImpl::addTo(std::vector<T*>& V, SPIRVEntry* E) { in addTo()
1345 SPIRVModuleImpl::addDecorationGroup() { in addDecorationGroup()
1350 SPIRVModuleImpl::addDecorationGroup(SPIRVDecorationGroup* Group) { in addDecorationGroup()
1361 SPIRVModuleImpl::addGroupDecorateGeneric(SPIRVGroupDecorateGeneric *GDec) { in addGroupDecorateGeneric()
1368 SPIRVModuleImpl::addGroupDecorate( in addGroupDecorate()
1376 SPIRVModuleImpl::addGroupMemberDecorate( in addGroupMemberDecorate()
1384 SPIRVModuleImpl::getString(const std::string& Str) { in getString()
1394 SPIRVModuleImpl::addMemberName(SPIRVTypeStruct* ST, in addMemberName()
1399 void SPIRVModuleImpl::addUnknownStructField(SPIRVTypeStruct *Struct, unsigned I, in addUnknownStructField()
1407 SPIRVModuleImpl &MI = *static_cast<SPIRVModuleImpl*>(&M); in operator >>()
1440 return new SPIRVModuleImpl; in createSPIRVModule()
1444 SPIRVModuleImpl::getValue(SPIRVId TheId)const { in getValue()
1449 SPIRVModuleImpl::getValueType(SPIRVId TheId)const { in getValueType()
1454 SPIRVModuleImpl::getValues(const std::vector<SPIRVId>& IdVec)const { in getValues()
1462 SPIRVModuleImpl::getValueTypes(const std::vector<SPIRVId>& IdVec)const { in getValueTypes()
1470 SPIRVModuleImpl::getIds(const std::vector<SPIRVEntry *> &ValueVec)const { in getIds()
1478 SPIRVModuleImpl::getIds(const std::vector<SPIRVValue *> &ValueVec)const { in getIds()
1486 SPIRVModuleImpl::addInstTemplate(Op OC, in addInstTemplate()
1496 SPIRVModuleImpl::addInstTemplate(Op OC, in addInstTemplate()
1543 SPIRVModuleImpl M; in ConvertSPIRV()