Lines Matching refs:fVariable
19 , fVariable(variable) in VariableReference()
22 fVariable.fWriteCount++; in VariableReference()
25 fVariable.fReadCount++; in VariableReference()
31 fVariable.fWriteCount--; in ~VariableReference()
34 fVariable.fReadCount--; in ~VariableReference()
40 fVariable.fWriteCount--; in setRefKind()
43 fVariable.fReadCount--; in setRefKind()
46 fVariable.fWriteCount++; in setRefKind()
49 fVariable.fReadCount++; in setRefKind()
97 fVariable.fStorage == Variable::kGlobal_Storage && in constantPropagate()
98 (fVariable.fModifiers.fFlags & Modifiers::kIn_Flag) && in constantPropagate()
99 !(fVariable.fModifiers.fFlags & Modifiers::kUniform_Flag)) { in constantPropagate()
100 return irGenerator.getArg(fOffset, fVariable.fName); in constantPropagate()
102 if ((fVariable.fModifiers.fFlags & Modifiers::kConst_Flag) && fVariable.fInitialValue && in constantPropagate()
103 fVariable.fInitialValue->isConstant()) { in constantPropagate()
104 return copy_constant(irGenerator, fVariable.fInitialValue); in constantPropagate()
106 auto exprIter = definitions.find(&fVariable); in constantPropagate()