Home | History | Annotate | Download | only in translator

Lines Matching refs:compileOptions

29 static bool CompileFile(char* fileName, ShHandle compiler, int compileOptions);
64 int compileOptions = 0;
83 case 'i': compileOptions |= SH_INTERMEDIATE_TREE; break;
84 case 'o': compileOptions |= SH_OBJECT_CODE; break;
85 case 'u': compileOptions |= SH_VARIABLES; break;
86 case 'l': compileOptions |= SH_UNROLL_FOR_LOOP_WITH_INTEGER_INDEX; break;
87 case 'e': compileOptions |= SH_EMULATE_BUILT_IN_FUNCTIONS; break;
88 case 'd': compileOptions |= SH_DEPENDENCY_GRAPH; break;
89 case 't': compileOptions |= SH_TIMING_RESTRICTIONS; break;
156 bool compiled = CompileFile(argv[0], compiler, compileOptions);
166 if (compiled && (compileOptions & SH_OBJECT_CODE)) {
175 if (compiled && (compileOptions & SH_VARIABLES)) {
267 bool CompileFile(char* fileName, ShHandle compiler, int compileOptions)
273 int ret = ShCompile(compiler, &source[0], source.size(), compileOptions);