/external/spirv-llvm/lib/SPIRV/libSPIRV/ |
D | SPIRVType.cpp | 49 SPIRVType* 50 SPIRVType::getArrayElementType() const { in getArrayElementType() 56 SPIRVType::getArrayLength() const { in getArrayLength() 63 SPIRVType::getBitWidth() const { in getBitWidth() 72 SPIRVType::getFloatBitWidth()const { in getFloatBitWidth() 78 SPIRVType::getIntegerBitWidth()const { in getIntegerBitWidth() 86 SPIRVType * 87 SPIRVType::getFunctionReturnType() const { in getFunctionReturnType() 92 SPIRVType * 93 SPIRVType::getPointerElementType()const { in getPointerElementType() [all …]
|
D | SPIRVType.h | 58 class SPIRVType: public SPIRVEntry { 61 SPIRVType(SPIRVModule *M, unsigned TheWordCount, Op TheOpCode, in SPIRVType() function 65 SPIRVType(Op TheOpCode):SPIRVEntry(TheOpCode){} in SPIRVType() function 67 SPIRVType *getArrayElementType() const; 71 SPIRVType *getFunctionReturnType() const; 73 SPIRVType *getPointerElementType() const; 75 SPIRVType *getStructMemberType(size_t) const; 78 SPIRVType *getVectorComponentType() const; 106 class SPIRVTypeVoid:public SPIRVType { 110 :SPIRVType(M, 2, OpTypeVoid, TheId){} in SPIRVTypeVoid() [all …]
|
D | SPIRVModule.h | 59 class SPIRVType; variable 130 virtual SPIRVType *getValueType(SPIRVId TheId)const = 0; 131 virtual std::vector<SPIRVType *> getValueTypes(const std::vector<SPIRVId>&) 183 virtual SPIRVForward *addForward(SPIRVType *Ty) = 0; 184 virtual SPIRVForward *addForward(SPIRVId, SPIRVType *Ty) = 0; 191 virtual SPIRVTypeArray *addArrayType(SPIRVType *, SPIRVConstant *) = 0; 194 virtual SPIRVTypeFunction *addFunctionType(SPIRVType *, 195 const std::vector<SPIRVType *> &) = 0; 196 virtual SPIRVTypeImage *addImageType(SPIRVType *, 198 virtual SPIRVTypeImage *addImageType(SPIRVType *, [all …]
|
D | SPIRVModule.cpp | 102 virtual SPIRVType *getValueType(SPIRVId TheId)const; 103 virtual std::vector<SPIRVType *> getValueTypes(const std::vector<SPIRVId>&) 179 virtual SPIRVForward *addForward(SPIRVType *Ty); 180 virtual SPIRVForward *addForward(SPIRVId, SPIRVType *Ty); 187 virtual SPIRVTypeArray *addArrayType(SPIRVType *, SPIRVConstant *); 190 virtual SPIRVTypeFunction *addFunctionType(SPIRVType *, 191 const std::vector<SPIRVType *> &); 194 virtual SPIRVTypePointer *addPointerType(SPIRVStorageClassKind, SPIRVType *); 195 virtual SPIRVTypeImage *addImageType(SPIRVType *, 197 virtual SPIRVTypeImage *addImageType(SPIRVType *, [all …]
|
D | SPIRVValue.h | 60 SPIRVType *TheType, SPIRVId TheId) in SPIRVValue() 66 SPIRVType *TheType) in SPIRVValue() 89 SPIRVType *getType()const { in getType() 104 void setType(SPIRVType *Ty) { in setType() 124 SPIRVType *Type; // Value Type 130 SPIRVConstant(SPIRVModule *M, SPIRVType *TheType, SPIRVId TheId, in SPIRVConstant() 138 SPIRVConstant(SPIRVModule *M, SPIRVType *TheType, SPIRVId TheId, float TheValue) in SPIRVConstant() 145 SPIRVConstant(SPIRVModule *M, SPIRVType *TheType, SPIRVId TheId, double TheValue) in SPIRVConstant() 198 SPIRVConstantEmpty(SPIRVModule *M, SPIRVType *TheType, SPIRVId TheId) in SPIRVConstantEmpty() 215 SPIRVConstantBool(SPIRVModule *M, SPIRVType *TheType, SPIRVId TheId) in SPIRVConstantBool() [all …]
|
D | SPIRVInstruction.cpp | 50 SPIRVType *TheType, SPIRVId TheId, SPIRVBasicBlock *TheBB) in SPIRVInstruction() 57 SPIRVType *TheType, SPIRVId TheId, SPIRVBasicBlock *TheBB, SPIRVModule *TheBM) in SPIRVInstruction() 76 SPIRVType *TheType, SPIRVBasicBlock *TheBB) in SPIRVInstruction() 117 std::vector<SPIRVType*> 119 std::vector<SPIRVType*> Tys; in getOperandTypes() 121 SPIRVType* Ty = nullptr; in getOperandTypes() 132 std::vector<SPIRVType*>
|
D | SPIRVInstruction.h | 93 std::vector<SPIRVType *> getCompOperandTypes() { in getCompOperandTypes() 94 std::vector<SPIRVType *> Tys; in getCompOperandTypes() 106 SPIRVInstruction(unsigned TheWordCount, Op TheOC, SPIRVType *TheType, 110 SPIRVType *TheType, SPIRVId TheId, SPIRVBasicBlock *TheBB, 119 SPIRVInstruction(unsigned TheWordCount, Op TheOC, SPIRVType *TheType, 129 std::vector<SPIRVType*> getOperandTypes(); 130 static std::vector<SPIRVType*> getOperandTypes( 189 static SPIRVInstTemplateBase *create(Op TheOC, SPIRVType *TheType, in create() 197 static SPIRVInstTemplateBase *create(Op TheOC, SPIRVType *TheType, in create() 211 SPIRVInstTemplateBase *init(SPIRVType *TheType, in init() [all …]
|
D | SPIRVEntry.cpp | 130 SPIRVType * 215 std::vector<SPIRVType *> 217 std::vector<SPIRVType *> TypeVec; in getValueTypes()
|
D | SPIRVFunction.cpp | 49 SPIRVFunctionParameter::SPIRVFunctionParameter(SPIRVType *TheType, SPIRVId TheId, in SPIRVFunctionParameter()
|
D | SPIRVFunction.h | 52 SPIRVFunctionParameter(SPIRVType *TheType, SPIRVId TheId,
|
D | SPIRVEntry.h | 59 class SPIRVType; variable 239 SPIRVType *getValueType(SPIRVId TheId)const; 240 std::vector<SPIRVType *> getValueTypes(const std::vector<SPIRVId>&)const;
|
/external/spirv-llvm/lib/SPIRV/ |
D | SPIRVWriter.cpp | 187 SPIRVType *transType(Type *T); 188 SPIRVType *transSPIRVOpaqueType(Type *T); 219 typedef DenseMap<Type *, SPIRVType *> LLVMToSPIRVTypeMap; 233 SPIRVType *mapType(Type *T, SPIRVType *BT) { in mapType() 257 SPIRVType *getSPIRVType(Type *T) { in getSPIRVType() 441 SPIRVType * 573 SPIRVType *RT = transType(FT->getReturnType()); in transType() 574 std::vector<SPIRVType *> PT; in transType() 585 SPIRVType * 708 auto BT = static_cast<SPIRVType *>(transType(V->getType())); in transConstant() [all …]
|
D | SPIRVReader.cpp | 292 Type *transType(SPIRVType *BT, bool IsClassMember = false); 293 std::string transTypeToOCLTypeName(SPIRVType *BT, bool IsSigned = true); 294 std::vector<Type *> transTypeVector(const std::vector<SPIRVType *>&); 390 typedef DenseMap<SPIRVType *, Type *> SPIRVToLLVMTypeMap; 410 Type *mapType(SPIRVType *BT, Type *T) { in mapType() 466 Type *getTranslatedType(SPIRVType *BT); 479 Type *transFPType(SPIRVType* T); 514 SPIRVToLLVM::getTranslatedType(SPIRVType *BV){ in getTranslatedType() 629 SPIRVToLLVM::transFPType(SPIRVType* T) { in transFPType() 678 SPIRVToLLVM::transType(SPIRVType *T, bool IsClassMember) { in transType() [all …]
|
D | CMakeLists.txt | 19 libSPIRV/SPIRVType.cpp
|
D | Android.bp | 35 "libSPIRV/SPIRVType.cpp",
|
D | SPIRVInternal.h | 527 std::string mapSPIRVTypeToOCLType(SPIRVType* Ty, bool Signed); 836 getSPIRVImageSampledTypeName(SPIRVType *Ty);
|
D | SPIRVUtil.cpp | 156 mapSPIRVTypeToOCLType(SPIRVType* Ty, bool Signed) { in mapSPIRVTypeToOCLType() 1248 getSPIRVImageSampledTypeName(SPIRVType *Ty) { in getSPIRVImageSampledTypeName()
|