Lines Matching defs:depth
46 int depth = 0;
59 if (depth < 2) {
64 stack[depth - 2] = LLVMBuildBinOp(builder, op_to_opcode(tok),
65 stack[depth - 1], stack[depth - 2], "");
66 depth--;
73 if (depth < 1) {
78 off = LLVMBuildGEP(builder, param, &stack[depth - 1], 1, "");
79 stack[depth - 1] = LLVMBuildLoad(builder, off, "");
92 if (depth >= MAX_DEPTH) {
97 stack[depth++] = LLVMConstInt(LLVMInt64Type(), val, 1);
103 if (depth < 1) {
108 LLVMBuildRet(builder, stack[depth - 1]);
110 return stack[depth - 1];