Searched refs:SPIRVConstant (Results 1 – 8 of 8) sorted by relevance
/external/spirv-llvm/lib/SPIRV/libSPIRV/ |
D | SPIRVType.cpp | 262 SPIRVConstant* TheLength) in SPIRVTypeArray() 273 get<SPIRVConstant>(Length)->getZExtIntValue() > 0); in validate() 276 SPIRVConstant* 278 return get<SPIRVConstant>(Length); in getLength()
|
D | SPIRVValue.h | 127 class SPIRVConstant: public SPIRVValue { 130 SPIRVConstant(SPIRVModule *M, SPIRVType *TheType, SPIRVId TheId, in SPIRVConstant() function 138 SPIRVConstant(SPIRVModule *M, SPIRVType *TheType, SPIRVId TheId, float TheValue) in SPIRVConstant() function 145 SPIRVConstant(SPIRVModule *M, SPIRVType *TheType, SPIRVId TheId, double TheValue) in SPIRVConstant() function 152 SPIRVConstant():SPIRVValue(OpConstant), NumWords(0){} in SPIRVConstant() function
|
D | SPIRVModule.cpp | 106 virtual SPIRVConstant* getLiteralAsConstant(unsigned Literal); 187 virtual SPIRVTypeArray *addArrayType(SPIRVType *, SPIRVConstant *); 358 std::map<unsigned, SPIRVConstant*> LiteralMap; 470 SPIRVConstant* 476 auto V = new SPIRVConstant(this, Ty, getId(), static_cast<uint64_t>(Literal)); in getLiteralAsConstant() 505 ConstVec.push_back(static_cast<SPIRVConstant*>(E)); in layoutEntry() 671 SPIRVModuleImpl::addArrayType(SPIRVType *ElementType, SPIRVConstant *Length) { in addArrayType() 888 return addConstant(new SPIRVConstant(this, Ty, getId(), V)); in addConstant() 898 return addConstant(new SPIRVConstant(this, Ty, getId(), V)); in addIntegerConstant() 903 return addConstant(new SPIRVConstant(this, Ty, getId(), V)); in addFloatConstant() [all …]
|
D | SPIRVModule.h | 55 class SPIRVConstant; variable 133 virtual SPIRVConstant* getLiteralAsConstant(unsigned Literal) = 0; 191 virtual SPIRVTypeArray *addArrayType(SPIRVType *, SPIRVConstant *) = 0;
|
D | SPIRVType.h | 292 class SPIRVConstant; variable 297 SPIRVConstant* TheLength); 303 SPIRVConstant *getLength() const;
|
D | SPIRVInstruction.h | 358 static_cast<SPIRVConstant*>(getValue(Ops[0]))->getZExtIntValue()); in getExecutionScope()
|
/external/spirv-llvm/lib/SPIRV/ |
D | SPIRVReader.cpp | 1331 SPIRVConstant *BConst = static_cast<SPIRVConstant *>(BV); in transValueWithoutDecoration() 2511 return static_cast<SPIRVConstant*>(value)->getZExtIntValue(); in transOCLBarrierFence()
|
D | SPIRVWriter.cpp | 528 static_cast<SPIRVConstant*>(transValue(ConstantInt::get(getSizetType(), in transType()
|