Lines Matching refs:Op2
614 SPIRVId Op2 = Ops[1];
617 if (getValue(Op1)->isForward() || getValue(Op2)->isForward())
621 op2Ty = getValueType(Op2)->getVectorComponentType();
623 getValueType(Op2)->getVectorComponentCount() &&
628 op2Ty = getValueType(Op2);
632 assert(getValueType(Op1)== getValueType(Op2) &&
894 auto Op2 = Ops[1];
897 if (getValue(Op1)->isForward() || getValue(Op2)->isForward())
902 op2Ty = getValueType(Op2)->getVectorComponentType();
905 getValueType(Op2)->getVectorComponentCount() &&
910 op2Ty = getValueType(Op2);
958 TheBB), Condition(TheCondition), Op1(TheOp1), Op2(TheOp2){
964 Op1(SPIRVID_INVALID), Op2(SPIRVID_INVALID){}
967 SPIRVValue *getFalseValue() { return getValue(Op2);}
969 _SPIRV_DEF_ENCDEC5(Type, Id, Condition, Op1, Op2)
974 getValue(Op2)->isForward())
982 assert(getType() == getValueType(Op1) && getType() == getValueType(Op2) &&
987 SPIRVId Op2;