Lines Matching defs:depth
45 int depth = 0;
58 if (depth < 2) {
63 stack[depth - 2] = LLVMBuildBinOp(builder, op_to_opcode(tok),
64 stack[depth - 1], stack[depth - 2], "");
65 depth--;
72 if (depth < 1) {
77 off = LLVMBuildGEP(builder, param, &stack[depth - 1], 1, "");
78 stack[depth - 1] = LLVMBuildLoad(builder, off, "");
91 if (depth >= MAX_DEPTH) {
96 stack[depth++] = LLVMConstInt(LLVMInt64Type(), val, 1);
102 if (depth < 1) {
107 LLVMBuildRet(builder, stack[depth - 1]);
109 return stack[depth - 1];