Lines Matching refs:SPIRVValue

56 class SPIRVValue: public SPIRVEntry {
59 SPIRVValue(SPIRVModule *M, unsigned TheWordCount, Op TheOpCode, in SPIRVValue() function
65 SPIRVValue(SPIRVModule *M, unsigned TheWordCount, Op TheOpCode, in SPIRVValue() function
72 SPIRVValue(SPIRVModule *M, unsigned TheWordCount, Op TheOpCode, in SPIRVValue() function
79 SPIRVValue(SPIRVModule *M, unsigned TheWordCount, Op TheOpCode) in SPIRVValue() function
86 SPIRVValue(Op TheOpCode):SPIRVEntry(TheOpCode), Type(NULL) {} in SPIRVValue() function
127 class SPIRVConstant: public SPIRVValue {
132 :SPIRVValue(M, 0, OpConstant, TheType, TheId){ in SPIRVConstant()
139 :SPIRVValue(M, 0, OpConstant, TheType, TheId){ in SPIRVConstant()
146 :SPIRVValue(M, 0, OpConstant, TheType, TheId){ in SPIRVConstant()
152 SPIRVConstant():SPIRVValue(OpConstant), NumWords(0){} in SPIRVConstant()
164 SPIRVValue::validate(); in validate()
173 SPIRVValue::setWordCount(WordCount); in setWordCount()
195 class SPIRVConstantEmpty: public SPIRVValue {
199 :SPIRVValue(M, 3, OC, TheType, TheId){ in SPIRVConstantEmpty()
203 SPIRVConstantEmpty():SPIRVValue(OC){} in SPIRVConstantEmpty()
206 SPIRVValue::validate(); in validate()
268 class SPIRVConstantComposite: public SPIRVValue {
272 const std::vector<SPIRVValue *> TheElements) in SPIRVConstantComposite()
273 :SPIRVValue(M, TheElements.size()+3, OpConstantComposite, TheType, in SPIRVConstantComposite()
279 SPIRVConstantComposite():SPIRVValue(OpConstantComposite){} in SPIRVConstantComposite()
280 std::vector<SPIRVValue*> getElements()const { in getElements()
284 std::vector<SPIRVValue*> Elements = getElements(); in getNonLiteralOperands()
289 SPIRVValue::validate(); in validate()
301 class SPIRVConstantSampler: public SPIRVValue {
308 :SPIRVValue(M, WC, OC, TheType, TheId), AddrMode(TheAddrMode), in SPIRVConstantSampler()
313 SPIRVConstantSampler():SPIRVValue(OC), AddrMode(SPIRVSAM_Invalid), in SPIRVConstantSampler()
335 SPIRVValue::validate(); in validate()
343 class SPIRVConstantPipeStorage : public SPIRVValue {
350 :SPIRVValue(M, WC, OC, TheType, TheId), PacketSize(ThePacketSize), in SPIRVConstantPipeStorage()
355 SPIRVConstantPipeStorage() :SPIRVValue(OC), PacketSize(0), in SPIRVConstantPipeStorage()
377 SPIRVValue::validate(); in validate()
385 class SPIRVForward:public SPIRVValue, public SPIRVComponentExecutionModes {
390 SPIRVValue(TheModule, 0, OC, TheId){ in SPIRVForward()
394 SPIRVForward():SPIRVValue(OC) { in SPIRVForward()