Lines Matching refs:SPIRVConstant
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()
908 return addConstant(new SPIRVConstant(this, Ty, getId(), V)); in addDoubleConstant()
1225 SPIRVConstant *C = static_cast<SPIRVConstant*>(E); in visit()