Lines Matching refs:builder
48 Value *stack_pointer = builder()->CreateSub(
56 _frame = builder()->CreateIntToPtr(
77 builder()->CreateStore(
82 builder()->CreateStore(stack_pointer, slot_addr(offset++));
88 builder()->CreateStore(
98 builder()->CreateStore(CreateLoadFramePointer(), fp);
100 builder()->CreatePtrToInt(fp, SharkType::intptr_type()));
110 builder()->CreateCondBr(
111 builder()->CreateICmpULT(sp, stack_base()),
115 builder()->SetInsertPoint(zero_ok);
116 Value *stack_top = builder()->CreateSub(
117 builder()->CreateValueOfStructEntry(
122 builder()->CreateValueOfStructEntry(
127 Value *free_stack = builder()->CreateSub(
128 builder()->CreatePtrToInt(
129 builder()->CreateGetFrameAddress(),
133 builder()->CreateCondBr(
134 builder()->CreateICmpULT(
140 builder()->SetInsertPoint(overflow);
141 builder()->CreateCall(builder()->throw_StackOverflowError(), thread());
142 builder()->CreateRet(LLVMValue::jint_constant(0));
144 builder()->SetInsertPoint(abi_ok);
152 Value *sp = builder()->CreateAdd(
158 builder()->CreateLoad(
159 builder()->CreateIntToPtr(
170 Value* result = builder()->CreateStructGEP(
174 result = builder()->CreateBitCast(
254 builder()->CreateCondBr(
255 builder()->CreateICmpEQ(
256 builder()->CreateLoad(last_Java_sp_addr()),
260 builder()->SetInsertPoint(fail);
261 builder()->CreateShouldNotReachHere(__FILE__, __LINE__);
262 builder()->CreateUnreachable();
264 builder()->SetInsertPoint(pass);